import type { DecisionDefinition } from '../types.js'; import type { HeldoutRow } from '../heldout/types.js'; /** * D17-MF multi-fact probe generator (#2850), registered as `d17-multifact/v1`. * * The D17 calibrated live run localized Jev's multi-fact degradation to missing-link rows whose broken link is written * with the pool's contrastive verb (raw accuracy 0/73 for `halts`). This generator separates the competing explanations * with a factorial design: three disjoint wording pools (the D17 grammars) x relay hops (1, 3) x outcome (yes, a disabled * relay, or a missing link written as a contrastive verb, an explicit negation, a non-connective verb, or simply not * stated), plus D17-faithful control cells that reproduce the original rendering. * * Equalized items state an exhaustive, link-only rule: reaching requires a chain of stated `X Y` facts with * enabled intermediates, and no other relation counts. Missing-link gold is therefore not contestable through verbs such * as `halts` or a non-connective verb. * * Shortcut control (the D29 audit principle): every cue class (positive links, enabled states, contrastive verbs, * negations, non-connective verbs, disabled states) appears a label-independent number of times; off-chain decoy lines * among four decoy entities fill the difference, and all fact lines are shuffled uniformly, so neither counts nor * positions carry the label. Paired words have equal lengths, all names one length with distinct two-letter prefixes, * and the distinct-entity count is fixed per hop level. Gold comes from latent-world reachability; a separate text * oracle re-derives it. */ export type D17MfPoolId = 'pool-a' | 'pool-b' | 'pool-c'; export type D17MfOutcome = 'yes' | 'relay-off' | 'missing-contrastive' | 'missing-negation' | 'missing-unrelated' | 'missing-absence'; export type D17MfLayout = 'equalized' | 'd17-faithful'; export type D17MfLabel = 'yes' | 'no'; type Split = HeldoutRow['split']; /** * The three D17 grammars (disjoint vocabularies), each with a base verb and a length-matched, non-connective verb from a * different semantic field (lacquering, painting, cooking) that is not orthographically close to the contrastive verb. */ export declare const D17MF_POOLS: Readonly>>; export declare const D17MF_POOL_IDS: readonly D17MfPoolId[]; export declare const D17MF_HOPS: readonly [1, 3]; export declare const D17MF_OUTCOMES: readonly D17MfOutcome[]; export interface D17MfCell { split: Split; pool: D17MfPoolId; hops: 1 | 3; outcome: D17MfOutcome; layout: D17MfLayout; rule: 'exhaustive' | 'd17'; count: number; } /** * Preregistered allocation. Key missing-link cells: 220 rows (Wilson 95% half-width 0.066 at p = 0.5, at most 0.05 below * 0.17 or above 0.83). Supporting yes 110 rows (the smaller class of every shortcut-audit group, which bounds the * audit's noise) and relay-off 40 rows; D17-faithful control 30 rows. The whole corpus stays inside * the shared credential-scan traversal limit (17 nodes per row, 100,000 nodes), which bounds a single corpus at about * 5,880 rows; hops are therefore the endpoints 1 and 3 (full power for the h3 - h1 contrast), the pure-absence encoding * exists only at three hops (an interior link can be left unstated without changing how often the query entities are * mentioned), and no verb x framing cross-cell fits (see the study doc). */ export declare const D17MF_TEST_COUNTS: Readonly<{ missing: 220; yes: 110; 'relay-off': 40; control: 30; }>; export declare const D17MF_DEVELOPMENT_PER_CELL = 2; /** Development rows (split `tuning`) come first, then the probe rows (split `test`). */ export declare const D17MF_CELLS: readonly D17MfCell[]; export declare const D17MF_ROWS: number; /** Corpus slice key (schema-safe: letters, digits, `_` and `-`). */ export declare const cellKey: (cell: Pick) => string; export interface D17MfWorld { pool: D17MfPoolId; hops: 1 | 3; outcome: D17MfOutcome; layout: D17MfLayout; rule: 'exhaustive' | 'd17'; chain: string[]; decoys: string[]; failurePosition: number | null; failureKind: 'link' | 'relay' | null; targets: Record; day: number; quantity: number; } /** The D17 DecisionDefinition, byte-identical, so the registered D17 member calibrator's identity applies (asserted in tests). */ export declare const D17MF_DEFINITION: DecisionDefinition; /** Latent-world reachability under the stated rule; the generator's gold. */ export declare function d17MfWorldLabel(world: D17MfWorld): D17MfLabel; /** * The exhaustive, link-only reachability rule of every equalized cell: a necessary and sufficient condition stated in * terms of the link verb alone, so no other verb (contrastive, negated or non-connective) can establish a step. */ export declare function exhaustiveRule(pool: D17MfPoolId): string; /** Generates one D17-MF row from `::single`; the world and label stay local. */ export declare function d17MfGenerateCase(rowSeed: string): { row: Omit; world: D17MfWorld; label: D17MfLabel; }; /** * Independent text oracle: parses only the rendered facts with the pool's own vocabulary and applies the stated rule * (the D17 one-relay rule or the exhaustive link-only rule) by graph search. It never reads generator flags. */ export declare function d17MfTextOracle(payload: string): D17MfLabel; export {}; //# sourceMappingURL=multifact.d.ts.map