Evalkeeper
    Preparing search index...

    Function addShippedReviews

    • Adds a suite's shipped reviews to its starter cases already in the store, as confirmed answers. Safe to run again: a review already added is skipped, and one re-signed with a new answer (after the case's answer changed) is added as the newer confirmation. A case whose own confirmed or provisional answer came from someone in the app keeps it: the review is never added over it, and a different answer is reported in disagree. A case whose stored input isn't the one reviewed (a leak check changed it) gets no review and is reported in notSeen. Reviews that don't count (see reviewProblems) are left out. importStarters runs it.

      Parameters

      • store: EvalStore

        Where the suite's cases are.

      • suite: AnySuite

        The suite whose reviews to add.

      • source: string

        The sourceRef prefix starter cases were added under.

      • now: Date = ...

        Today; reviews dated after it are left out.

      Returns Promise<ReviewResult>