mlx-bun library API
    Preparing search index...

    STS calibration (§3.2.1) — per-position confidence thresholds fit on real (confidence, accepted) verify outcomes (fitStsThresholds in @mlx-bun/training/dspark; mlx-bun draft calibrate writes them into dspark.json). Consumed by the confidence-scheduled draft-length pruning (Alg 1) in forwardRows. Stored inside DflashConfig so it round-trips through dspark.json for free. ABSENT ⟹ no pruning — an uncalibrated checkpoint drafts exactly as before.

    interface StsCalibration {
        samples?: number;
        target: number;
        thresholds: number[];
    }
    Index
    samples?: number

    Verify outcomes the fit saw (provenance).

    target: number

    Target acceptance precision the thresholds were fit for (e.g. 0.5).

    thresholds: number[]

    thresholds[k] = min confidence to KEEP draft position k. length γ.