Evalkeeper
    Preparing search index...

    Function importStarters

    • Adds a suite's starter cases as drafts with pending answers, for a person to confirm on the pages. A case with a review shipped with the suite (reviews: its author or an expert checked it) gets that review as a confirmed answer instead, and is in use at once; see addShippedReviews for when one is left out. Safe to run again: starters already added (by their input) are skipped, and reviews shipped since are added to them. A suite's leak check runs on each, as in importCases.

      Parameters

      • store: EvalStore

        Where to add the cases.

      • suite: AnySuite

        The suite whose starter cases and reviews to add.

      Returns Promise<ImportResult & ReviewResult>

      What was added and skipped, what the leak check removed, how many shipped reviews were added, and cases whose answer from someone in the app differs from a shipped review.