Evalkeeper
    Preparing search index...

    Function reviewsFromSheet

    • Turns a marked review sheet into shipped reviews: one for each row the reviewer confirmed ("yes", "y", "ok"), of the case's answer as it is now. Rows left blank are left out. A row naming a case the suite doesn't have, marked anything else, or showing an answer other than the case's answer now (it changed after the sheet was made) stops it: a case whose answer should change is edited in the suite first, then reviewed again on a new sheet.

      Parameters

      • suite: AnySuite

        The suite the sheet was made from.

      • rows: readonly { answer?: string; case: string; confirm: string }[]

        Each row's case, the reviewer's mark, and the answer the sheet showed them (from reviewSheet), when the sheet kept it.

      • reviewer: Reviewer

        Who reviewed it, what qualifies them, and when.

      Returns ShippedReview[]

      The reviews, in the suite's order.

      When a row names an unknown case or has an unknown mark, or the reviewer is missing who, what qualifies them, or a date.