@maschinenlesbar.org/openka-cli
    Preparing search index...

    Interface VerifyResult

    interface VerifyResult {
        contentDifferences: string[];
        currentVersion: string;
        differences: string[];
        id: string;
        ok: boolean;
        reason?: string;
        storedVersion: string;
        unreadable?: true;
        verdict:
            | "reproduced"
            | "version-only"
            | "differs"
            | "unreadable"
            | "unchecked";
    }
    Index
    contentDifferences: string[]

    differences without the version stamp: what the content disagrees on.

    currentVersion: string

    The extractor version this run used.

    differences: string[]

    Field paths whose re-extracted value differs from the stored one.

    id: string
    ok: boolean

    True only when the re-extraction is byte-identical to the stored record.

    reason?: string

    Short reason when ok is false.

    storedVersion: string

    The extractor version the record was produced with.

    unreadable?: true

    Set when the stored record or the archived bytes it was built from could not be read (a corrupt file, a missing or altered blob): the corpus is damaged, which is a different finding from a record that does not reproduce.

    verdict: "reproduced" | "version-only" | "differs" | "unreadable" | "unchecked"

    What the check found, so an upgrade does not read as a broken corpus:

    • reproduced — byte-identical;
    • version-only — identical apart from extraction.extractor_version: the content reproduces, the record was stamped by another build (ka reextract restamps it);
    • differs — the content differs (contentDifferences), whatever the version;
    • unreadable — the record or its archived bytes could not be read;
    • unchecked — nothing to compare: no such record, or an OCR record without its model.