{
  "schema_version": "iip0060_cuff_stratum_coverage_side_contract_v0.9.0",
  "gate_id": "GATE-39",
  "gate_code": "GATE-39-CUFF-STRATUM-COVERAGE",
  "contribution_id": "IIP-0060",
  "decision_id": "DEC-141",
  "status": "COMPUTATIONAL_CALIBRATION_AND_STAGE0_COMPANION_GATE",
  "live_odds_delta_pp": 0.0,
  "zero_lims_touch_invariants": {
    "preserved_zero_byte_files": [
      "scripts/wetlab_contract.py",
      "scripts/ingest_wetlab_results.py",
      "data/protocols/wetlab_endpoint_contract_v0.8.0.json",
      "data/protocols/wetlab_endpoint_contract_v0.9.0.json",
      "data/graveyard/idea_graveyard_v0.5.json"
    ],
    "preserved_graveyard_rule_count": 36
  },
  "verified_vs_disproved_audit_record": {
    "verified_defect_1_stratum_coverage_and_ingestor_deadlock": "In scripts/wetlab_contract.py (L547-552, L5288-5325), cuff_serum_challenge_stratum is a single scalar per batch and CLEARED_CUFF_HUMORAL_HYDROLYSIS_AND_HEPATOCYTE_SAFETY_GATE is reached on NORMAL_DONOR_SERA alone with zero checks on HIGH_ANTI_PEG_IGG_GT_500NG_ML (~7% adult prevalence, Yang 2016 PMID:27804292; expected 0.84 donors in an unstratified n=12 draw), ANTI_SA_POSITIVE_HUMAN_SERA, or DAY28_SA_FASL_PRIMED_SERA; meanwhile scripts/ingest_wetlab_results.py (L2768-2789) raises ValueError ledger-wide when len(seen_cuff_strata) > 1 with no lot filter, preventing all four strata from coexisting in one accumulating ledger.",
    "verified_defect_2_omission_bypass_on_cuff_bearing_products": "In scripts/wetlab_contract.py (L5229-5237), _iip0020_cuff_active is NOT product-bound (unlike Gate P05 catalase species at L5224). If a submitter omits all cuff endpoints AND omits require_full_iip0020_biomaterial_and_humoral_panel, L7743 short-circuits and a cuff-bearing lot can reach READY_FOR_ENCAPSULATION_COMPLETE_STAGE0_EVIDENCE with zero cuff tests run.",
    "disproved_claim_a_submitted_cuff_failure_without_boolean": "FACTUALLY FALSE in scripts/wetlab_contract.py: whenever any cuff endpoint is supplied and fails, iip0020_hold_status sets resolved_arch['lot_maturation_status'] (L7187-7188), which unconditionally forces lot_release_readiness_tier = 'HOLD_FAILED_OR_INCOMPLETE_GATE' at L7779-7780 even when require_full_iip0020_biomaterial_and_humoral_panel is omitted.",
    "disproved_claim_b_summary_not_returned": "FACTUALLY FALSE in scripts/wetlab_contract.py: lines 6907-6912 explicitly attach biomaterial_antigen_humoral_and_human_cuff_evaluation (iip0020_eval_summary) and cuff_humoral_and_hepatocyte_gate_status (and L6900 attaches iip0019_eval_summary) into resolved_architecture_assignments, returned by evaluate_stage0_decision_tree and asserted at tests/test_round3_supporting_boundaries.py:5187."
  },
  "allowed_cuff_serum_challenge_strata": [
    "NORMAL_DONOR_SERA",
    "HIGH_ANTI_PEG_IGG_GT_500NG_ML",
    "ANTI_SA_POSITIVE_HUMAN_SERA",
    "DAY28_SA_FASL_PRIMED_SERA"
  ],
  "stratum_requirements": {
    "baseline_prevalence_strata_min_donors": 12,
    "baseline_prevalence_strata_max_failing_donors": 0,
    "u95_at_n12_k0_eta1": 0.22092222,
    "u95_at_n6_k0_eta1": 0.39303776,
    "yang2016_high_anti_peg_prevalence": 0.07,
    "expected_high_anti_peg_in_unstratified_n12": 0.84,
    "high_anti_peg_upper_tail_policy": {
      "threshold_ng_ml": 500.0,
      "upper_tail_ng_ml": 1000.0,
      "min_upper_tail_donors": 3,
      "rationale": "Prevents clustered-threshold passes (e.g. 12 donors all at 505-530 ng/mL) by requiring summary titre reporting (median, IQR, p90, max) and >= 3 donors >= 1,000 ng/mL (or documented cohort-ceiling waiver)."
    },
    "day28_primed_sera_policy": {
      "classification": "POST_EXPOSURE_PRIMED_SERUM_CONDITION",
      "min_independent_primed_donors": 6,
      "recommended_donors_where_available": 12,
      "max_failing_donors": 0,
      "requires_paired_pre_vs_day28_anti_sa_fold_documentation": true,
      "rationale": "Answers IIP-0060 Ask 5: DAY28_SA_FASL_PRIMED_SERA is a post-exposure primed-serum condition rather than a general-population baseline prevalence stratum. Remains mandatory on all streptavidin-bearing cuffs with n >= 6 independent primed biological sera (n >= 12 where available), 0 failing donors, explicit Clopper-Pearson U95 disclosure, and documented paired pre/Day-28 anti-SA IgG induction."
    }
  },
  "cuff_arm_and_product_binding_rules": {
    "reconciliation_architecture": "CROSS_STRATUM_LOT_RECONCILIATION_MANIFEST",
    "reconciliation_note": "Preserves scripts/ingest_wetlab_results.py's per-lineage non-pooling ValueError intact; Gate 39 reconciles independently ingested single-stratum batch receipts bound to identical lot_id and assembled_device_lot_scope (LOT_SCOPE / ASSEMBLED_DEVICE_LOT_SCOPE) without ever pooling donor statistics across strata.",
    "streptavidin_bearing_cuff_arms": [
      "SA_FASL_SA_THBD_PEG_MICROGEL_CUFF",
      "SA_THBD_PLUS_SA_FHL1_PEG_MICROGEL_CUFF"
    ],
    "streptavidin_free_cuff_arms": [
      "DPR_HYDROLYZED_CFH_THBD_H1A_ADIPOQ_HEXAFASL",
      "CUFF_V2_ACELLULAR_SCR1_THBD_CD200",
      "ZWITTERIONIC_ALGINATE_PEG_FREE_CUFF"
    ],
    "design_a_cuff_v2_prohibited": true,
    "design_a_product_ids": [
      "ISLET1_DESIGN_A_V080_REF",
      "ISLET1_DESIGN_A_V090_TBP_CANDIDATE"
    ],
    "non_cuff_lot_disposition": "NOT_APPLICABLE_NON_CUFF_LOT",
    "omission_bypass_disposition": "HOLD_CUFF_OMISSION_BYPASS_BLOCKED"
  }
}
