{
 "schema": "cain42.e151.snapshot.v1",
 "evolution": "E151",
 "analysis_label": "CONFIRMATORY (preregistered)",
 "identity": "CAIN-42 is an AGI\u2013RSI research organism.",
 "entity": "FIRME AI CORPORATION",
 "status": {
  "AGI": "NOT ESTABLISHED",
  "RSI": "EXPERIMENTAL"
 },
 "generated_at": "2026-11-23T09:23:56Z",
 "question": "Can CAIN-42 write, test and recursively improve the source code of its own research procedure?",
 "preregistration_hash": "9248c6b537b529a744467a5ad0824e2154d155192f92b1bf59d0c8ddae66a268",
 "promotion": "NOT_PROMOTED",
 "hypotheses": {
  "H1": {
   "verdict": "NOT_TESTABLE",
   "why": "D_final and A are the same researcher (no accepted code change)"
  },
  "H2": {
   "verdict": "NOT_TESTABLE",
   "why": "E_final and D_final are the same researcher (no accepted code change)"
  },
  "H8": {
   "verdict": "NOT_TESTABLE"
  },
  "H3_D": {
   "verdict": "NOT_TESTABLE",
   "why": "fewer than two accepted generations"
  },
  "H3_E": {
   "verdict": "NOT_TESTABLE",
   "why": "fewer than two accepted generations"
  },
  "H4_D_final": {
   "verdict": "NOT_TESTABLE",
   "why": "no accepted code change; retention trivially 1.0"
  },
  "H4_E_final": {
   "verdict": "NOT_TESTABLE",
   "why": "no accepted code change; retention trivially 1.0"
  },
  "H5": {
   "verdict": "NOT_TESTABLE",
   "why": "D_final and A are the same researcher (no accepted code change)"
  },
  "H6": {
   "verdict": "NOT_TESTABLE",
   "why": "D_final and A are the same researcher (no accepted code change)"
  },
  "H12": {
   "verdict": "NOT_TESTABLE",
   "why": "E_final and A are the same researcher (no accepted code change)"
  },
  "H7_D_final": {
   "verdict": "NOT_TESTABLE"
  },
  "H7_E_final": {
   "verdict": "NOT_TESTABLE"
  },
  "H9": {
   "verdict": "SUPPORTED"
  },
  "H10": {
   "verdict": "PASS"
  },
  "H11": {
   "verdict": "MECHANISM_UNRESOLVED",
   "why": "the preregistered hunk-by-hunk ablation was not run in this campaign"
  }
 },
 "development": {
  "proposals_requested": 256,
  "proposals_ok": 255,
  "candidates_recorded": 255,
  "behaviour_classes": {
   "INVALID": 26,
   "ALGORITHM_CHANGE": 178,
   "INVALID_RUNTIME": 34,
   "REJECTED_SECURITY": 4,
   "NON_BEHAVIOURAL": 13
  },
  "accepted_generations": {
   "D": [],
   "E": []
  },
  "rejected_generations": {
   "D": [
    1,
    2,
    3,
    4
   ],
   "E": [
    1,
    2,
    3,
    4
   ]
  },
  "final_parent": {
   "D": "G0",
   "E": "G0"
  },
  "api": {
   "calls": 256,
   "usd": 0.7093,
   "input_tokens": 2450332,
   "output_tokens": 913571,
   "models": [
    "claude-haiku-5-5"
   ]
  }
 },
 "confirmation_summary": {
  "A": {
   "bool": {
    "n": 400,
    "discoveries": 69,
    "false_promotions": 60,
    "research_used": 428800
   },
   "thr": {
    "n": 40,
    "discoveries": 4,
    "false_promotions": 7,
    "research_used": 42880
   },
   "bool_F4": {
    "n": 40,
    "discoveries": 6,
    "false_promotions": 6,
    "research_used": 42880
   }
  },
  "B": {
   "bool": {
    "n": 400,
    "discoveries": 39,
    "false_promotions": 41,
    "research_used": 245100
   },
   "thr": {
    "n": 40,
    "discoveries": 2,
    "false_promotions": 6,
    "research_used": 24052
   },
   "bool_F4": {
    "n": 40,
    "discoveries": 2,
    "false_promotions": 5,
    "research_used": 24052
   }
  },
  "C": {
   "bool": {
    "n": 400,
    "discoveries": 41,
    "false_promotions": 13,
    "research_used": 361102
   },
   "thr": {
    "n": 40,
    "discoveries": 1,
    "false_promotions": 1,
    "research_used": 35430
   },
   "bool_F4": {
    "n": 40,
    "discoveries": 4,
    "false_promotions": 1,
    "research_used": 33640
   }
  },
  "D_final": {
   "bool": {
    "n": 400,
    "discoveries": 69,
    "false_promotions": 60,
    "research_used": 428800
   },
   "thr": {
    "n": 40,
    "discoveries": 4,
    "false_promotions": 7,
    "research_used": 42880
   },
   "bool_F4": {
    "n": 40,
    "discoveries": 6,
    "false_promotions": 6,
    "research_used": 42880
   }
  },
  "E_final": {
   "bool": {
    "n": 400,
    "discoveries": 69,
    "false_promotions": 60,
    "research_used": 428800
   },
   "thr": {
    "n": 40,
    "discoveries": 4,
    "false_promotions": 7,
    "research_used": 42880
   },
   "bool_F4": {
    "n": 40,
    "discoveries": 6,
    "false_promotions": 6,
    "research_used": 42880
   }
  }
 },
 "replication_summary": {
  "A": {
   "n": 160,
   "discoveries": 23
  },
  "D_final": {
   "n": 160,
   "discoveries": 23
  },
  "E_final": {
   "n": 160,
   "discoveries": 23
  }
 },
 "lineage": [
  {
   "generation": 1,
   "arm": "D",
   "parent_id": "G0",
   "parent_sha256": "2228176bc4a4cc1fd4bb4d2d333d987f909dd96647269f559acffcf5d348371b",
   "champion": "D_g1_c15_72b2f456a2",
   "accepted": false,
   "child_sha256": "72b2f456a2e17481afb880ebbeed6096f74cb540016854833f50a279fb2eb179",
   "selection": {
    "n": 64,
    "a_only": 0,
    "b_only": 2,
    "rate_a": 0.171875,
    "rate_b": 0.203125,
    "p_a_better": 1.0,
    "fp_a": 4,
    "fp_b": 10,
    "research_a": 64576,
    "research_b": 68608,
    "retention": 0.8461538461538461,
    "baseline_solved": 13
   },
   "behaviour_class": "ALGORITHM_CHANGE",
   "functions_changed_vs_parent": []
  },
  {
   "generation": 2,
   "arm": "D",
   "parent_id": "G0",
   "parent_sha256": "2228176bc4a4cc1fd4bb4d2d333d987f909dd96647269f559acffcf5d348371b",
   "champion": "D_g2_c05_99d34feb94",
   "accepted": false,
   "child_sha256": "99d34feb94890e862488330c0559ca5ef22f9fa2ce6209c07d1c21b242d80a33",
   "selection": {
    "n": 64,
    "a_only": 0,
    "b_only": 3,
    "rate_a": 0.078125,
    "rate_b": 0.125,
    "p_a_better": 1.0,
    "fp_a": 0,
    "fp_b": 13,
    "research_a": 67072,
    "research_b": 68608,
    "retention": 0.625,
    "baseline_solved": 8
   },
   "behaviour_class": "ALGORITHM_CHANGE",
   "functions_changed_vs_parent": []
  },
  {
   "generation": 3,
   "arm": "D",
   "parent_id": "G0",
   "parent_sha256": "2228176bc4a4cc1fd4bb4d2d333d987f909dd96647269f559acffcf5d348371b",
   "champion": "D_g3_c03_3383f30f72",
   "accepted": false,
   "child_sha256": "3383f30f72e7fcc742cb533f582c7b5056b955e9c762a5429ba31a614d8b6b89",
   "selection": {
    "n": 64,
    "a_only": 0,
    "b_only": 4,
    "rate_a": 0.046875,
    "rate_b": 0.109375,
    "p_a_better": 1.0,
    "fp_a": 1,
    "fp_b": 8,
    "research_a": 65984,
    "research_b": 68608,
    "retention": 0.42857142857142855,
    "baseline_solved": 7
   },
   "behaviour_class": "ALGORITHM_CHANGE",
   "functions_changed_vs_parent": []
  },
  {
   "generation": 4,
   "arm": "D",
   "parent_id": "G0",
   "parent_sha256": "2228176bc4a4cc1fd4bb4d2d333d987f909dd96647269f559acffcf5d348371b",
   "champion": "D_g4_c08_f2e731b4a5",
   "accepted": false,
   "child_sha256": "f2e731b4a5d6a7b0df368e67d56af40aafc29bc2752e88248b99bb9d1869fa46",
   "selection": {
    "n": 64,
    "a_only": 0,
    "b_only": 3,
    "rate_a": 0.171875,
    "rate_b": 0.21875,
    "p_a_better": 1.0,
    "fp_a": 3,
    "fp_b": 11,
    "research_a": 65792,
    "research_b": 68608,
    "retention": 0.7857142857142857,
    "baseline_solved": 14
   },
   "behaviour_class": "ALGORITHM_CHANGE",
   "functions_changed_vs_parent": []
  },
  {
   "generation": 1,
   "arm": "E",
   "parent_id": "G0",
   "parent_sha256": "2228176bc4a4cc1fd4bb4d2d333d987f909dd96647269f559acffcf5d348371b",
   "champion": "E_g1_c27_9201b3a86a",
   "accepted": false,
   "child_sha256": "9201b3a86abad259a05a9be69ec70b4cd5c6f34997bb49594aef7525229f1da9",
   "selection": {
    "n": 64,
    "a_only": 0,
    "b_only": 2,
    "rate_a": 0.171875,
    "rate_b": 0.203125,
    "p_a_better": 1.0,
    "fp_a": 4,
    "fp_b": 10,
    "research_a": 64576,
    "research_b": 68608,
    "retention": 0.8461538461538461,
    "baseline_solved": 13
   },
   "behaviour_class": "ALGORITHM_CHANGE",
   "functions_changed_vs_parent": []
  },
  {
   "generation": 2,
   "arm": "E",
   "parent_id": "G0",
   "parent_sha256": "2228176bc4a4cc1fd4bb4d2d333d987f909dd96647269f559acffcf5d348371b",
   "champion": "E_g2_c23_a15ec5adcf",
   "accepted": false,
   "child_sha256": "a15ec5adcfd389fa0d918a3b52be2c158eeae4734dbaa99dab7e5239ea532035",
   "selection": {
    "n": 64,
    "a_only": 0,
    "b_only": 2,
    "rate_a": 0.09375,
    "rate_b": 0.125,
    "p_a_better": 1.0,
    "fp_a": 2,
    "fp_b": 13,
    "research_a": 63232,
    "research_b": 68608,
    "retention": 0.75,
    "baseline_solved": 8
   },
   "behaviour_class": "ALGORITHM_CHANGE",
   "functions_changed_vs_parent": []
  },
  {
   "generation": 3,
   "arm": "E",
   "parent_id": "G0",
   "parent_sha256": "2228176bc4a4cc1fd4bb4d2d333d987f909dd96647269f559acffcf5d348371b",
   "champion": "E_g3_c07_929f94bc06",
   "accepted": false,
   "child_sha256": "929f94bc06544504284b028533f811ef0261e9e69fe2420f77da978194d72a0f",
   "selection": {
    "n": 64,
    "a_only": 0,
    "b_only": 3,
    "rate_a": 0.0625,
    "rate_b": 0.109375,
    "p_a_better": 1.0,
    "fp_a": 3,
    "fp_b": 8,
    "research_a": 63744,
    "research_b": 68608,
    "retention": 0.5714285714285714,
    "baseline_solved": 7
   },
   "behaviour_class": "ALGORITHM_CHANGE",
   "functions_changed_vs_parent": []
  },
  {
   "generation": 4,
   "arm": "E",
   "parent_id": "G0",
   "parent_sha256": "2228176bc4a4cc1fd4bb4d2d333d987f909dd96647269f559acffcf5d348371b",
   "champion": "E_g4_c00_c5254b199f",
   "accepted": false,
   "child_sha256": "c5254b199f2567fe7dc68e48bfbca8ae63a93073e5175cfdcd71341dd3cf5186",
   "selection": {
    "n": 64,
    "a_only": 0,
    "b_only": 3,
    "rate_a": 0.171875,
    "rate_b": 0.21875,
    "p_a_better": 1.0,
    "fp_a": 3,
    "fp_b": 11,
    "research_a": 65472,
    "research_b": 68608,
    "retention": 0.7857142857142857,
    "baseline_solved": 14
   },
   "behaviour_class": "ALGORITHM_CHANGE",
   "functions_changed_vs_parent": []
  }
 ],
 "external_benchmarks": "BLOCKED (no matching benchmark harness run; constructed research problems only)",
 "independence": "separate sandbox process (uid 65534, no network) and separate evaluator process logic; same host and administrative domain; no outside reviewer",
 "source_publication": "research-procedure source is not published (owner directive); SHA-256 commitments, diff sizes and changed-function names are",
 "bundle": {
  "clawx": "https://clawx.click/evidence/e151-self-writing-research-2026-11-23/",
  "studio": "https://cainstudio.online/proof/bundle/e151-self-writing-research-2026-11-23/",
  "verify": "python3 -I verify_e151_offline.py ."
 }
}