{
 "schema": "cain42.e274.preregistration.v1",
 "evolution": "E274",
 "written_at": "2026-11-25T14:06:01Z",
 "status": "AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL",
 "identity": "CAIN-42 is an AGI–RSI research organism.",
 "head_at_freeze": "e8bed9bfe69101c2ef097437a0a67934edd3ae1b",
 "title": "Model-backed adversarial repair at scale: held-out AST bug variants",
 "question": "Can frontier models repair 90 held-out single-mutation bugs across five algorithmic families, with hidden tests deciding and no hidden-test access? How do haiku-5-5, sonnet-5-5 and opus-5-5 compare?",
 "variant_manifest_sha256": "131e48a7c9d45a764763b443cfea53044bb6b82bcb947ee0b5ac6558fa69bb1d",
 "engine_sha256": {
  "scripts/evolution274/generate.py": "de3aae7de138abd3a9289fead459a996f455fcd964a3a0b37d8d28c2b26627ce",
  "cain/cain2027/e274/run.py": "984ca63f8b02a4d670611384346442791be35057a28c4401e627580e6de9117c",
  "cain/cain2027/e274/prereg.py": "4a43f9d27382ce4d51525d765f4d22e5146d27e308e5adf06a37120c1d3b4dce",
  "cain/cain2027/e175/software.py": "e9a9902a173141828f15c32f510088e13b76bb72adda06f43d738e2a6f814791"
 },
 "design": {
  "dev_families": [
   "S01",
   "S02",
   "S03",
   "S04",
   "S05"
  ],
  "dev_variants": 20,
  "sealed_families": [
   "S06",
   "S07",
   "S08",
   "S09",
   "S10"
  ],
  "sealed_variants": 90,
  "models": [
   "claude-haiku-5-5",
   "claude-sonnet-5-5"
  ],
  "opus_subset": 30,
  "opus_ids": [
   "S07-2f299b82",
   "S07-75e546d4",
   "S07-4f1dfe40",
   "S10-a934c8c4",
   "S06-e32d035c",
   "S07-4ad188ec",
   "S06-50b7f8ef",
   "S07-733faf50",
   "S07-c0b375c9",
   "S09-946735f5",
   "S07-d7cb7367",
   "S08-42caec53",
   "S10-ed063ab3",
   "S09-96086910",
   "S06-63c7c5a4",
   "S07-cf6ead36",
   "S09-2014760f",
   "S10-2aa6705f",
   "S06-40c0d4f7",
   "S06-f20cdabb",
   "S06-37d92d03",
   "S06-79b6060d",
   "S06-a225c4f0",
   "S06-1b04ece2",
   "S06-a688881b",
   "S09-0f58c056",
   "S08-56e1a17f",
   "S09-f4294736",
   "S07-07987236",
   "S06-b1af597c"
  ],
  "trials_per_model": 3,
  "generator": "one AST mutation of the E175 correct solution; kept only if correct passes public+hidden, mutant fails public and hidden",
  "actor_prompt": "E175 system + buggy module and failing public tests; hidden tests never shown",
  "sandbox": "subprocess import test, 5 s timeout; AST guard allows only benign stdlib imports; no network"
 },
 "hypotheses": {
  "H1_sonnet_sealed": "sonnet pass@1 on 90 sealed tasks >= 0.75.",
  "H2_sonnet_beats_haiku": "sonnet pass@1 > haiku pass@1 (one-sided McNemar p<0.05 over task-level any-pass across 3 trials).",
  "H3_self_consistency": "pass@3 >= pass@1 + 0.05 for at least one model (3 trials).",
  "H4_opus_non_inferior": "opus pass@1 on the 30-task subset >= sonnet pass@1 on the same subset - 0.05.",
  "H5_safety": "0 AST-guard failures among accepted repairs and 0 hidden-test strings in any prompt (checked).",
  "H6_cost": "estimated cost per solved sealed task <= $0.05 across all calls.",
  "H7_original_ten": "all three models solve the 10 original E175 tasks at least once each (sanity).",
  "H8_external_review": "External reviewer obtained and accepted."
 },
 "decision_rule": {
  "MODEL_REPAIR_SUPPORTED": "H1 and H2 and H3 and H5 and H6 SUPPORTED.",
  "PARTIAL": "H1 SUPPORTED but H2 or H3 NOT_SUPPORTED.",
  "NOT_SUPPORTED": "H1 fails."
 },
 "limits": [
  "variants are AST mutations of the same 10 E175 families; not an external benchmark",
  "same team wrote correct solutions, mutations and tests; hidden tests are in-repo",
  "model-written source is withheld; public verification is record-level",
  "no external reviewer; cost is estimated from token counts, not provider billing",
  "single host; subprocess sandbox, not a hardened VM"
 ]
}