/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * #822 PLACER-FRONTIER PROBE (night 2026-06-28, Phase A) — for the placer-recoverable countries (a * country hint resolves them, so growing the placer captures the win), measure whether the DEPLOYED * coarse placer can actually emit that country. Per query (`, ` from cities15000): * * - `in_class_set` — is the true country even in the placer's class set? (a class the model can't * represent can't be recovered by any threshold change — that's a DATA gap) * - `top1_correct` — did the placer's argmax land on the true country? * - `prob_1` — the calibrated top-class confidence (vs `HARD_PLACE_COUNTRY_MIN_CONF` = 0.9) * * Branch (plan Phase 2): `in_class_set` false >5% → DATA GAP, defer to a class-set-widening retrain. * in-set + top1>80% + median prob_1 < 0.9 → UNDER-CONFIDENT, M2 mass-rule fix. in-set + top1<80% → * low-quality signal, defer. The probe is a LINEAR model (no ONNX), so it is heat-safe. * * Run: `mailwoman placer probe-frontier [--model ] [--n 2000] [--out ]` */ /** * Options for {@linkcode probeFrontier}. */ export interface ProbeFrontierOptions { /** * Model artifact dir. Default: the DEPLOYED placer bundled in `@mailwoman/core` (`core/data/coarse-placer`), NOT the * `$MAILWOMAN_DATA_ROOT` training output — match the runtime. */ model?: string; /** * Queries sampled (shortest first). Default 2000. */ n?: number; /** * Also write the markdown report here. */ out?: string; } /** * Result of {@linkcode probeFrontier}. */ export interface ProbeFrontierResult { /** * The Phase-2 branch verdict line. */ branch: string; n: number; markdown: string; } /** * Coarse-placer frontier probe (#822) — see the module doc. Emits the report head to stdout. */ export declare function probeFrontier(options?: ProbeFrontierOptions, report?: (line: string) => void): Promise; //# sourceMappingURL=probe-frontier.d.ts.map