OpenIslet

scripts/verify_wave7_cellgemma_2p24_rebase.py

Wave-7 CellGemma-Islet (IIP-0062 to IIP-0065 / GATE-40 to GATE-43) Pure-CPU

script Release v0.8.0 gen-eb955f8266035aba 1.37 MB · 90 sections

Use this file in any AI chat (paste-only or attachment-capable):

Download as text (.txt) Download section (.txt)

Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/scripts/verify_wave7_cellgemma_2p24_rebase.py · SHA-256: 5f31a6369f25031d…

    chk(f"HOLD_GATE_C2_PROLIFERATION_ELEVATION_REFERRED:{ly}" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c2_evidence": _sign_receipt({**c2_y, "c2_per_lot_proliferation_records": [_mk_c2_prolif_lot(1, post_recovery_edu_fold_vs_ctrl=1.04, ki67_edu_referred=True), c2_prolif_ok[1], c2_prolif_ok[2]]})})["holds"], "G42_ADV_c2_postrec_hold")
    c1_sf21 = _mk_r8_c1_block(assay_record_id="C1-NORM-SF21", bids=[f"S{i}" for i in range(21)], c9_vec=[50.0+(i%3) for i in range(21)], ctrl_vec=[52.0+(i%3) for i in range(21)], tr_vec=[75.0+(i%3) for i in range(21)], veh_vec=[90.0]*21, comp_vec=[70.0+(i%2) for i in range(21)], stat_method="PAIRED_T_TEST_NORMALITY_VERIFIED")
    chk("HOLD_GATE_C1_NORMOXIA_EXACT_SIGN_FLIP_N_GT_20_REQUIRES_PAIRED_T" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "biological_blocks_n": 21, "statistical_test_method": "EXACT_TWO_SIDED_SIGN_FLIP", "c1_normoxia": c1_sf21, "c1_hypoxia_2pct_o2": {**c1_sf21, "assay_record_id": "C1-HYP-SF21"}})})["holds"], "G42_ADV_sf21_holds")

    c1_t45 = _mk_r8_c1_block(assay_record_id="C1-T45", bids=["B1","B2","B3","B4","B5","B6"], c9_vec=[51.0,55.0,49.0,54.0,52.0,56.0], ctrl_vec=[50.0]*6, tr_vec=[62.0,78.0,59.0,81.0,61.0,85.0], veh_vec=[90.0]*6, comp_vec=[58.0,73.0,55.5,76.0,57.5,79.5])
    chk("FAIL_GATE_C1_NORMOXIA_HOLM_BETA_PVALUE_GE_0P01" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_normoxia": c1_t45})})["failures"], "G42_ADV_t45_holm5")
    c1_n10 = _mk_r8_c1_block(assay_record_id="C1-SF10-N", bids=[f"N{i}" for i in range(10)], c9_vec=[50.0+(i%4) for i in range(10)], ctrl_vec=[53.0+(i%3) for i in range(10)], tr_vec=[76.0+(i%3) for i in range(10)], veh_vec=[90.0+(i%2) for i in range(10)], comp_vec=[70.0+(i%2) for i in range(10)], stat_method="EXACT_TWO_SIDED_SIGN_FLIP")
    c1_h10 = _mk_r8_c1_block(assay_record_id="C1-SF10-H", bids=[f"H{i}" for i in range(10)], c9_vec=[47.0+(i%4) for i in range(10)], ctrl_vec=[49.0+(i%3) for i in range(10)], tr_vec=[71.0+(i%3) for i in range(10)], veh_vec=[86.0+(i%2) for i in range(10)], comp_vec=[66.0+(i%2) for i in range(10)], stat_method="EXACT_TWO_SIDED_SIGN_FLIP", target_kd=80.0, nonbeta_surv=93.0, ctrl_nonbeta=68.0, batch_prefix="C1-HBAT")
    chk(abs(c1_n10["holm_adjusted_beta_p_value"] - 0.009765625) < 1e-9, "G42_ADV_sf10_exact")
    c1_prereg_sf10 = _mk_c1_prereg(py, by, ly, ry, att_y, n_b=10, stat_m="EXACT_TWO_SIDED_SIGN_FLIP", norm_bids=[f"N{i}" for i in range(10)], hyp_bids=[f"H{i}" for i in range(10)])
    c1_fam_sha_10 = _mk_c1_fam_sha(c1_n10, c1_h10)
    c1_sf10 = _sign_receipt({**c1_y, "prerequisite_receipt_sha256s": {**pr_c1_yc, "C-1-PREREGISTRATION": c1_prereg_sf10["receipt_sha256"]}, "biological_blocks_n": 10, "statistical_test_method": "EXACT_TWO_SIDED_SIGN_FLIP", "five_arm_family_matrix_sha256": c1_fam_sha_10, "c1_common_family_acquisition_record": _mk_c1_common_acq(c1_n10, c1_h10, c1_prereg_sf10, acq_id="C1-COMMON-ACQ-SF10"), "c1_normoxia": c1_n10, "c1_hypoxia_2pct_o2": c1_h10})
    c2_sf10 = _sign_receipt({**c2_y, "parent_receipt_sha256": c1_sf10["receipt_sha256"]})
    sw_sf10 = _mk_r8_switch(py, by, ly, ry, mat_yc, "2026-09-28T14:00:00Z", candidate_gene=tg_dual, comparator_nt_lot_id=nt_y, prereq_receipts={"C-2": c2_sf10["receipt_sha256"]}, transient_engagement=_mk_c_eng(c1_cohort_y, "2026-09-28T13:00:00Z", stage_name="NATIVE_SAFETY_SWITCH", lot_s_id=ly, win_start="2026-09-25T12:00:00Z", win_end="2026-09-28T13:15:00Z", mode="VALIDATED_LONGITUDINAL_KINETICS"))
    g0v_sf10 = _mk_r8_gate0v(py, by, ly, ry, mat_yc, "2026-09-28T14:30:00Z", candidate_gene=tg_dual, comparator_nt_lot_id=nt_y, prereq_receipts={"C-2": c2_sf10["receipt_sha256"]}, transient_engagement=_mk_c_eng(c1_cohort_y, "2026-09-28T13:15:00Z", stage_name="GATE-0V-KILL", lot_s_id=ly, win_start="2026-09-25T12:00:00Z", win_end="2026-09-28T13:30:00Z", mode="VALIDATED_LONGITUDINAL_KINETICS"))
    pr_c3_sf10 = {**pr_c1_yc, "NATIVE_SAFETY_SWITCH": sw_sf10["receipt_sha256"], "GATE-0V-KILL": g0v_sf10["receipt_sha256"]}
    c3n_sf10 = _sign_receipt({**c3_nk_y, "parent_receipt_sha256": c2_sf10["receipt_sha256"], "prerequisite_receipt_sha256s": pr_c3_sf10})
    c3g_sf10 = _sign_receipt({**c3_gsis_y, "parent_receipt_sha256": c3n_sf10["receipt_sha256"], "prerequisite_receipt_sha256s": pr_c3_sf10})
    chk(evaluate_gate42_gy032_channel_c_screen({**g42_ok, "native_switch_evidence": sw_sf10, "gate0v_evidence": g0v_sf10, "c1_preregistered_plan_receipt": c1_prereg_sf10, "c1_evidence": c1_sf10, "c2_evidence": c2_sf10, "c3_nk_evidence": c3n_sf10, "c3_gsis_evidence": c3g_sf10})["verdict"] == OFFLINE_VERDICT_PRIMARY, "G42_ADV_sf10_pass")
    chk("FAIL_GATE_C1_NORMOXIA_DUAL_L95_SUPERIORITY_VS_BCL2L11_FAILED" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_normoxia": {**c1_norm_6, "head_to_head_vs_bcl2l11_l95_delta_pp": 9.99}})})["failures"], "G42_ADV_dual_l95_tamper")
    chk("FAIL_FOUNDRY_V2_GATE36_LIVE_GATE32_DEBRIS_RECALL_NOT_PASSED" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "foundry_v2_gate36_evidence": _sign_receipt({**g36_y, "live_gate32_debris_recall_receipt": _sign_receipt({**g32_y, "debris_recall_verdict": "HOLD_DEBRIS_RECALL"})})})["failures"], "G42_ADV_g36_g32_fail")
    chk(f"FAIL_GATE_C2_UNREFERRED_PROLIFERATION_ELEVATION:{ly}" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c2_evidence": _sign_receipt({**c2_y, "c2_per_lot_proliferation_records": [_mk_c2_prolif_lot(1, resting_ki67_fold_vs_ctrl=1.03, ki67_edu_referred=False), c2_prolif_ok[1], c2_prolif_ok[2]]})})["failures"], "G42_ADV_c2_prolif_unref")
    chk(f"FAIL_GATE_C2_PROLIF_LOT_RECORD_HASH_INVALID:{ly}" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c2_evidence": _sign_receipt({**c2_y, "c2_per_lot_proliferation_records": [{**c2_prolif_ok[0], "resting_ki67_fold_vs_ctrl": 0.91}, c2_prolif_ok[1], c2_prolif_ok[2]]})})["failures"], "G42_c2_lot_hash_tamper")
    # Design A diagnostic sensitivity non-advancing (materialized + uncoated R1 + unmodified reference + no G36!)
    mat_ac = _mk_r8_mat(pa, ba, la, "2026-09-10T08:00:00Z")
    df_ac = _sign_receipt({**df_y, "product_id": pa, "bank_id": ba, "lot_id": la, "route_id": ra, "parent_receipt_sha256": mat_ac["receipt_sha256"]})
    s1_ac = {
        k: v for k, v in att_y["stage1_gatekeeper_record"].items()
        if k not in ("edited_chassis_plus_foundry_v2_viability_pct_by_cond", "edited_chassis_plus_foundry_v2_caspase3_7_fold_by_cond")
    }
    s1_ac["edited_il1b_ifng_drop_pp"] = 5.0
    s1_ac["edited_isolated_tnfa_ifng_drop_pp"] = 24.0
    ref_da_norm = att_y["reference_comparator_measurements"]["DESIGN_A_CHASSIS_REFERENCE"]["normoxia"]
    ref_da_hyp = att_y["reference_comparator_measurements"]["DESIGN_A_CHASSIS_REFERENCE"]["hypoxia_15mmhg"]
    # Design A diagnostic uses protected IL-1b comparator vector matching DESIGN_A_CHASSIS_REFERENCE!
    da_ref_fixed = {
        **att_y["reference_comparator_measurements"],
        "DESIGN_A_CHASSIS_REFERENCE": {
            "normoxia": {**ref_da_norm, "cond4_il1b_ifng_beta_t0_pct_by_block": [88.5, 87.0, 89.5]},
            "hypoxia_15mmhg": {**ref_da_hyp, "cond4_il1b_ifng_beta_t0_pct_by_block": [85.5, 84.0, 86.5]},
        },
    }
    att_panel_da_n = {**att_panel_norm, **{ck: da_ref_fixed["DESIGN_A_CHASSIS_REFERENCE"]["normoxia"][ck] for ck in ("cond1_vehicle_beta_t0_pct_by_block", "cond2_ifng_alone_beta_t0_pct_by_block", "cond3_isolated_tnfa_ifng_beta_t0_pct_by_block", "cond4_il1b_ifng_beta_t0_pct_by_block", "cond5_pooled_triple_cytokine_beta_t0_pct_by_block")}}
    att_panel_da_h = {**att_panel_hyp, **{ck: da_ref_fixed["DESIGN_A_CHASSIS_REFERENCE"]["hypoxia_15mmhg"][ck] for ck in ("cond1_vehicle_beta_t0_pct_by_block", "cond2_ifng_alone_beta_t0_pct_by_block", "cond3_isolated_tnfa_ifng_beta_t0_pct_by_block", "cond4_il1b_ifng_beta_t0_pct_by_block", "cond5_pooled_triple_cytokine_beta_t0_pct_by_block")}}
    att_ac = _sign_receipt({
        **att_y, "product_id": pa, "bank_id": ba, "lot_id": la, "route_id": ra,
        "background_class": "UNMODIFIED_DESIGN_A_REFERENCE", "foundry_v2_gate36_receipt_sha256": None,
        "prerequisite_receipt_sha256s": {"BANK_MATERIALIZATION": mat_ac["receipt_sha256"], "DRUG_FREE_EXPOSURE": df_ac["receipt_sha256"]},
        "reference_comparator_measurements": da_ref_fixed,
        "stage1_gatekeeper_record": s1_ac, "stage1_cytokine_drop_pp": 24.0,
        "residual_viable_beta_drop_pp": 28.833333333333332,
        "stage2_normoxia_mechanism_panel": att_panel_da_n,
        "stage2_hypoxia_15mmhg_mechanism_panel": att_panel_da_h,
    })
    c1_prereg_ac = _mk_c1_prereg(pa, ba, la, ra, att_ac)
    pr_c1_ac = {"BANK_MATERIALIZATION": mat_ac["receipt_sha256"], "DRUG_FREE_EXPOSURE": df_ac["receipt_sha256"]}
    c1_ac = _sign_receipt({**c1_y, "product_id": pa, "bank_id": ba, "lot_id": la, "route_id": ra, "parent_receipt_sha256": att_ac["receipt_sha256"], "prerequisite_receipt_sha256s": {**pr_c1_ac, "C-1-PREREGISTRATION": c1_prereg_ac["receipt_sha256"]}, "c1_common_family_acquisition_record": _mk_c1_common_acq(c1_norm_6, c1_hyp_6, c1_prereg_ac, acq_id="C1-COMMON-ACQ-A"), "c1_normoxia": _mk_c1_with_kd_lot(c1_norm_6, la, pa), "c1_hypoxia_2pct_o2": _mk_c1_with_kd_lot(c1_hyp_6, la, pa)})
    c2_ac = _sign_receipt({**c2_y, "product_id": pa, "bank_id": ba, "lot_id": la, "route_id": ra, "specimen_id": f"SPEC-C-2-{la}", "parent_receipt_sha256": c1_ac["receipt_sha256"], "prerequisite_receipt_sha256s": pr_c1_ac, "basal_shield_retention_by_component": _mk_r8_shields(pa, 93.0), "hour0_density_by_lineage": _mk_r8_hour0(pa), "soluble_iapp_matched_ctrl_assay": _mk_c2_sol_iapp(spec_v=f"SPEC-C-2-{la}", lot_v=la, nt_v=nt_y), "resting_survival_protein_panel": _mk_c2_surv_panel(spec_v=f"SPEC-C-2-{la}", lot_v=la, nt_v=nt_y), "c2_per_lot_proliferation_records": [_mk_c2_prolif_lot(1, active_lot=la, prod_v=pa), _mk_c2_prolif_lot(2, prod_v=pa), _mk_c2_prolif_lot(3, prod_v=pa)], "transient_target_engagement_record": _mk_c_eng(c1_cohort_y, "2026-09-25T08:00:00Z", stage_name="C-2", lot_s_id=la, win_start="2026-09-22T08:00:00Z", win_end="2026-09-25T09:00:00Z")})
    sw_ac = _mk_r8_switch(pa, ba, la, ra, mat_ac, "2026-09-28T14:00:00Z", candidate_gene=tg_dual, comparator_nt_lot_id=nt_y, prereq_receipts={"C-2": c2_ac["receipt_sha256"]}, transient_engagement=_mk_c_eng(c1_cohort_y, "2026-09-28T13:00:00Z", stage_name="NATIVE_SAFETY_SWITCH", lot_s_id=la, win_start="2026-09-25T12:00:00Z", win_end="2026-09-28T13:15:00Z", mode="VALIDATED_LONGITUDINAL_KINETICS"))
    g0v_ac = _mk_r8_gate0v(pa, ba, la, ra, mat_ac, "2026-09-28T14:30:00Z", candidate_gene=tg_dual, comparator_nt_lot_id=nt_y, prereq_receipts={"C-2": c2_ac["receipt_sha256"]}, transient_engagement=_mk_c_eng(c1_cohort_y, "2026-09-28T13:15:00Z", stage_name="GATE-0V-KILL", lot_s_id=la, win_start="2026-09-25T12:00:00Z", win_end="2026-09-28T13:30:00Z", mode="VALIDATED_LONGITUDINAL_KINETICS"))
    pr_c3_ac = {**pr_c1_ac, "NATIVE_SAFETY_SWITCH": sw_ac["receipt_sha256"], "GATE-0V-KILL": g0v_ac["receipt_sha256"]}
    c3n_ac = _sign_receipt({**c3_nk_y, "product_id": pa, "bank_id": ba, "lot_id": la, "route_id": ra, "specimen_id": f"SPEC-C-3-NK-{la}", "parent_receipt_sha256": c2_ac["receipt_sha256"], "prerequisite_receipt_sha256s": pr_c3_ac, "transient_target_engagement_record": _mk_c_eng(c1_cohort_y, "2026-09-30T09:00:00Z", stage_name="C-3-NK", lot_s_id=la, win_start="2026-09-28T15:00:00Z", win_end="2026-09-30T11:00:00Z"), "readout3b_evidence": _mk_r8_readout3b(include_sirpa_low=True, specimen_id=f"SPEC-C-3-NK-{la}", specimen_lot_id=la, intervention_cohort_id=c1_cohort_y)})
    c3g_ac = _sign_receipt({**c3_gsis_y, "product_id": pa, "bank_id": ba, "lot_id": la, "route_id": ra, "specimen_id": f"SPEC-C-3-GSIS-{la}", "parent_receipt_sha256": c3n_ac["receipt_sha256"], "prerequisite_receipt_sha256s": pr_c3_ac, "transient_target_engagement_record": _mk_c_eng(c1_cohort_y, "2026-10-01T16:00:00Z", stage_name="C-3-GSIS", lot_s_id=la, win_start="2026-09-30T13:00:00Z", win_end="2026-10-01T18:00:00Z"), "readout2_evidence": _mk_r8_readout2(matched_comparator_id=nt_y, block_prefix="C3GA", lot_id=la, stage7_start_utc="2026-09-12T00:00:00Z", sort_reaggregation_utc="2026-09-22T00:00:00Z", assay_harvest_utc="2026-10-01T00:00:00Z", specimen_id=f"SPEC-C-3-GSIS-{la}", intervention_cohort_id=c1_cohort_y, candidate_gene=tg_dual)})
    g42_a = {"target_arm": "A", "product_id": pa, "bank_id": ba, "lot_id": la, "route_id": ra, "drug_free_exposure_evidence": df_ac, "materialization_evidence": mat_ac, "native_switch_evidence": sw_ac, "gate0v_evidence": g0v_ac, "zero_fasta_minted": True, "iip0049_foundry_attribution_evidence": att_ac, "target_gene": tg_dual, "c1_preregistered_plan_receipt": c1_prereg_ac, "c1_evidence": c1_ac, "c2_evidence": c2_ac, "c3_nk_evidence": c3n_ac, "c3_gsis_evidence": c3g_ac}
    chk(evaluate_gate42_gy032_channel_c_screen(g42_a)["verdict"] == "DIAGNOSTIC_SENSITIVITY_ONLY_DESIGN_A_NON_ADVANCING", "G42_A_diag_pass")
    chk("FAIL_DESIGN_A_FORBIDS_FOUNDRY_V2_GATE36_RECEIPT" in evaluate_gate42_gy032_channel_c_screen({**g42_a, "foundry_v2_gate36_evidence": g36_y})["failures"], "G42_A_no_g36")
    chk("FAIL_EXCLUDED_CANDIDATE_BLOCKED:MAP3K7" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "target_gene": "MAP3K7"})["failures"], "G42_map3k7")
    chk("FAIL_EXCLUDED_CANDIDATE_BLOCKED:BACH2" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "target_gene": "BACH2"})["failures"], "G42_bach2")
    chk("FAIL_ZERO_FASTA_MINTED_BOUNDARY_VIOLATED" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "zero_fasta_minted": False})["failures"], "G42_zero_fasta")
    chk("FAIL_GATE42_REQUIRES_100PCT_DRUG_FREE_UNCOATED_EXPOSURE" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "drug_free_exposure_evidence": _sign_receipt({**df_y, "route_coated": True})})["failures"], "G42_drug_free")
    chk("FAIL_NO_RESIDUAL_APOPTOSIS_ON_MATCHED_BACKGROUND" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "iip0049_foundry_attribution_evidence": _sign_receipt({**att_y, "stage2_il1_independent_apoptosis_persists": False})})["failures"], "G42_no_res")
    chk("FAIL_INTERVENTION_CANDIDATE_MISMATCH:NATIVE_SAFETY_SWITCH" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "native_switch_evidence": _mk_r8_switch(py, by, ly, ry, mat_yc, "2026-09-26T09:00:00Z", candidate_gene="BCL2L11", comparator_nt_lot_id=nt_y)})["failures"], "G42_sw_gene_mm")
    chk("FAIL_COMPARATOR_NT_LOT_MISMATCH:GATE-0V-KILL" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "gate0v_evidence": _mk_r8_gate0v(py, by, ly, ry, mat_yc, "2026-09-26T09:30:00Z", candidate_gene=tg_dual, comparator_nt_lot_id="OTHER-NT")})["failures"], "G42_g0v_nt_mm")
    chk("FAIL_GATE_C1_EXACT_SIGN_FLIP_REQUIRES_AT_LEAST_10_BLOCKS_FOR_HOLM5" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "statistical_test_method": "EXACT_TWO_SIDED_SIGN_FLIP"})})["failures"], "G42_sf_lt10")
    chk("FAIL_GATE_C1_UNDERPOWERED_BLOCKS_LT_3" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "biological_blocks_n": 2})})["failures"], "G42_blk_lt3")
    chk("FAIL_GATE_C1_MISSING_HOLM_BONFERRONI_5_ARM_MULTIPLICITY" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "multiplicity_method": "UNADJUSTED"})})["failures"], "G42_mult")
    chk("FAIL_GATE_C1_DUPLICATE_ASSAY_RECORD_ID_ACROSS_OXYGEN_REGIMES" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_hypoxia_2pct_o2": {**c1_hyp_6, "assay_record_id": "C1-NORM-Y-01"}})})["failures"], "G42_dup_aid")
    chk("FAIL_GATE_C1_NORMOXIA_PMLKL_GY016_ORTHOGONAL_DIVERSION_REQUIRED" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_normoxia": {**c1_norm_6, "pmlkl_flag_triggered": True, "gy016_nec1s_gsk872_orthogonal_rescue_cleared": False}})})["failures"], "G42_pmlkl")
    chk("FAIL_GATE_C1_NORMOXIA_NONBETA_LINEAGE_DAMAGE" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_normoxia": {**c1_norm_6, "nonbeta_lineage_min_surv_pct_ctrl": 80.0}})})["failures"], "G42_nonbeta")
    chk("FAIL_GATE_C1_NORMOXIA_STRESSED_CONTROL_ASSAY_VALIDITY_FLOOR" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_normoxia": {**c1_norm_6, "stressed_ctrl_nonbeta_t0_survival_pct": 35.0}})})["failures"], "G42_ctrl_floor")
    chk("FAIL_GATE_C1_NORMOXIA_MISSING_T0_DENOMINATOR_RULE" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_normoxia": {**c1_norm_6, "t0_original_plated_denominators_used": False}})})["failures"], "G42_t0_denom")
    chk("FAIL_GATE_C2_BASAL_SHIELD_BELOW_85PCT" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c2_evidence": _sign_receipt({**c2_y, "basal_shield_retention_pct": 75.0})})["failures"], "G42_c2_sh")
    chk("FAIL_GATE_C2_GRANULE_PROCESSING_DEGRADED" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c2_evidence": _sign_receipt({**c2_y, "granule_processing_preserved": False})})["failures"], "G42_c2_gran")
    chk("FAIL_GATE_C2_IAPP_AMYLOID_RATIO_EXCEEDS_1P15" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c2_evidence": _sign_receipt({**c2_y, "iapp_amyloid_ratio_vs_ctrl": 1.3})})["failures"], "G42_c2_iapp")
    chk("FAIL_GATE_C2_SOLUBLE_IAPP_MEASUREMENT_MISSING" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c2_evidence": _sign_receipt({**c2_y, "soluble_iapp_pg_per_ieq": None})})["failures"], "G42_c2_sol_iapp")
    chk("FAIL_GATE_C1_NORMOXIA_DUAL_TARGET_COMPONENT_KD_FAILED" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_normoxia": {**c1_norm_6, "pmaip1_kd_pct": 55.0}})})["failures"], "G42_dual_kd")
    chk("FAIL_GATE_C1_NORMOXIA_KD_BELOW_70PCT" in evaluate_gate42_gy032_channel_c_screen({**g42_ok, "c1_evidence": _sign_receipt({**c1_y, "c1_normoxia": {**c1_norm_6, "target_kd_pct": 60.0}})})["failures"], "G42_kd_lt70")