Kizuki
    Preparing search index...

    Function validateMisses

    • The guard for "what you missed": only real sentences of the material, at most MAX_MISSES, no repeats, and never a sentence you corrected, because your correction wins.

      Parameters

      • reply: { missed: { sentence: string }[] }
      • refs: Map<string, SentenceRef>
      • passages: {
            location: {
                cells?: string;
                heading?: string;
                notes?: boolean;
                page?: number;
                paragraph?: number;
                sheet?: string;
                slide?: number;
            };
            materialId: string;
            ordinal: number;
            passageId: string;
            sectionId: string;
            text: string;
        }[]
      • corrections: { passageId?: string; quote: string }[] = []

      Returns {
          dropped: number;
          misses: { missId: string; quote: { passageId: string; text: string } }[];
      }