types/coverage.types.ts

types/coverage.types.ts is a file in Bane's Lab Content. 18 lines of code and 3 definitions.

export type { ContentGraph, GraphSection } from "@banes-lab/web/types/methodology.types.js";
export type { DeclaredAbsence, Evidence } from "@banes-lab/web/types/evidence.types.js";

export interface GroundingReport {
    readonly absent: readonly string[];
    readonly findings: readonly GraphFinding[];
    readonly grounded: readonly string[];
    readonly unassessed: readonly string[];
}

export interface GraphFinding {
    readonly message: string;
    readonly page: string;
    readonly section: string;
}

export interface GraphContext {
    readonly known: ReadonlySet<string>;
    readonly payloadSections: ReadonlyMap<string, readonly string[]>;
    readonly taught: ReadonlySet<string>;
}