{
  "protocol": "DIRECTION_D7_TRADEOFF_CURVE_001",
  "version": "1.0.0",
  "status": "proposed; frozen on merge to risk.neverthought.org. Any change is a new version, recorded in amendments, and data or cases produced under one version are never analysed under another.",
  "direction": "D7 · One knob, measured: the commitment and coverage curve of reconstruction",
  "governing_question": "When a reconstructor ranks every candidate path it could propose, is the range of settings that keeps its candidates worth recording wide enough for a single control over that range to mean anything, does its ranking order support, and does it beat a fixed statistic that needs no judgement?",
  "warrant": {
    "grounds": [
      "D1 measured one operating point each time it ran. Version 1: 32 of 32 candidates matched, recall 0.97, on worlds the record calls too easy. Version 2: 18 of 18 matched, recall 0.43, and H1 not decidable under its own rule because fewer than 20 candidates were proposed. One point per run is not a curve.",
      "D4 found that keeping a candidate set covered more true sources than one answer (+4.3 points) while the set almost never committed (H2 not decidable): coverage traded against commitment, seen once, not measured along its length.",
      "The site proposes, as a position, presenting trade-offs as controls that move along a measured range, by analogy with a synthesiser control that moves along the time and frequency limit of a signal. That analogy holds only if the range is measured in the target medium. Until it is, a control over it would be a metaphor promoted to an operator, which the Crossing Motif paper keeps on file as a counterexample.",
      "Every imperfect ranker has some trade-off, so the question worth testing is not whether one exists but whether the usable part of it is wide enough to steer, and whether the ranking under it is better than a statistic anyone could compute."
    ],
    "gap": "No curve has been measured for any trade-off on the site, every reported operating point was chosen by the party that produced it, and no protocol asks how wide the usable range is.",
    "why_now": "D1 version 2's engine, matching rule and grader exist and reproduce exactly. A curve needs one more reconstructor run that reports its full ranking, so it is the cheapest result that can turn a proposed presentation into a measured one, or rule it out."
  },
  "unit": {
    "scored_pair": "One (world, source_field, effect) pair in a world's candidate universe, with the reconstructor's declared score and whether the reconstructor committed to it.",
    "omitted_path": "One path present in a world's sealed ground-truth model and absent from the class declared for that world, as in D1."
  },
  "materials": {
    "worlds": "12 new synthetic worlds, three in each of the site's four fixture domain templates, generated by the D1 version 2 engine (research/direction/d1-v2/engine.py, SHA-256 e7f7cdfe8b71b9e497da49185191772baf0f92334512f6959b4c16acde940f86, unchanged) under every version 2 world rule: two correlated source fields (the second changes with probability 0.85 when the first does and 0.2 when it does not), background rates of 5 to 25% on every path's effect, exponential delays with means of 1 to 10 days and a 7-day trace window, at least one omitted path per world sharing its effect with a declared path from the other field, path probabilities from 0.15 to 0.9, and 200 traces per world.",
    "frozen_ranges": "Fixed here, before any self-test runs: 4 to 8 omitted paths per world; exactly 2 downstream-only paths per world; at least 2 trace-visible omitted paths per world; at least 30 trace-visible omitted paths in total. The generator resamples a whole world set until these hold and records how many attempts it took. No other parameter may be set after this protocol is merged.",
    "opaque_names": "Every source field and effect is renamed to a random token per world (for example f_k3 and e_q9), drawn by the generator from the operating system's random source. The mapping to domain names is sealed with the ground truth. This removes any advantage from recognising names in D1's public ground truth or from reading meaning into them.",
    "rankable_downstream": "In D1 version 2 no downstream-only effect ever appeared in a trace, so downstream-only paths could not be ranked at all. Here each world's two downstream-only paths have their effect also emitted in traces by a background event unrelated to any field, at 5 to 25% of traces, declared in the world spec as background. That effect is produced by no declared or omitted path. Each world also has two pure background events of the same rates that belong to no path, as their comparison set. The engine already supports background events and is not changed.",
    "candidate_universe": "Per world: every pair of a source field and an effect that appears in that world's declared class or traces, minus the declared paths. Computed by a committed script from the public inputs alone, before the reconstructor is engaged, and given to the reconstructor.",
    "baseline": "A fixed scorer, committed before any world is generated: for each pair in the universe, the Mantel-Haenszel risk difference for the effect appearing in a trace when the field changed versus when it did not, stratified on whether the world's other source field changed. Denominators are all 200 traces T000 to T199, including traces with no rows. A crude unstratified risk difference is computed beside it as a secondary baseline only.",
    "sealing": "SHA-256 of every ground-truth file, the generator, its name mapping and its attempt log, and an AES-256 encrypted bundle of them, committed before the reconstructor is engaged. The key is never written to disk."
  },
  "roles": {
    "world_author": "Writes the generator, universe script, baseline scorers and analysis script, commits them with self-tests run on D1 version 2's public worlds, then generates and seals the new worlds. Never sees the reconstructor's ranking before the reveal.",
    "reconstructor": "A fresh agent session or person, never used in D1, receiving only the declared worlds, traces and candidate universes. Every file read and command run is logged; the log is self-reported.",
    "grader": "Runs D1's matching rule (the grader of research/direction/d1-v2, SHA-256 2d7d920f42a70a46099aab5611c0fe91807fb8622521619f6686bdf0263e3988, extended only to read a ranking) and the committed analysis script once. Is not the reconstructor.",
    "declared_limit": "World author, grader and operator are the same party; the reconstructor is a separate session. That is separation of access, not independence, and is reported as such."
  },
  "procedure": [
    "Commit this protocol. Commit the universe script, both baseline scorers and the analysis script, each with a self-test and a worked example on D1 version 2's public worlds. The self-tests check that the code runs and computes what the definitions say; no threshold or parameter is chosen from them.",
    "Write the generator under the frozen ranges, generate the 12 worlds, and commit the declared worlds, traces, candidate universes and the seal.",
    "Run both baseline scorers once on the traces and commit their scores.",
    "Give the reconstructor the declared worlds, traces and universes, and the brief: score every pair in each universe with one number of its choosing where higher means more support; mark the pairs it commits to as candidates, which must be the top of its own ranking in each world; write its method before seeing final numbers; attach a label (is, isn't, where it stops) to each committed candidate. Commit its full ranking, method and log.",
    "Record committed candidates as reconstructed observations under observation input v1, as D1 did; structure stays untested in every world before the reveal.",
    "Reveal: decrypt, check every hash against the seal, commit the plaintext.",
    "Grade every scored pair with D1's matching rule and run the committed analysis script once. No rerun after the reveal."
  ],
  "definitions": {
    "trace_visible": "An omitted path with reachable = true in the world spec. Downstream-only means reachable = false.",
    "positive": "A scored pair that matches a trace-visible omitted path under D1's rule. PARTIAL matches and downstream-only matches are not positives and are excluded from the negatives too, so they count on neither side of the curve.",
    "negative": "Any other scored pair in the universe.",
    "grid": "Scores are not assumed comparable across worlds, so thresholds are set per world by rank. For each q in 0, 0.05, 0.10 and so on up to 1.00 (21 points), each world contributes its top ceil(q times its universe size) pairs by score. Ties at the cut are broken pessimistically: negatives enter before positives.",
    "pooled_point": "At each q: pooled precision is positives taken over pairs taken, across all 12 worlds; pooled recall is positives taken over all positives. Precision carries a Wilson 95% interval.",
    "usable_range": "The grid points whose pooled precision has a Wilson lower bound of at least 0.50 (D1's precision threshold). Its recall span is the highest pooled recall among them minus the lowest, and 0 if fewer than two points qualify.",
    "rank_auc": "Within each world, the probability that a randomly chosen positive is scored above a randomly chosen negative, ties counting one half; pooled as the mean over worlds weighted by the number of positive and negative pairs.",
    "average_precision": "Per world, the mean of precision at each positive's rank with ties broken pessimistically; summarised as the unweighted mean over worlds.",
    "operating_point": "The pooled precision and recall of the reconstructor's committed set. If a committed pair scores below an uncommitted pair in its world, that is reported as a violation and the operating point is reported off the curve.",
    "bootstrap": "Percentile intervals from 2,000 resamples of worlds, resampled within domain (three worlds per domain), seed committed with the analysis script."
  },
  "hypotheses": {
    "H1": {
      "statement": "The usable range is wide enough for a control over it to mean something: a reconstructor's candidates stay worth recording across a real span of coverage, not at a single point.",
      "measure": "Recall span of the usable range on the reconstructor's ranking, with a bootstrap 95% interval.",
      "success": "Recall span at least 0.20, and its interval's lower bound above 0.10.",
      "falsifier": "Recall span below 0.10: the settings that keep candidates worth recording cover too little to steer, a control over this trade-off would be decoration, and the Direction page says so.",
      "undecidable_if": "Fewer than 30 trace-visible omitted paths exist across the 12 worlds, which the frozen ranges forbid; if it happens it is reported as a generator defect."
    },
    "H2": {
      "statement": "The reconstructor's ranking orders support well enough to set a control on.",
      "measure": "Pooled rank AUC of positives against negatives, with a bootstrap 95% interval.",
      "success": "Lower bound at least 0.75.",
      "falsifier": "Lower bound at or below 0.60. Then the score does not order support well enough for any control over it, and only the committed set is reported. Between 0.60 and 0.75 is reported as weak ordering and licenses nothing."
    },
    "H3": {
      "statement": "The reconstructor's ranking beats a fixed statistic that needs no judgement.",
      "measure": "Mean average precision of the reconstructor minus that of the stratified baseline, paired by world, bootstrap 95% interval. The crude baseline is reported beside it, descriptively.",
      "success": "Lower bound above 0.",
      "falsifier": "Upper bound below 0: the reconstructor ranks worse than the stratified statistic. An interval containing 0 is reported as no advantage shown, not as a tie."
    },
    "H4": {
      "statement": "Integrity check, not a finding: nothing in the traces or the universe leaks downstream-only paths. By construction of the engine their effects reach traces only through background events, so they should rank like pure background pairs.",
      "measure": "Rank AUC of downstream-only pairs against pairs of a source field and a pure background event, on both the reconstructor's and the stratified baseline's scores, with 90% bootstrap intervals.",
      "success": "Both intervals lie within 0.35 to 0.65.",
      "falsifier": "Either interval's lower bound exceeds 0.65. That would mean the generator, the universe or the inputs leak ground truth, and every other result of this run is withdrawn until the leak is found and a new version is run."
    }
  },
  "analysis": {
    "intervals": "Bootstrap as defined. Wilson 95% for single pooled proportions. No pooling with D1 version 1 or version 2.",
    "curve": "The full 21-point pooled curve is published for the reconstructor and both baselines, with the usable range and the operating point marked.",
    "baselines": "Every measure is also computed for the stratified and crude baselines, descriptively, so the reader can see how much of the curve a statistic already gives.",
    "by_domain": "Every measure per domain template, descriptively. No per-domain claim.",
    "missing": "A world whose ranking was not committed before the reveal is excluded and listed. It is never ranked afterwards."
  },
  "stopping": "One run. The study ends when the analysis is published. A second reconstructor, or worlds of another design, needs a new version with new worlds.",
  "licenses": {
    "H1 and H2 succeed": {
      "licensed": "Presenting this reconstructor's measured curve and usable range on the site, for this score on these 12 worlds, as the range a control would move along, labelled with the world design and this run.",
      "not": "That such a range exists for other reconstructors or real systems, that any setting is safe in practice, or that a control built on it is an instrument anyone should rely on."
    },
    "H1 falsified": {
      "licensed": "Saying that in worlds like these the usable range is too narrow to steer, and dropping the control idea for this measure.",
      "not": "That trade-offs cannot be steered in other designs or real settings."
    },
    "H3 falsified": {
      "licensed": "Reporting that a fixed stratified statistic ranked better than the reconstructor here, and using the statistic as the default ranking in fixtures like these.",
      "not": "That agents rank worse than statistics in general."
    },
    "H4 holds": {
      "licensed": "That this run's inputs did not leak downstream-only paths, so its other results stand on that count.",
      "not": "Anything about whether omissions outside a traced system can be found in real systems; the engine makes them unreachable by design."
    }
  },
  "threats": [
    "The reconstructor chooses its own score, so the curve describes this reconstructor and this score, not reconstruction in general.",
    "Opaque names remove name recognition and name semantics, which also removes domain knowledge a real reconstructor would use; the curve is for structure read from co-occurrence alone.",
    "Synthetic worlds from one author, who knows likely methods. The frozen ranges limit tuning but do not remove the author's influence on difficulty.",
    "Twelve worlds give few clusters, and percentile bootstrap intervals under-cover with few clusters; intervals are reported as approximate.",
    "The 0.50, 0.20, 0.10, 0.75, 0.60 and 0.35 to 0.65 thresholds were chosen before any data, by judgement, not derived from it.",
    "The synthesiser analogy motivates the question but is not tested by it: a measured trade-off curve is not an uncertainty principle, and nothing here bounds what other methods could reach.",
    "Same operator for world author and grader: separation of access only."
  ],
  "data_boundary": [
    "Public synthetic fixtures only.",
    "No private workspace evidence, exports, enquiries or human-review records are used.",
    "Every input, sealed file, ranking, reveal and result is committed to a public repository with its SHA-256 before it is used."
  ],
  "dependencies": [
    "A universe script, a stratified and a crude baseline scorer, and an analysis script implementing every definition above, each with a self-test and a worked example on D1 version 2's public worlds, committed before any world is generated.",
    "A world generator implementing the frozen ranges, opaque names and rankable downstream rule, sealed and encrypted before the reconstructor is engaged.",
    "An extension to D1's grader that reads a full ranking, applying the same matching rule unchanged."
  ],
  "amendments": [],
  "label": {
    "is": "A preregistered, synthetic measurement of a whole commitment and coverage curve in path reconstruction, testing whether the usable part of it is wide enough to steer, whether the ranking under it orders support, and whether it beats a fixed statistic.",
    "isnt": "An uncertainty principle for reasoning, evidence that the curve exists in real systems, an instrument, or an independent study.",
    "stops": "At one reconstructor's own score, on twelve worlds from one author's design with opaque names. The curve belongs to that score and those worlds, and any control drawn over it carries that label."
  },
  "run_order": 7
}
