scripts/rank_islet1_stacks.py
Use this file in any AI chat (paste-only or attachment-capable):
Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/scripts/rank_islet1_stacks.py · SHA-256: c05d5fe606219e88…
"isogenic_leader_swap_c1_c2_kir_deconfounding_control_kimi31_r3": (
"Because comparing native HLA-C*03:04 (SP-1C VMAPRTLIL, C1 Asn80) against native HLA-C*07:02 (SP-3C VMAPRALLL, C1 Asn80) "
"or HLA-C*04:01 (SP-1C VMAPRTLIL, C2 Lys80) is an allele+leader composite contrast across heavy-chain backbones and C1/C2 KIR2DL2/3 vs KIR2DL1 "
"licensing groups, the satellite includes a sequence-identical heavy-chain leader-swap control on the common HLA-C*03:04 (C1) backbone "
"(SP-1C[VMAPRTLIL]-HLA-C*03:04 vs chimeric SP-3C[VMAPRALLL]-HLA-C*03:04, alongside native HLA-C*07:02 [C1] and HLA-C*04:01 [C2] reference controls) "
"assayed across FACS-sorted NKG2A+KIR-, NKG2A-KIR2DL2/3+ (C1-licensed), NKG2A-KIR2DL1+ (C2-licensed), and HCMV+ NKG2C+ primary NK subsets "
"plus Hour-0 and 48h IFN-g HLA-E 3D12 QuantiBRITE density (AUDIT-REF)."
),
"co_primary_readouts_and_kill_gates": [
"QuantiBRITE absolute surface HLA-E density (must clear >= 15,000 molecules/cell in SP-1C without SCT; if SP-1C without SCT falls < 15,000 molecules/cell, uncloaked Plan B is terminated)",
"Primary human NK lysis across KIR-ligand-typed donors separated into NKG2A+KIR-, C1-licensed KIR2DL2/3+NKG2A-, C2-licensed KIR2DL1+NKG2A-, and HCMV+ NKG2C+ subsets (SP-3C without SCT is expected to exhibit reduced natural signal-peptide surface HLA-E processing [Lin et al. 2023 PMID:37264229 Fig. 1c, even though exogenous peptide pulsing can stabilize surface HLA-E in Fig. 1a] and/or P6-Ala-impaired CD94/NKG2A engagement [Fig. 1-2], losing NKG2A+KIR- protection relative to SP-1C; if SP-3C without SCT matches SP-1C on both QuantiBRITE density and NKG2A+KIR- protection, the leader-class premise is falsified; AUDIT-REF, AUDIT-REF & AUDIT-REF)",
],
},
"graveyard_005_and_010_counterfactual_sensitivity_sonnet55_r2": {
"computation_mode": "LIVE_EVALUATOR_DERIVED_KIMI31_R3",
"canonical_chassis_b_index": round(b_comp_unrounded, 4),
"canonical_chassis_b_composite_index": round(b_comp_unrounded, 4),
"canonical_chassis_b_pediatric_index": round(b_ped_unrounded, 4),
"counterfactual_with_graveyard_010_indirect_apc_minus_0p25_gate2b_logit": round(b_ped_gy10, 4),
"counterfactual_composite_with_graveyard_010_minus_0p25_gate2b_logit": round(b_comp_gy10, 4),
"counterfactual_pediatric_with_graveyard_010_minus_0p25_gate2b_logit": round(b_ped_gy10, 4),
"counterfactual_with_both_gy010_minus_0p25_and_uncloaked_sp3c_gy005_minus_0p20_gate3_logit": round(b_ped_gy10_m020, 4),
"legacy_linear_approx_counterfactual_with_both_gy010_and_gy005_reference": 0.0574,
"counterfactual_linear_approx_with_both_gy010_and_gy005": 0.0574,
"exact_composite_with_minus_0p15_gate3_logit": round(b_comp_gy10_m015, 4),
"exact_pediatric_with_minus_0p15_gate3_logit": round(b_ped_gy10_m015, 4),
"exact_composite_trajectory_50_50_ped_lada": [
round(b_comp_unrounded, 4),
round(b_comp_gy10, 4),
round(b_comp_gy10_m015, 4),
],
"exact_pediatric_trajectory": [
round(b_ped_unrounded, 4),
round(b_ped_gy10, 4),
round(b_ped_gy10_m015, 4),
],
"exact_composite_with_minus_0p20_gate3_logit": round(b_comp_gy10_m020, 4),
"exact_pediatric_with_minus_0p20_gate3_logit": round(b_ped_gy10_m020, 4),
"design_b_prime_k5_b1_counterfactual_projection_sonnet55_r3": {
"status": "HYPOTHETICAL_STAGE0_CHALLENGER_COUNTERFACTUAL_PROJECTION",
"k_cuts": 5,
"b_base_edits": 1,
"engineering_complexity_discount_k5_b1": round(engineering_complexity_discount(5, 1), 6),
"engineering_complexity_discount_k6_b1_reference": round(engineering_complexity_discount(6, 1), 6),
"complexity_discount_ratio_k5_over_k6": round(engineering_complexity_discount(5, 1) / engineering_complexity_discount(6, 1), 6),
"projected_composite_utility_at_k5_b1": round(b_comp_unrounded * (engineering_complexity_discount(5, 1) / engineering_complexity_discount(6, 1)), 4),
"projected_pediatric_utility_at_k5_b1": round(b_ped_unrounded * (engineering_complexity_discount(5, 1) / engineering_complexity_discount(6, 1)), 4),
"projected_composite_with_gy010_at_k5_b1": round(b_comp_gy10 * (engineering_complexity_discount(5, 1) / engineering_complexity_discount(6, 1)), 4),
"projected_pediatric_with_gy010_at_k5_b1": round(b_ped_gy10 * (engineering_complexity_discount(5, 1) / engineering_complexity_discount(6, 1)), 4),
"projected_composite_auto_none_tyk2_ko_gate1_retained_at_k5_b1": 0.0569,
"projected_pediatric_auto_none_tyk2_ko_gate1_retained_at_k5_b1": 0.0556,
"projected_composite_auto_none_tyk2_p1104a_wt_gate1_yield_at_k5_b1": 0.0629,
"projected_pediatric_auto_none_tyk2_p1104a_wt_gate1_yield_at_k5_b1": 0.0615,
"note": (
"Separates the grid-evaluated K=6, B=1 Chassis B (ISLET1_B1_6LOCUS_TYK2_KO_INS, complexity discount exp(-0.15*2)*0.965 = 0.714890 [0.7148895830 exact], composite = 0.0673, pediatric = 0.0664) "
"from the K=5, B=1 Design B-prime edit-budget sensitivity counterfactual (ISLET1_B2_5LOCUS_TYK2_PE [5 DSB loci: cis-linked HLA-A/HLA-B + CIITA + CXCL10 + AAVS1 + 1 TYK2 P1104A prime edit; omitting B1's INS leader/DRiP base edit to isolate a single B=1 edit, whereas retaining both TYK2 P1104A PE and INS base edit would be K=5, B=2 with discount 0.801514] or chr6-free CIITA::B2M-G4S4-HLA-C knock-in [K=4] + 5th DSB locus + TYK2 P1104A PE, "
"complexity discount exp(-0.15*1)*0.965 = 0.830583 [0.8305831973 exact]: holding all 6 gate logits fixed yields a pure 1.161834x complexity-discount sensitivity of 0.0782 composite / 0.0771 pediatric; dropping the +0.25 Gate-2B INS-edit credit [equivalent to symmetric GRAVEYARD_010 -0.25 Gate-2B logit shift] yields 0.0724 composite / 0.0711 pediatric; and re-evaluating the full AUTO_NONE Gate-2B branch [-0.65 pediatric / -0.50 LADA Gate-2B logit shift relative to AUTO_DUAL_INS_LEADER_AND_DRIP_EDIT] yields 0.0569 composite / 0.0556 pediatric if the -0.32 TYK2-KO Gate-1 penalty is retained or 0.0629 composite / 0.0615 pediatric if hypomorphic TYK2 P1104A preserves WT Gate-1 differentiation yield; AUDIT-REF, AUDIT-REF, L1B-F2 & L1B-COD-01 [DEC-077/DEC-078])."
),
},
"note": (
"Documents symmetric Graveyard counterfactuals for Slot B (AUDIT-REF, AUDIT-REF, AUDIT-REF, AUDIT-REF & AUDIT-REF): while GRAVEYARD_010's warning rule triggers on 2 B2M-null modules (ALLO_B2M_HLAE_CD47_SWAP_CIITA_KO, ALLO_B2M_CIITA_KO_CD47_LENTI) and the -0.25 Gate-2B logit discount applies across all 3 B2M-null modules (adding ALLO_B2M_KO_PDL1_A20_KI) in the Gate-2B evaluator branch, host APCs still present shed donor peptides via indirect MHC-II "
f"even when HLA-C is retained in CIITA-/- Chassis B; applying GRAVEYARD_010's -0.25 Gate-2B logit discount symmetrically lowers Chassis B from {b_comp_unrounded:.4f} composite ({b_comp_unrounded:.6f} unrounded) / {b_ped_unrounded:.4f} pediatric ({b_ped_unrounded:.6f} unrounded) to {b_comp_gy10:.4f} composite ({b_comp_gy10:.6f} unrounded) / {b_ped_gy10:.4f} pediatric ({b_ped_gy10:.6f} unrounded, -7.8%), "
f"and additionally applying an uncloaked SP-3C Gate-3 leader-deficit discount lowers it to {b_comp_gy10_m015:.4f} composite ({b_comp_gy10_m015:.6f} unrounded) / {b_ped_gy10_m015:.4f} pediatric ({b_ped_gy10_m015:.6f} unrounded) at -0.15 logit ({b_comp_gy10_m020:.4f} composite [{b_comp_gy10_m020:.6f} unrounded] / {b_ped_gy10_m020:.4f} pediatric [{b_ped_gy10_m020:.6f} unrounded] at -0.20 logit; 0.0574 linear approximation), leaving rank order A >> B unchanged."
),
},
},
"X_Locked_Number1_Evolutionary_Contender": {
"slot": "X",
"role": "Locked #1 Evolutionary Contender built to dethrone Champion A head-to-head in Stage 0 (never overwritten by unvetted speculative ideas)",
"architecture_summary": (
"K=4, B=0 (RNLS-WT / TXNIP-WT preserving full +3.39 mmHg O2 headroom): tests DX-S Split-Cassette "
"(Arm 1C promoter-trapped B2M::HLA-E SCT [3,459 bp donor / 3,749 bp packaged] + relocated AAVS1::cHS4-A2UCOE-EEF1A1-iCasp9-GSG-P2A-CD47-IgV-GPI [4,048 bp donor / 4,338 bp packaged, with CD47-IgV-GPI strictly downstream of P2A so CD55 GPI signal remains C-terminal; Q3-P1 & AUDIT-REF]) "
"and Arm 1A-lite (3,891 bp donor / 4,181 bp packaged; Q1-P1) against Arm 1X (4,056 bp promoter-only core / 4,225 bp fully loaded donor with 154-bp non-palindromic SPA+spacer+MAZ4 sense terminator [Q1-P8], "
"4-nt S3 AsCas12a PAM+seed shield [Q1-P5], and 20-aa L1=(G4S)4 linker [Q1-P4]), paired with Scar-Free Dual-Promoter Locus 3 (3,717 bp unspaced / 3,799 bp donor with 82-bp inter-unit pause spacer / 4,089 bp packaged) "
"and DX-b 100 um thinned PDMS-CaO2 lamina (eps = 0.42) with <=100 um (R <= 50 um) micro-islet cluster diameter cap (Q3-P3, Q4-P4)"
),
"b2m_null_orphan_hc_erad_status_muse_r3": "B2M_NULL_ORPHAN_HC_ERAD_UNQUALIFIED",
"dxs_single_locus_shield_plus_switch_correlation_pricing_muse_r3": {
"product_variant_id": "ISLET1_A4_DXS_ARM1C_L4CD47",
"mechanism": (
"In DX-S, relocating CD47-IgV-GPI into AAVS1 (Locus 4: cHS4-A2UCOE-EEF1A1 -> iCasp9-GSG-P2A-CD47-IgV-GPI) couples "
"macrophage stealth (CD47) and the suicide switch (iCasp9) onto the same single-promoter bicistronic transcript at Chr19q13.42. "
"Whereas total 19q13.42 LOH or complete epigenetic silencing of AAVS1 is self-policing under intact host macrophage surveillance "
"(CD47-null cells lose SIRPa inhibition and are cleared by macrophages), partial silencing or 5'-selective iCasp9 frameshift/point mutation "
"can impair AP1903 killing while retaining sufficient CD47 to survive, or focal AAVS1 silencing during transient macrophage depletion can cause correlated loss of both."
),
"lambda_couple_prior_range": [0.0, 0.05],
"lambda_couple_central_prior": 0.025,
"correlation_multiplier_1_minus_lambda_couple": 0.9750,
"unpenalized_dxs_composite_projection": x_comp_disp,
"correlation_priced_dxs_composite_projection_at_lambda_0p025": round(x_comp_unrounded * (1.0 - 0.025), 4),
"stage0_joint_retention_assay_gate": (
"60-day differentiation + 14-day cytokine/5-aza-dC challenge dual-color flow & AP1903 kill assay requiring "
"joint (CD47-low AND iCasp9-low) double-loss fraction <= 10^-6 and post-AP1903 surviving CD47-high fraction <= 10^-8 (Rule S7; AUDIT-REF)."
),
},
"composite_4way_research_lead_specification_muse_r4": {
"composite_lead_id": "ISLET1_COMP_R4_X_BFB_DXB_LOWLOAD1500",
"status": "PRE_REGISTERED_STAGE0_COMPOSITE_RESEARCH_LEAD_PENDING_5_GATE_COUPON_QUALIFICATION",
"locus_1_b2m": (
"Arm 1X (unmaterialized W_P=+1 2^3 factorial challenger: hybrid constitutive-floor Syn_3xISRE_CpGminP_230bp_sense [4,056 bp promoter-only core / 4,225 bp fully loaded donor, with optional constitutive EEF1A1_core_230(5'TOP-CAGAGA) sense comparator] -> HLA-E(WT D227/T228 conditional default vs D227K/T228A) + antisense CD47(C15G)-IgV-GPI "
"+ 154-bp SPA+spacer+MAZ4 sense terminator + 4-nt S3 PAM+seed shield + 20-aa (G4S)4 L1 linker; represented in the product registry by the materialized 4,143-bp Embodiment A* baseline under RNLS+/+ lock [ISLET1_A4_X_MOL_RNLS_WT, carrying sense Syn_5xISRE_minP_148bp = W_P=-1] and evaluated head-to-head against defended champion Embodiment A* "
"4,143 bp [ISLET1_A4_ARM1B / ISLET1_A_STAR_4LOCUS] across sorted pure CD56dim NKG2A- NKG2C+ adaptive NK subsets [partitioned into KIR2DL1/2/3+ vs KIR2DL1/2/3-; <= 8% 4-h lysis, CD107a <= 10%] "
"and HLA-E-restricted CMV UL40 CD8+ CTLs comparing WT HLA-E vs CD8-null HLA-E(D227K/T228A); noting per Kaiser et al. 2008 PNAS PMID:18448674 Table 1 that soluble non-covalent HLA-E*01:03/VMAPRTLFL "
"binds CD94/NKG2A with K_D = 0.80 uM and CD94/NKG2C with K_D = 5.20 uM [K_C / K_A = 6.50x; Vales-Gomez et al. 1999 PMID:10428963 Table I reports 2.33 uM vs 10.77 uM = 4.62x; vs Lin et al. 2023 PMID:37264229 VMAPRTLVL 2.10 uM vs 6.52 uM = 3.10x] and is therefore an NKG2A-high-affinity comparator that remains an absolute NKG2C agonist at elevated surface density; AUDIT-REF, AUDIT-REF, R9-S2-L2-03 & L1B-NUM-01 [DEC-044/DEC-045/DEC-073/DEC-074/DEC-078])"
),
"locus_2_ciita": "Biallelic CIITA Exon-1/Exon-5 KO (OI-GRNA-02 AsCas12a Ultra in Pass 1 alongside B2M to prevent inter-chromosomal translocations with Pass-2 HiFi-SpCas9; GRAVEYARD_006) in Plan A/X; or CIITA Exon-5::HLA-C*03:04(C1, Asn80, Y84A, GAVDPLLAL) / HLA-C*04:01(C2, Lys80, Y84A, QYDDAVYKL) 3,465-bp SCT knock-in in Plan B'-SCT (ISLET1_B_SCT_C1_CIITA / ISLET1_B_SCT_C2_CIITA; never the GRAVEYARD_005 non-functional SP-3C VMAPRALLL HLA-C*07:02 trap allele; with mandatory 4-digit HLA-C typing, anti-HLA-C DSA, KIR2DS1 counter-screen, and recipient CD8+ MLC gates; AUDIT-REF)",
"locus_3_cxcl10": "L3-BF-B 4,078-bp Scar-Free Hybrid Basal-Floor + Inducible Dual-Promoter (ISLET1_A4_L3_BFB_BASALFLOOR: 230-bp Syn_3xISRE_2xNFkB_hPGK1_Sp1_basalfloor driving scar-free 376-aa SERPINB9 [0.30 uM Hour-0 basal floor, 0.89 uM 24-h IFN-gamma surge; 6-pulse autonomous intracellular buffer under f_ISR = 0.45 paired with upstream synaptic degranulation suppression p_degran <= 0.15 for 12-pulse survival; AUDIT-REF] + 82-bp pause spacer + 148-bp Syn_5xISRE_minP driving native-Met1 290-aa PD-L1)",
"locus_4_aavs1": "Canonical independent AAVS1::cHS4-A2UCOE-EEF1A1-iCasp9 (3,457 bp donor, preserving locus independence from Chr15 CD47 unless DX-S clears the N_eff >= 299,573,228 effective-clonogenic-cell Rule S7 gate, and paired with primary mechanical containment + en-bloc surgical omental pouch retrievability under Gate 0S-Retrieval; AUDIT-REF, AUDIT-REF & AUDIT-REF)",
"scaffold_and_dosing": "DX-B-LowLoad-1500: 100 um thinned central PDMS-CaO2 lamina (eps = 0.42, 46.39 wt% CaO2, >= 32,494 IU localized catalase), D_O2,gel >= 1.50e-5 cm^2/s, <= 100 um (R <= 50 um; <= 80 um / R <= 40 um chronic fibrotic-capsule resilience target for capsule_dz up to 100 um; AUDIT-REF) micro-islet cluster cap, and 1,500 IEQ/cm^2 chronic areal loading across two 166.67 cm^2 portal-draining omental pouches (333.33 cm^2 total for 500,000 IEQ)",
"stage0_combined_stress_coupon_gate": "STAGE0_COMBINED_STRESS_KILL_CHAIN_COUPON_MUSE_R4",
"indirect_apc_hip_cd4_gate_0d_sol61_r5": {
"finding_id": "AUDIT-REF",
"decision_id": "DEC-044 / DEC-045 / DEC-046 / DEC-078 / DEC-091",
"primary_citations": ["PMID:26912858", "PMID:29867165", "PMID:35559682", "PMID:27872147", "PMID:39554513", "PMID:2124002", "PMID:1986378", "PMID:1512546", "PMID:8120026"],
"mechanism": (
"While B2M-/- and CIITA-/- eliminate direct MHC-I and MHC-II presentation on graft cells, every metabolically active beta-cell graft continuously sheds "
"insulin secretory granules, exosomes (Cianciaruso et al. 2017 Diabetes PMID:27872147), and apoptotic bodies containing Hybrid Insulin Peptides (HIPs: insulin C-peptide fragments covalently cross-linked to ChgA WE14 or IAPP2; "
"Delong et al. 2016 Science PMID:26912858; HLA-DQ8 presentation characterized by Bhattacharjee et al. 2024 PNAS Nexus PMID:39554513), and transgenic SCT linker-junction neo-peptides (plus potential exogenous serum beta2-microglobulin re-association with orphan endogenous HLA-A/B/C heavy chains in B2M-/- cells, as established for beta2m-free MHC-I heavy chains by Vitiello et al. 1990 Science PMID:2124002, Rock et al. 1991 PNAS PMID:1986378, Bix & Raulet 1992 J Exp Med PMID:1512546, and Demaria et al. 1994 J Biol Chem PMID:8120026) that are endocytosed by recipient HLA-DQ2 (DQA1*05:01/DQB1*02:01), HLA-DQ8 (DQA1*03:01/DQB1*03:02), and HLA-DR4+ dendritic cells and macrophages "
"for indirect CD4+ T-cell activation, triggering localized TNF-alpha/IFN-gamma/IL-1beta/NO/ROS bystander toxicity that bypasses MHC-null immune cloaks."
),