{
  "behavioral_distinctness_vs_M1": {
    "M0_none": 1.0,
    "M1_raw_history": 0.0,
    "M2_root_cause": 0.0,
    "M3_structured": 0.0,
    "M4_provenance_uncertainty": 1.0,
    "M5_active_retrieval_revision": 1.0
  },
  "by_regime_means": {
    "base_regime": {
      "M0_none": 0.09167,
      "M1_raw_history": -0.13256,
      "M2_root_cause": -0.13256,
      "M3_structured": -0.13256,
      "M4_provenance_uncertainty": 0.25334,
      "M5_active_retrieval_revision": 0.25334
    },
    "shifted_wording_regime": {
      "M0_none": 0.00809,
      "M1_raw_history": -0.13422,
      "M2_root_cause": -0.13422,
      "M3_structured": -0.13422,
      "M4_provenance_uncertainty": 0.21125,
      "M5_active_retrieval_revision": 0.21125
    },
    "unseen_noisy_regime": {
      "M0_none": 0.00361,
      "M1_raw_history": -0.12722,
      "M2_root_cause": -0.12722,
      "M3_structured": -0.12722,
      "M4_provenance_uncertainty": 0.05115,
      "M5_active_retrieval_revision": 0.20208
    }
  },
  "comparisons": {
    "M4_vs_M1_raw_history": {
      "ci95": [
        0.27621,
        0.33028
      ],
      "losses": 0,
      "mean_ctrl": -0.13133,
      "mean_diff": 0.30325,
      "mean_treat": 0.17191,
      "n": 48,
      "p_one_sided_t": 1.1213418788365325e-26,
      "ties": 0,
      "wins": 48
    },
    "M5_vs_M0_none": {
      "ci95": [
        0.1584,
        0.21713
      ],
      "losses": 2,
      "mean_ctrl": 0.03446,
      "mean_diff": 0.18777,
      "mean_treat": 0.22222,
      "n": 48,
      "p_one_sided_t": 6.781401277723779e-17,
      "ties": 0,
      "wins": 46
    },
    "M5_vs_M1_raw_history": {
      "ci95": [
        0.34227,
        0.36484
      ],
      "losses": 0,
      "mean_ctrl": -0.13133,
      "mean_diff": 0.35356,
      "mean_treat": 0.22222,
      "n": 48,
      "p_one_sided_t": 7.66582799878284e-47,
      "ties": 0,
      "wins": 48
    },
    "M5_vs_M3_structured": {
      "ci95": [
        0.34227,
        0.36484
      ],
      "losses": 0,
      "mean_ctrl": -0.13133,
      "mean_diff": 0.35356,
      "mean_treat": 0.22222,
      "n": 48,
      "p_one_sided_t": 7.66582799878284e-47,
      "ties": 0,
      "wins": 48
    },
    "M5_vs_M4_provenance": {
      "ci95": [
        0.02969,
        0.07093
      ],
      "losses": 0,
      "mean_ctrl": 0.17191,
      "mean_diff": 0.05031,
      "mean_treat": 0.22222,
      "n": 48,
      "p_one_sided_t": 8.72282194816779e-06,
      "ties": 32,
      "wins": 16
    }
  },
  "historical_memory_records": [
    {
      "candidate_source_version": "P2_e166_prov",
      "cross_domain_results": {
        "CAUSAL": 0.261,
        "MATH": 0.2175,
        "REPAIR": 0.2491
      },
      "cross_model_results": {
        "status": "NOT_RUN_IN_E166"
      },
      "development_results": {
        "mean_diff": 0.24
      },
      "failed_conditions": [
        "blind_family_C"
      ],
      "held_out_results": {
        "mean_diff": 0.2426,
        "p_value": 2.1e-71
      },
      "independent_verified": true,
      "intervention_id": "INT_E166_READER_PROVENANCE",
      "original_evidence": "E165 failed doc/paraphrase (-0.0975)",
      "parent_source_version": "P0_e166",
      "predicted_effect": 0.2,
      "predicted_failure_modes": [
        "blind_wording_shift"
      ],
      "problem_addressed": "Document retraction & provenance parsing",
      "promotion_decision": "PROMOTED_BOUNDED",
      "proposed_mechanism": "provenance_retraction_filter",
      "replication_status": "REPLICATED",
      "resource_consumption": {
        "evals": 100320,
        "usd": 0.0
      },
      "root_cause_hypothesis": "Surface keyword rules ignore negation/retractions",
      "statistical_uncertainty": {
        "ci95": [
          0.2212,
          0.2639
        ]
      },
      "status": "CONTEXT_SPECIFIC",
      "worked_conditions": [
        "known_wording_A_B",
        "structured_docs"
      ]
    },
    {
      "candidate_source_version": "R0_e168",
      "cross_domain_results": {
        "G": 0.1268,
        "H": 0.3239,
        "I": 0.1992
      },
      "cross_model_results": {
        "model": "claude-haiku-5-5"
      },
      "development_results": {
        "mean_diff": 0.23
      },
      "failed_conditions": [
        "zero_budget_offline"
      ],
      "held_out_results": {
        "mean_diff": 0.2167,
        "p_value": 5.2e-07
      },
      "independent_verified": true,
      "intervention_id": "INT_E168_GOVERNED_READER",
      "original_evidence": "E166 family C doc_correct=0.0",
      "parent_source_version": "P_search_e168",
      "predicted_effect": 0.22,
      "predicted_failure_modes": [
        "high_api_cost",
        "small_model_drift"
      ],
      "problem_addressed": "Blind wording generalization failure (E166 family C)",
      "promotion_decision": "PROMOTED_MECHANISM_NOT_RSI",
      "proposed_mechanism": "semantic_governed_reader",
      "replication_status": "REPLICATED",
      "resource_consumption": {
        "evals": 877,
        "usd": 1.0134
      },
      "root_cause_hypothesis": "Fixed regex library cannot parse novel phrasing",
      "statistical_uncertainty": {
        "ci95": [
          0.141,
          0.2923
        ]
      },
      "status": "SUCCESSFUL",
      "worked_conditions": [
        "blind_wording_G_H_I",
        "free_text_docs"
      ]
    },
    {
      "candidate_source_version": "CLADDER_v3_e161",
      "cross_domain_results": {
        "rung1": 0.9635,
        "rung2": 0.9224,
        "rung3": 0.8072
      },
      "cross_model_results": {
        "model": "zero_llm_native"
      },
      "development_results": {
        "mean_diff": 0.4133
      },
      "failed_conditions": [
        "implicit_unwritten_graph"
      ],
      "held_out_results": {
        "mean_diff": 0.38636,
        "p_value": 1e-300
      },
      "independent_verified": true,
      "intervention_id": "INT_E161_PEARL_DAG_CAUSAL",
      "original_evidence": "E159 v1 dropped 0.55->0.493",
      "parent_source_version": "CLADDER_v1_e159",
      "predicted_effect": 0.35,
      "predicted_failure_modes": [
        "ambiguous_natural_language_sem"
      ],
      "problem_addressed": "Causal Rung 1-3 symbolic failure (E159 49.3%)",
      "promotion_decision": "PROMOTED_CAIN_NATIVE",
      "proposed_mechanism": "pearl_dag_d_separation_backdoor",
      "replication_status": "FULL_DATASET_10560",
      "resource_consumption": {
        "evals": 10560,
        "usd": 0.0
      },
      "root_cause_hypothesis": "Heuristic negation counting ignores DAG d-separation",
      "statistical_uncertainty": {
        "ci95": [
          0.375,
          0.398
        ]
      },
      "status": "SUCCESSFUL",
      "worked_conditions": [
        "causal_dag_text",
        "backdoor_adjustment"
      ]
    },
    {
      "candidate_source_version": "G2_e159",
      "cross_domain_results": {
        "packing": -0.0651,
        "realdata": -0.0191
      },
      "cross_model_results": {
        "model": "claude-sonnet-5-5"
      },
      "development_results": {
        "mean_diff": 0.0568
      },
      "failed_conditions": [
        "unseen_packing",
        "unseen_realdata"
      ],
      "held_out_results": {
        "mean_diff": -0.04208,
        "p_value": 0.8649
      },
      "independent_verified": true,
      "intervention_id": "INT_E161_UNSEEN_CODE_OVERFIT",
      "original_evidence": "E160 unseen N=80 inconclusive (+0.0405)",
      "parent_source_version": "G0_code",
      "predicted_effect": 0.04,
      "predicted_failure_modes": [
        "discrete_packing_and_noisy_realdata"
      ],
      "problem_addressed": "Zero-shot transfer to unseen packing+realdata",
      "promotion_decision": "REJECTED_TRANSFER_FIREWALL",
      "proposed_mechanism": "dev_tuned_rbf_surrogate",
      "replication_status": "FAILED_REPLICATION",
      "resource_consumption": {
        "evals": 280,
        "usd": 0.0
      },
      "root_cause_hypothesis": "Surrogate hyper-tuned to smooth 4 dev domains",
      "statistical_uncertainty": {
        "ci95": [
          -0.1166,
          0.0325
        ]
      },
      "status": "FAILED",
      "worked_conditions": [
        "smooth_dev_4dom"
      ]
    },
    {
      "candidate_source_version": "C_cut43_e150",
      "cross_domain_results": {
        "discoveries": "19->14"
      },
      "cross_model_results": {
        "model": "zero_llm_native"
      },
      "development_results": {
        "mean_diff": -0.02
      },
      "failed_conditions": [
        "hard_discovery_tasks"
      ],
      "held_out_results": {
        "mean_diff": -0.05,
        "p_value": 0.95
      },
      "independent_verified": true,
      "intervention_id": "INT_E150_BUDGET_CUT_UNSAFE",
      "original_evidence": "E149 high query cost",
      "parent_source_version": "G0_e150",
      "predicted_effect": 0.05,
      "predicted_failure_modes": [
        "hard_tail_discovery_drop"
      ],
      "problem_addressed": "Research cost reduction without quality loss",
      "promotion_decision": "REJECTED_NON_INFERIORITY",
      "proposed_mechanism": "unconstrained_early_stop_43pct",
      "replication_status": "NOT_REPLICATED",
      "resource_consumption": {
        "evals": 160,
        "usd": 0.0
      },
      "root_cause_hypothesis": "Early stopping without quality floor drops hard discoveries",
      "statistical_uncertainty": {
        "ci95": [
          -0.11,
          0.01
        ]
      },
      "status": "FAILED",
      "worked_conditions": [
        "trivial_easy_tasks"
      ]
    },
    {
      "candidate_source_version": "BB_DYNAMIC_META_COLONY",
      "cross_domain_results": {
        "B120": 0.2253,
        "B60": 0.1713
      },
      "cross_model_results": {
        "model": "zero_llm_native"
      },
      "development_results": {
        "mean_diff": 0.1713
      },
      "failed_conditions": [
        "already_saturated_single_mode"
      ],
      "held_out_results": {
        "mean_diff": 0.19724,
        "p_value": 5.84e-11
      },
      "independent_verified": true,
      "intervention_id": "INT_E159_BB_ZERO_DUP",
      "original_evidence": "E158 colony wasted duplicate evals",
      "parent_source_version": "BB_SOLO",
      "predicted_effect": 0.17,
      "predicted_failure_modes": [
        "tiny_budget_overhead"
      ],
      "problem_addressed": "Multi-worker duplicate waste in colonies",
      "promotion_decision": "PROMOTED",
      "proposed_mechanism": "shared_blackboard_asymmetric_roles",
      "replication_status": "REPLICATED",
      "resource_consumption": {
        "evals": 900,
        "usd": 0.0
      },
      "root_cause_hypothesis": "Shared live blackboard with asymmetric roles eliminates duplicates",
      "statistical_uncertainty": {
        "ci95": [
          0.14,
          0.25
        ]
      },
      "status": "SUCCESSFUL",
      "worked_conditions": [
        "noisy_multi_domain_search",
        "B>=60"
      ]
    }
  ],
  "n_campaigns": 48,
  "poisoning_defense_audit": {
    "all_defenses_passed": true,
    "attacks_blocked": "8/8",
    "attacks_bypassed": 0,
    "contradiction_supersession_count": 1,
    "high_confidence_remaining": 5,
    "quarantined_total": 8,
    "valid_admitted": "6/6"
  },
  "raw_campaign_scores": {
    "M0_none": [
      0.10833,
      -0.09116,
      0.04337,
      0.06345,
      -0.1048,
      -0.1201,
      0.17829,
      0.0655,
      0.07718,
      -0.07972,
      0.03343,
      -0.06975,
      0.11037,
      -0.06067,
      -0.08378,
      -0.11513,
      0.21971,
      0.08415,
      0.18857,
      -0.11746,
      0.08803,
      -0.0085,
      -0.10744,
      0.04934,
      0.24231,
      -0.01269,
      0.20285,
      0.05954,
      0.0995,
      -0.08931,
      0.23406,
      0.06329,
      0.07081,
      -0.04119,
      0.08433,
      -0.08512,
      0.15967,
      -0.09213,
      -0.13095,
      0.12944,
      0.01758,
      0.05857,
      0.14945,
      0.11832,
      -0.09429,
      0.0878,
      0.01411,
      0.05673
    ],
    "M1_raw_history": [
      -0.11472,
      -0.11406,
      -0.16743,
      -0.16664,
      -0.15463,
      -0.14112,
      -0.11096,
      -0.13579,
      -0.1047,
      -0.14543,
      -0.12719,
      -0.11243,
      -0.14891,
      -0.11752,
      -0.12668,
      -0.12438,
      -0.15404,
      -0.10666,
      -0.15163,
      -0.12302,
      -0.09561,
      -0.11342,
      -0.15727,
      -0.13903,
      -0.13265,
      -0.14918,
      -0.10588,
      -0.11489,
      -0.15337,
      -0.14263,
      -0.12073,
      -0.10606,
      -0.13043,
      -0.14081,
      -0.151,
      -0.11221,
      -0.16577,
      -0.11903,
      -0.11993,
      -0.11978,
      -0.12578,
      -0.15336,
      -0.13607,
      -0.12444,
      -0.13141,
      -0.11417,
      -0.13521,
      -0.14601
    ],
    "M2_root_cause": [
      -0.11472,
      -0.11406,
      -0.16743,
      -0.16664,
      -0.15463,
      -0.14112,
      -0.11096,
      -0.13579,
      -0.1047,
      -0.14543,
      -0.12719,
      -0.11243,
      -0.14891,
      -0.11752,
      -0.12668,
      -0.12438,
      -0.15404,
      -0.10666,
      -0.15163,
      -0.12302,
      -0.09561,
      -0.11342,
      -0.15727,
      -0.13903,
      -0.13265,
      -0.14918,
      -0.10588,
      -0.11489,
      -0.15337,
      -0.14263,
      -0.12073,
      -0.10606,
      -0.13043,
      -0.14081,
      -0.151,
      -0.11221,
      -0.16577,
      -0.11903,
      -0.11993,
      -0.11978,
      -0.12578,
      -0.15336,
      -0.13607,
      -0.12444,
      -0.13141,
      -0.11417,
      -0.13521,
      -0.14601
    ],
    "M3_structured": [
      -0.11472,
      -0.11406,
      -0.16743,
      -0.16664,
      -0.15463,
      -0.14112,
      -0.11096,
      -0.13579,
      -0.1047,
      -0.14543,
      -0.12719,
      -0.11243,
      -0.14891,
      -0.11752,
      -0.12668,
      -0.12438,
      -0.15404,
      -0.10666,
      -0.15163,
      -0.12302,
      -0.09561,
      -0.11342,
      -0.15727,
      -0.13903,
      -0.13265,
      -0.14918,
      -0.10588,
      -0.11489,
      -0.15337,
      -0.14263,
      -0.12073,
      -0.10606,
      -0.13043,
      -0.14081,
      -0.151,
      -0.11221,
      -0.16577,
      -0.11903,
      -0.11993,
      -0.11978,
      -0.12578,
      -0.15336,
      -0.13607,
      -0.12444,
      -0.13141,
      -0.11417,
      -0.13521,
      -0.14601
    ],
    "M4_provenance_uncertainty": [
      0.26881,
      0.21676,
      0.03937,
      0.2306,
      0.22706,
      0.05109,
      0.25059,
      0.22252,
      0.06352,
      0.22305,
      0.17694,
      0.05133,
      0.26713,
      0.19041,
      0.06189,
      0.26641,
      0.23342,
      0.03093,
      0.26192,
      0.19952,
      0.06677,
      0.24276,
      0.17654,
      0.04486,
      0.23746,
      0.24662,
      0.01021,
      0.26568,
      0.24503,
      0.0778,
      0.25268,
      0.18408,
      0.05833,
      0.28502,
      0.23535,
      0.09068,
      0.28756,
      0.19468,
      0.03469,
      0.23164,
      0.23191,
      0.03494,
      0.23194,
      0.19751,
      0.06057,
      0.25015,
      0.20161,
      0.04138
    ],
    "M5_active_retrieval_revision": [
      0.26881,
      0.21676,
      0.18624,
      0.2306,
      0.22706,
      0.19752,
      0.25059,
      0.22252,
      0.19193,
      0.22305,
      0.17694,
      0.18177,
      0.26713,
      0.19041,
      0.16855,
      0.26641,
      0.23342,
      0.20373,
      0.26192,
      0.19952,
      0.23517,
      0.24276,
      0.17654,
      0.20552,
      0.23746,
      0.24662,
      0.14022,
      0.26568,
      0.24503,
      0.22146,
      0.25268,
      0.18408,
      0.23324,
      0.28502,
      0.23535,
      0.22924,
      0.28756,
      0.19468,
      0.21137,
      0.23164,
      0.23191,
      0.18136,
      0.23194,
      0.19751,
      0.22993,
      0.25015,
      0.20161,
      0.21606
    ]
  },
  "regimes": [
    "base_regime",
    "shifted_wording_regime",
    "unseen_noisy_regime"
  ],
  "required_fields_count": 19,
  "schema": "cain42.e171.self_improvement_memory.v1",
  "tier_means": {
    "M0_none": 0.03446,
    "M1_raw_history": -0.13133,
    "M2_root_cause": -0.13133,
    "M3_structured": -0.13133,
    "M4_provenance_uncertainty": 0.17191,
    "M5_active_retrieval_revision": 0.22222
  },
  "valid_status_taxonomy": [
    "SUCCESSFUL",
    "FAILED",
    "CONTEXT_SPECIFIC",
    "REDUNDANT",
    "CONFLICTING",
    "UNTESTED",
    "SUPERSEDED"
  ]
}
