D17 rendering ablation (#2871): preregistration draft

DRAFT — pending independent development review (blind, then unblind) and operator approval. Offline preparation only.

D17 rendering ablation (#2871): preregistration draft

DRAFT — pending independent development review (blind, then unblind) and operator approval. Offline preparation only. No study observations or results are included. This protocol is a proposal to freeze, not an approved registration.

Extend D17-MF (#2850) at a newly approved commit; retain its DecisionDefinition, pool vocabularies, renderer, independent text gold oracle, four shortcut learners, raw probability parser, Wilson/Newcombe intervals, Holm adjustment, request projection and reservation planner. The existing runner exposes the draft modes below. No alternate collector is added. The #2870 resume-aware planner is present in the starting main revision `bdb5d4768643a80920af36648ae5123937063dbb` (fix commit `bf6756606`).

The motivating H4 finding is supplied by issue #2871. Private D17-MF run reports are unavailable in this worktree; the stored protocol, runner, audit, oracle, summary/scoring implementation and tests were inspected. Retrieve and verify those report pins during development review before freezing this proposal. No new inference about Jev follows from this draft or its synthetic tests.

Factors and cells

Hold fixed: one relay hop, pool framing, link/contrastive vocabulary, header structure and DecisionDefinition. Missing-link rows always break the last relay-to-destination link using the contrastive verb. Relay-off breaks relay 0; yes has both links and an enabled relay. No absence, other encoding or depth contrast is tested.

FactorFaithful level (0)Changed level (1)
Rule`An entity can reach a destination if it <relation> a <enabled> relay that <relation> that destination.`MF exhaustive rule: `An entity can reach a destination exactly when a sequence of stated facts of the form "X <relation> Y" leads from it to that destination and every entity in between is <enabled>; no other relation counts.`
Ordersource-to-relay link; relay-to-destination link; relay state; then any decoysUniform Fisher–Yates shuffle of all fact lines; rule remains last
DecoysNoneMF off-chain padding among four isolated entities: positive links target 2–3; enabled states 1–2; contrastive, negated, unrelated, disabled classes each 1–2; targets independent of gold
NamesChain roles A/B/C plus four base-36 charactersMF five-character neutral names with distinct two-letter prefixes

Decoys always use neutral names in both arms that contain them; the names factor changes the three chain names only. Names are five characters at either level. Decoys use MF's distinct ordered pairs and distinct state subjects; no decoy creates a query path or contradictory fact. MF's synthetic day and counter quantity remain randomized independently of label. No header factor is added.

ArmRuleOrderDecoysNames
faithful0000
rule1000
order0100
decoys0010
names0001
equalized anchor1111

Cross each arm with all three MF pools and all three outcomes:

PoolLinkMissing-link contrastiveEnabled / off
pool-aconnectsbypassesenabled / blocked
pool-broutesblocksactive / paused
pool-clinkshaltspowered / dormant

There are 54 test cells (6 arms × 3 pools × 3 outcomes). Each missing-link cell has 200 rows, each yes cell 80, each relay-off cell 30. Two additional development rows per cell give 108 review items. Test allocation is `18 × (200 + 80 + 30) = 5,580`; total first requests including development are 5,688, one champion request per row. Development precedes test; test dispatch is seeded and interleaved using the existing MF permutation. Blind review items have a separate deterministic permutation and omit gold/cell/arm metadata.

Design justification and sizing

Use one-at-a-time interventions around faithful plus an all-changed anchor. This estimates each intervention's effect at the faithful baseline without aliasing it with another intervention. All 16 combinations with the same allocation would need 14,880 test rows, beyond MF's approximately 5,880-row single-corpus traversal bound. This design uses 5,688 total rows. Independent draw streams across arms justify the existing independent-proportions tests; there is no paired claim and no fractional-factorial main-effect assumption.

This design cannot identify interactions. Several toggles may rescue the same failure; none may rescue it alone even if their combination does. Report that outcome as unresolved interactions or distributed effects. A rule intervention also changes rule length and token content; its effect is attributable to the whole wording intervention. Decoys change length, entity count and cue counts; those are part of that factor. Pools retain MF's framing/verb confounding.

For a Wilson 95% interval, with `z = 1.959964`, the half-width is `z sqrt(p(1-p)/n + zz/(4nn)) / (1 + zz/n)`. At `n=200, p=0.5`, this is 0.06864, its maximum over p. The synthetic test checks all 201 possible success counts. This is a precision target, not a power guarantee: near p=0.5, a conservative Bonferroni approximation for 12 tests needs roughly `(2.87 + 0.84) * sqrt(0.5/200) = 0.186` improvement for 80% power. Smaller effects can remain unresolved. Control cells have wider intervals.

Frozen proposed scoring and decision rules

The executable constants live in `src/decision/ensemble-study/rendering-ablation.ts`; the summary is in `rendering-ablation-score.ts`. Freeze them before collection:

1. Raw accuracy uses the MF terminal-success, served-model and native-distribution parser. Predict yes exactly when P(yes) > 0.5. Missing, failed and unusable requests are missing observations, never inferred no answers. Report n, expected n, accuracy and Wilson 95% per test cell. Development is excluded. 2. Every test cell must have at least 95% usable observations, otherwise all pool verdicts are `insufficient`. No optional stopping on outcomes, no replacing difficult rows, no extra seeds after observing model responses. 3. Report the 12 toggle-minus-faithful missing-link accuracy contrasts, four toggles × three pools, with Newcombe 95% descriptive intervals and two-sided pooled two-proportion z p-values. Holm adjusts all 12 together, FWER 0.05. Do not interpret unadjusted intervals as simultaneous inference. 4. Three equalized-minus-faithful anchor contrasts form a separate Holm family. An anchor rescue needs adjusted p ≤ 0.05 and improvement ≥ 0.15. This extra gate cannot increase primary false-positive probability. 5. Within a pool, require faithful missing-link Wilson upper bound ≤ 0.50, an anchor rescue, and Wilson lower bound ≥ 0.80 for every yes and relay-off control in all six arms. A single-factor rescue additionally needs its primary adjusted p ≤ 0.05 and improvement ≥ 0.15. Report each qualifying factor per pool; no across-pool universal attribution is inferred. 6. Report `control-failure`, `collapse-not-replicated`, or `anchor-not-rescued` as applicable. If the anchor rescues but no toggle does, report `unresolved-interactions-or-distributed-effects`. No rescue is not proof of zero effect. Multiple qualifying toggles are all reported. 7. Raw-only diagnostic, always HOLD; no promotion, calibration fit or use of the expired registered D17 calibrator. The diagnostic needs no calibrator.

Before approval, rederive every gold label with the existing MF text oracle. Run the same four shortcut learners, five folds, separately in every arm × pool. All-equalized groups must stay ≤0.60 balanced accuracy. Other arms deliberately retain faithful cues; audit them descriptively without vetoing the intervention that introduces those cues. A failed anchor audit stops preparation and may redraw a seed before any provider outcomes, recording every refusal. No outcome-directed audit threshold, learner or feature changes are allowed.

Fresh pins, review and approval gates

Public seeds (`rendering-offline` and all synthetic/review examples) are tooling fixtures only. Later, in a private artifact directory, the operator draws `ra-` plus 28 lowercase hex characters from 14 fresh random bytes (31 characters). `assertFreshRenderingSeed` checks this format and the MF private-seed policy; it cannot prove freshness. Use the shared collector's seed/corpus ledger check to reject reuse. Never commit the private seed, gold or review material.

At the final reviewed source commit regenerate the draft: pin all `src/`, `schemas/`, `tools/decision/`, package metadata and tsconfig bytes with the existing runner's source hashing, plus corpus, gold, protocol/analysis, preregistration, dispatch, audit and scorer digests. Existing approved MF pins are historical; never rewrite them or reuse its private seed. Any code/protocol change after review invalidates those pins, review and approval.

An independent developer first receives only the shuffled 108-item blind pass from `renderingDevelopmentMaterial(prepared)`. Record label, ambiguity, rationale, reviewer identity and time for every item; then release the separate `renderingDevelopmentMaterial(prepared, true)` pass with gold/world/arm. Compare all labels and text-oracle labels and review the preregistration. Any ambiguity, incorrect gold or oracle disagreement stops the draft; revise and draw a new seed before repeating both review stages. Anchor both passes and the completed review digest. Do not describe synthetic tests as this development review.

The operator must approve the complete priced packet, source commit, review and current spend floors within D17 USD 8/program USD 48 caps. The historical MF allowance (16,000 calls / 30M tokens / USD 5; 80% stop) is a planning ceiling, not fresh authorization for this issue. Developer/operator review has zero provider requests in this offline scope; any later model-assisted review must be separately counted and approved. No floor is assumed from old reports.

The draft generator intentionally is not registered for paid collection. Before any live work, add it to the existing heldout study registry with the fresh private-seed guard, regenerate and review the exact pins, then construct an approved raw-diagnostic bundle using the shared collector. That future work must preserve its seed, source, ledger, review and approval boundaries. The current CLI cannot construct a paid ablation bundle or collect observations.

Offline rehearsal and later collection plan

node tools/decision/d17-multifact.mjs --ablation-dry-run rendering-offline
# Synthetic-only config: {"seed":"rendering-offline","outcomes":[{"rowId":"...","yesProbability":0.9}]}
node tools/decision/d17-multifact.mjs --ablation-synthetic-summary SYNTHETIC_CONFIG.json NEW_SUMMARY.json

Dry-run generates prompts, verifies oracle agreement, runs the shared audit and sizes actual projected wire bytes; it sends zero requests and reads no credentials. Synthetic summary output is explicitly unverified and synthetic. Tests cover a rescue by each factor, multiple factors, no single factor, no replicated collapse, an unrescued anchor, failures, missing coverage and invalid observations. The receipt adapter reuses MF's native probability parser; a later live scorer must invoke it only after shared heldout evidence/pin verification.

Planned collection after the gates: 5,688 initial requests (108 development + 5,580 test); at most one retry per terminal provider failure gives 11,376 maximum attempts, including all splits. No calibration, ensemble, reviewer or warmup requests are hidden in that count. At the one-second dispatch interval, first attempts alone require at least 94.8 minutes, hence multiple 30-minute sessions (at least four with instantaneous responses). Rehearse each session with shared `heldout-study.mjs --dry-run` and the real ledger; #2870 accounts only for unfinished requests and remaining retries. Never restart from an empty ledger to bypass a cap. At the cap/checkpoint, resume the approved lineage; report incomplete if 95% per-cell coverage cannot be reached within allowance.

The public rehearsal uses a historical attested USD 0.042/M input tokens, free output, zero request fee, as recorded in the D17 price handoff: `https://www.eesel.ai/blog/typesafe-jev-pricing`, `https://www.mindstudio.ai/blog/jev-pricing-cost-per-token`, and `roctinam/aiwg#2613 comment 153093`. These references were not fetched and are not a verified current price. Obtain operator price attestation later.

For `rendering-offline`, shared wire sizing gives maximum input estimate 1,519 and worst reservation 17,260,924 tokens, including 256 output/hidden tokens per attempt. Expected no-retry reservation is USD 0.719426, worst USD 1.438852, using the greater of the attested rate and the shared USD 0.10/M floor and rounding each attempt up to USD micros. A historical-price planning estimate from the projected input allowance is about USD 0.3013 without retries; this is conservative projected input cost, not billed usage. The CLI recomputes these quantities for any seed. Fresh 80% ceilings are 12,800 calls / 24M tokens / USD 4; this plan fits those nominal ceilings. Actual remaining D17/program budget is unknown until the operator attests the ledger floors. No collection or program-budget approval is claimed here.