{
 "schema": "cain42.e166.e165_forensic.v1",
 "generated_at": "2026-11-24T02:32:12Z",
 "commit": "006beb706",
 "findings": [
  {
   "id": "F1",
   "title": "E165's semantic-drop metric is NaN: task ids differ per representation, so original and paraphrase never pair",
   "evidence": {
    "drop_P1": NaN,
    "drop_P0": NaN,
    "id_includes_rep": "domains._id hashes rep",
    "same_task_ids_across_reps": 0
   },
   "source": "cain/cain2027/e165/domains.py::_id; experiments.py::run.drop",
   "commit": "006beb706",
   "effect": "H1 compared P1 vs P0 on paraphrased tasks only; the within-task robustness drop it was meant to measure was never measured"
  },
  {
   "id": "F2",
   "title": "E165 'paraphrase' is a candidate reordering with identical hidden quality; P0's own original-paraphrase gap is sampling noise",
   "evidence": {
    "hidden_quality_identical": true,
    "P0_orig_minus_para_over_20_eval_seeds": {
     "mean": 0.026,
     "sd": 0.1177,
     "min": -0.2561,
     "max": 0.1981
    }
   },
   "source": "cain/cain2027/e165/domains.py::task (rep=='paraphrase' only permutes rows)",
   "commit": "006beb706",
   "effect": "no wording exists in E165 tasks; H1 'semantic robustness' could not test meaning-preserving rewording"
  },
  {
   "id": "F3",
   "title": "E165's compute budget is honour-based: the researcher gets the whole evaluation table; some patches read far more than their budget",
   "evidence": {
    "P0": {
     "cell_reads": 120,
     "distinct_cells": 120,
     "nominal_evaluations": 120
    },
    "ucb": {
     "cell_reads": 120,
     "distinct_cells": 120,
     "nominal_evaluations": 120
    },
    "info": {
     "cell_reads": 6280,
     "distinct_cells": 1120,
     "nominal_evaluations": 120
    },
    "balanced": {
     "cell_reads": 3719,
     "distinct_cells": 3584,
     "nominal_evaluations": 120
    },
    "failure_aware": {
     "cell_reads": 120,
     "distinct_cells": 120,
     "nominal_evaluations": 120
    },
    "adaptive": {
     "cell_reads": 3719,
     "distinct_cells": 3584,
     "nominal_evaluations": 120
    }
   },
   "source": "cain/cain2027/e165/research.py::run_source passes Y; INFO_SRC np.var(Y[i,:m]); BAL_SRC np.var(p['Y'])",
   "commit": "006beb706",
   "effect": "'equal compute' between arms was not enforced; P_search's 2x budget was the only honest extra compute"
  },
  {
   "id": "F4",
   "title": "Diagnosis and acceptance used the same 6 development problems; accepted patches' development gains did not carry to sealed problems",
   "evidence": {
    "per_seed": [
     {
      "seed": 0,
      "chosen": "ucb",
      "dev_gain_on_6": 0.038515,
      "sealed_gain_on_18": -0.0134
     },
     {
      "seed": 1,
      "chosen": null,
      "dev_gain_on_6": 0.001588,
      "sealed_gain_on_18": 0.0
     },
     {
      "seed": 2,
      "chosen": null,
      "dev_gain_on_6": -0.132812,
      "sealed_gain_on_18": 0.0
     },
     {
      "seed": 3,
      "chosen": "ucb",
      "dev_gain_on_6": 0.234444,
      "sealed_gain_on_18": -0.0813
     },
     {
      "seed": 4,
      "chosen": "ucb",
      "dev_gain_on_6": 0.07506,
      "sealed_gain_on_18": -0.1329
     }
    ],
    "mean_dev_gain_accepted": 0.116,
    "mean_sealed_gain_accepted": -0.0759
   },
   "source": "cain/cain2027/e165/research.py::meta_propose (accepted = gain>0.01 on the selection set)",
   "commit": "006beb706",
   "effect": "selection on a 6-problem set inflates the apparent gain (selection bias); no held-out diagnosis set existed"
  },
  {
   "id": "F5",
   "title": "Structural and REPAIR losses come from the UCB patch spreading a fixed budget over more candidates (1/3 initial sample, c=1 bonus)",
   "evidence": {
    "mean_quality_by_arm_rep_domain": {
     "P0|original|REPAIR": 0.7083,
     "P0|original|MATH": 0.6203,
     "P0|original|CAUSAL": 0.9179,
     "P1|original|REPAIR": 0.7167,
     "P1|original|MATH": 0.6109,
     "P1|original|CAUSAL": 0.8887,
     "P_search|original|REPAIR": 1.0,
     "P_search|original|MATH": 0.8359,
     "P_search|original|CAUSAL": 0.9567,
     "P0|paraphrase|REPAIR": 0.5667,
     "P0|paraphrase|MATH": 0.7859,
     "P0|paraphrase|CAUSAL": 0.8883,
     "P1|paraphrase|REPAIR": 0.3333,
     "P1|paraphrase|MATH": 0.6953,
     "P1|paraphrase|CAUSAL": 0.9197,
     "P_search|paraphrase|REPAIR": 0.925,
     "P_search|paraphrase|MATH": 0.8328,
     "P_search|paraphrase|CAUSAL": 0.9567,
     "P0|permuted|REPAIR": 0.675,
     "P0|permuted|MATH": 0.6328,
     "P0|permuted|CAUSAL": 0.8895,
     "P1|permuted|REPAIR": 0.55,
     "P1|permuted|MATH": 0.6922,
     "P1|permuted|CAUSAL": 0.9095,
     "P_search|permuted|REPAIR": 1.0,
     "P_search|permuted|MATH": 0.9141,
     "P_search|permuted|CAUSAL": 0.9567,
     "P0|structure|REPAIR": 0.75,
     "P0|structure|MATH": 0.5958,
     "P0|structure|CAUSAL": 0.9378,
     "P1|structure|REPAIR": 0.2812,
     "P1|structure|MATH": 0.5698,
     "P1|structure|CAUSAL": 0.9095,
     "P_search|structure|REPAIR": 0.775,
     "P_search|structure|MATH": 0.7031,
     "P_search|structure|CAUSAL": 0.8913
    },
    "candidate_counts": {
     "REPAIR": {
      "original_n": 24,
      "structure_n": 32
     },
     "MATH": {
      "original_n": 64,
      "structure_n": 96
     },
     "CAUSAL": {
      "original_n": 16,
      "structure_n": 80
     }
    },
    "patch_chosen_in_accepted_seeds": [
     "ucb"
    ]
   },
   "source": "cain/cain2027/e165/research.py::UCB_SRC; domains.py structure generator (REPAIR 32 edits, MATH 96, CAUSAL 80)",
   "commit": "006beb706",
   "effect": "the only accepted patch (ucb) explores more and exploits less; on larger or noisier sets that loses to greedy P0 and badly to P0 with 2x budget"
  },
  {
   "id": "F6",
   "title": "P_search (P0 with 2x evaluations) beat P1 by -0.229 because extra honest evaluations matter more than the patch",
   "evidence": {
    "P1_minus_P_search": {
     "mean_diff": -0.229067,
     "ci95": [
      -0.294982,
      -0.163151
     ],
     "n": 90
    },
    "P1_minus_P_mut": {
     "mean_diff": 0.039366,
     "ci95": [
      -0.003015,
      0.081747
     ]
    }
   },
   "source": "experiments.py::run collect_arm('P_search', ..., budget=2*BUDGET)",
   "commit": "006beb706",
   "effect": "E165 had no compute-matched superiority; any E166 candidate must beat this control"
  },
  {
   "id": "F7",
   "title": "G2 existed in only 1 of 5 seeds; elsewhere G2 = G1 or = P0, so the successor test mostly compared a source to itself",
   "evidence": {
    "g2_by_seed": {
     "0": [
      "balanced",
      true
     ],
     "1": [
      null,
      false
     ],
     "2": [
      null,
      false
     ],
     "3": [
      null,
      false
     ],
     "4": [
      null,
      false
     ]
    }
   },
   "source": "experiments.py::run (g2 = meta_propose_from only if P1 accepted)",
   "commit": "006beb706",
   "effect": "H5/H8 differences are mostly ties; the successor claim was untestable at that sample size"
  },
  {
   "id": "F8",
   "title": "Memory arms collapsed because diagnosis found no failure mode on devB[0] (accept requires mode != none, memory only re-ranks); collective arms all chose 'ucb'",
   "evidence": {
    "memory": {
     "memory": {
      "ucb": [
       1,
       1,
       0.16666666666666666
      ],
      "info": [
       1,
       1,
       0.16666666666666666
      ],
      "balanced": [
       0,
       1,
       0.16666666666666666
      ],
      "failure_aware": [
       1,
       1,
       0.16666666666666666
      ],
      "adaptive": [
       0,
       1,
       0.16666666666666666
      ]
     },
     "M0": {
      "chosen": null,
      "sealed": 0.764358
     },
     "M2": {
      "chosen": null,
      "sealed": 0.764358
     },
     "M3": {
      "chosen": null,
      "sealed": 0.764358
     }
    },
    "collective": {
     "C0": {
      "chosen": "ucb",
      "sealed": 0.615768
     },
     "C1": {
      "chosen": "ucb",
      "sealed": 0.615768
     },
     "C2": {
      "chosen": "ucb",
      "sealed": 0.615768
     }
    }
   },
   "source": "research.py::meta_propose (memory adds a ranking bonus; acceptance gated by diagnosis mode); experiments.py::run memory/collective blocks",
   "commit": "006beb706",
   "effect": "the arms could not differ by construction in that campaign; E165 correctly marked them NOT_TESTABLE"
  },
  {
   "id": "F9",
   "title": "H3 and H4 used the identical comparison (P1 vs P0 on original+paraphrase+permuted); the Holm family double-counted one test",
   "evidence": {
    "H3_mean_diff": -0.040925,
    "H4_mean_diff": -0.040925,
    "H3_p": 0.9023820560150093,
    "H4_p": 0.9023820560150093,
    "H3_verdict_rule": "count of domains (not the pooled test)"
   },
   "source": "experiments.py::run (h3 = cmp(P1,P0,reps=...), h4 = cmp(P1,P0))",
   "commit": "006beb706",
   "effect": "no verdict changes (both negative), but the correction was over a family with a duplicate"
  },
  {
   "id": "F10",
   "title": "E165 H14 'independent evaluator' = a second statistics routine + re-execution of the same source on the same host",
   "evidence": {
    "kind": "independently implemented verification (same source, different statistics); NOT third-party reproduction",
    "re_execution_checked": 48,
    "mismatches": 0,
    "H14_verdict": "SUPPORTED"
   },
   "source": "scripts/evolution165/independent_eval.py (imports cain.cain2027.e165 and re-runs R.run_source)",
   "commit": "006beb706",
   "effect": "independence level: separate statistics implementation, same process family, same host, same administrator; it reproduced a negative result. Not third-party."
  },
  {
   "id": "F11",
   "title": "E165 sealed sample: 2 tasks per domain per seed (n = 30 per representation); every primary test was underpowered for MDE 0.02",
   "evidence": {
    "design": {
     "seeds": 5,
     "dev_per_domain": 2,
     "sealed_per_domain": 2,
     "budget": 120,
     "reps": [
      "original",
      "paraphrase",
      "permuted",
      "structure"
     ],
     "domains": [
      "REPAIR",
      "MATH",
      "CAUSAL"
     ],
     "mde": 0.02,
     "primary_family": [
      "H1",
      "H2",
      "H3",
      "H4",
      "H5",
      "H8",
      "H9",
      "H10",
      "H11",
      "H13"
     ]
    }
   },
   "source": "experiments.py constants SEEDS, SEALED_PER_DOMAIN",
   "commit": "006beb706",
   "effect": "CIs ~\u00b10.1 against an MDE of 0.02"
  },
  {
   "id": "F12",
   "title": "E165 cannot be rebuilt from git alone: it imports cain/cain2027/e158/security_and_ops.py (AST guard) and, via E163 domains, e158/domains.py; both untracked at the commit",
   "evidence": {
    "untracked_dependency_sha256": {
     "__init__.py": "8ad13f1b1447e4aa0b1e3ad3cc022c36b8c2cdb2521c9181353012b2f0b16dd5",
     "benchmarks.py": "aa35863cbd3e53d83bfed4e36820b3b5a769b2de6bd6f8c7c1e0f9b1b6f90e12",
     "codearm.py": "ca3f984e2ff30cd06b6ad375fb2562343f39fd130e9cfd5cbff287ab89789658",
     "colonies.py": "6436ef818384f930fec33db00b155bb6910580b573f47e6c219a41b5ff5b7955",
     "director.py": "cf856dbbbc22932c15cf93654e6c32c1affddf402ec1613cc3d360f3727811de",
     "domains.py": "d258b681c7fd717292d06379d561bca8a6b21019b5a7d858714e76836986c895",
     "memory_system.py": "782127344c5b340ccbef93593e56ab8aa95927eaea08b27f4af1305cda0f0d00",
     "organism.py": "e08406e6580f96e192780b69f09be78ab3e53906d073d1798495522bf1f9dd72",
     "research.py": "11fef276a64d7980185ea1fee09e10edba5c8de442c6d637733e186ab867ac6c",
     "rsi.py": "164d7a3a0177172ac4f8747fccfd250bec17846a9a90fc589d23c9d8ce609845",
     "security_and_ops.py": "e494b3da4577fb4b0f909c6b7229e337897ac7103c3baa8de8986c6c558c2791",
     "unified_organism.py": "300a5e0f93d1e99704e53eccc68f0376bb960666a85efc307f090b8adba95742"
    },
    "git_tracked_at_commit": false
   },
   "source": "cain/cain2027/e165/research.py::load (from cain.cain2027.e158.security_and_ops import ast_guard)",
   "commit": "006beb706",
   "effect": "reproduction used the working-tree copy (hash recorded); a reviewer with only the repository could not re-run E165"
  }
 ],
 "e165_bundle_files_sha256": {
  "E165_CAPABILITY_RETENTION.json": "f2bd84df11d06f582f9a675a38f3d830e4cd6292f825c45d1b079b063b8a51f6",
  "E165_COLLECTIVE_REPORT.json": "8fd3a57183bb454bbf4d3c049a2ad4781f7e706a3eb8c09ad9c2ad1d52a123b9",
  "E165_COMPUTE_ACCOUNTING.json": "3e7b1bab14198e9b7be75c3a9f5f2e416418f20000131be149f92968d5dfd512",
  "E165_EVIDENCE_MANIFEST.json": "784929fb6d52b4f62e3fb7e83e796db41ee512624588180576920904d66f4bdb",
  "E165_EXPERIMENT_SUMMARY.json": "3613603b15ba19fbfe793971c541f832fb3960d72985f2ca0cb502415392d5cf",
  "E165_FAILURE_DIAGNOSIS.json": "d49e8534844ce7b13fc2fd5428ee1b467becf31f94e5bfefb6fa886a236db7e6",
  "E165_GATE_MATRIX.json": "7064949f3c2934cb32db172911cf10e3428ea76dc6f02972e66377e3d3f78e09",
  "E165_GENERALIZATION_REPORT.json": "5519de586ab388b791f7d84a6af11c0dac020690cb274ee5bba58f026d0805fc",
  "E165_GOVERNANCE_REPORT.json": "01b1ac5fe3a28c26afa2939eb274a6676548033c368ae98098786678add9b4bf",
  "E165_HYPOTHESIS_RESULTS.json": "77871c7bab5f0de5a28480d743b50a4e160fe3cc565685ff90951562fc953acf",
  "E165_INDEPENDENT_EVALUATION.json": "8b154715d2f689a0ffe6c908ec34b9fc94d04a0a751f8892f0fe4741bbfd888e",
  "E165_MEMORY_REPORT.json": "5d065035d53f270de1db8634bc062e7bb960439b7d15385eb35120046e0455e2",
  "E165_OMEGA_SEAL.json": "d08ce25ff1f88d70819155b2f85ba1fd5f929c85d21c4309d4ab593741b8b1a4",
  "E165_PREREGISTRATION.json": "8ca752daf090ff6889052dee961b79e1979c346b4b46c3e11a8f0d164c1bbc22",
  "E165_PREREGISTRATION_FREEZE.json": "ab750e54e23a9b8c306b202f9ddfdf316843670c52f9b76847d8339b736969a3",
  "E165_PROPOSER_COMPARISON.json": "a15287ec24a4f47c21e231e81e0b88b13e537dd30a151ebee2cb9690112aee57",
  "E165_PUBLICATION_AUDIT.json": "97dd8fd8323533b21b8b39d56a7a41b14553563999516ec2425de8e34e71512a",
  "E165_PUBLICATION_AUDIT_AT_SIGNING.json": "a512161341d03751843eede09405de9ab31730c93f46e0ecf7e7cfc7627c3b71",
  "E165_REPLICATION.json": "cf9209cff6f1a91a3637eb4f5836090a393bf72d984913bcc58d4a4eaa083e8a",
  "E165_SALT_REVEALED.json": "145e0b8bfc796289c80522d007ff8d89b3bc2baae7ee589764e790570b8e284c",
  "E165_SIGNATURES.json": "2436fdff4c96ee52eb9310784a0495b9339146851d03e919b64b309b52e4d66f",
  "E165_SOURCE_DIFF_AUDIT.json": "0577af67341e9deb17de21b2c01e0f5f27c1f12048f1a27170ea9f5d3efe544f",
  "E165_SUCCESSOR_LINEAGE.json": "5e43fd7fab3163317e8f502732b3236fb38d39abcf8fba75b16a721982b9c926",
  "E165_TAMPER_RESULTS.json": "cb7b94e0c465b1a7889e9ebec00f44d590ebcfc9353b247f26683872dc7740db",
  "E165_TASK_MANIFEST.json": "278b3803cb349b77490d79422c4839f04e6b5075bad43409953a2b8f785869a0",
  "E165_VERIFICATION_RESULTS.json": "b09e698fd75cd2fc4b62e2af60f2aef54e49ca96c3bd684a5f6e6ddf1eb6388b"
 }
}