ISLET-1-BLUEPRINT.md
Use this file in any AI chat (paste-only or attachment-capable):
Pinned raw file: https://openislet.org/files/gen-eb955f8266035aba/ISLET-1-BLUEPRINT.md · SHA-256: 1b17ef2a06044e85…
### 3.1 Multi-Gate Mathematical Formulation & Variance Decomposition
`scripts/rank_islet1_stacks.py` (`v0.7.0`) evaluates all $5 \times 3 \times 4 \times 4 \times 3 \times 3 = 2{,}160$ candidate architectures (`ALLO[5] × AUTO[3] × CYTO[4] × ER[4] × NICHE[3] × SAF[3]`) via a bounded, sign-sensitive, endpoint-oriented, non-broadcasting, and locus/base-edit-penalized **Prior-Anchored Multi-Gate Scenario Index**:
$$\text{Index}(S) = \exp\!\big({-\lambda_K \max(0, K - 4)}\big)\cdot \gamma_B^B \times \prod_{g \in \{1, 2\text{A}, 2\text{B}, 3, 4, 5\}} G_g(S) \in [0, 1]$$
with $\lambda_K = 0.15$ (chromosomal DSB penalty above $K=4$, sensitivity range `[0.08, 0.25]`) and $\gamma_B = 0.965$ (per-base-edit nickase penalty, sensitivity range `[0.920, 0.985]`). All 48 gate-logit source terms (`46` net offsets), all 6 structural gate priors (`base_gate_logit_priors`), all 2 engineering complexity priors (`lambda_K`, `gamma_B` in `engineering_complexity_priors`), and all 8 auxiliary evaluator hyperparameter groups (`39` scalar leaves in `auxiliary_evaluator_hyperparameters`: `empirical_delta_clip_bounds`, `empirical_delta_scale_multiplier`, `cd47_gate1_gsis_penalty_scale_multiplier`, `cd47_gate1_gsis_penalty_floor_cap`, `pediatric_vs_lada_gate_logit_adjustments`, `graveyard_epistatic_soft_penalties_when_warn`, `gene_signal_scales_by_gate_and_branch`, and `target_profile_formula_hyperparameters` [which governs `lrr_shrinkage_k_pseudocounts`, `effect_direction_weights`, `omics_constraint_weights`, and `lower_10pct_cred_bound_hyperparameters`]; `R10`, `AUDIT-REF` [`DEC-078`]) are explicitly declared in `COMPLETE_GATE_COEFFICIENT_REGISTRY` and dynamically wired (`_rdelta`, `_pdelta`, without double-counting when both registries are perturbed simultaneously) into `compute_series_system_utility` and `build_target_evidence_profiles`, and `CD47`'s deleterious GSIS counter-evidence (`PMID:37820008`, `Ghimire et al. 2023`) is explicitly routed into `Gate 1 (Maturation/GSIS)` for `CD47` overexpression stacks (`_cd47_gate1_gsis_penalty_signal`).
- **Exact Uniform-Grid, Feasible-Subset & Within-Top-Tier Variance Decomposition (`AUDIT-REF`, reconciled to current `642`-study Layer-1 replay under `IIP-0061` / `DEC-142`; `data/extracted/documentation_facts_v0.8.0.json` `/layer1/sensitivity`):**
- **All `2,160` stacks (`12,960` pooled pediatric gate-logit evaluations):** $\text{Var}(\text{Structural Priors}) = 0.476233$ (**`99.85%`** [`0.998488`] of component variance sum; **`96.79%`** [`0.967941`] of total variance), $\text{Var}(\text{Empirical Gene-Signal }\Delta) = 0.000721$ (**`0.15%`** [`0.001512`] of component variance sum; **`0.15%`** [`0.001465`] of total variance), $2\,\text{Cov}(\text{Prior}, \Delta_{\text{emp}}) = 0.015052$ (**`3.06%`** [`0.030594`] of total variance), $\text{Var}(\text{Total}) = 0.492006$.
- **`480` Feasible Non-Blocked Stacks (`2,880` gate-logit evaluations):** $\text{Var}(\text{Prior}) = 0.383494$ (**`99.87%`** [`0.998675`] of component sum; **`96.11%`** [`0.961073`] of total variance), $\text{Var}(\Delta_{\text{emp}}) = 0.000509$ (**`0.13%`** [`0.001325`] of component sum), $\text{Var}(\text{Total}) = 0.399027$.
- **Within-Top-Tier Feasible $K=4, B=0$ (`30` feasible stacks, `180` gate-logit evaluations) & `48` Code-Defined Top-Tier Stacks (`288` gate-logit evaluations):** Within the `30` feasible $K=4, B=0$ stacks, $\text{Var}(\text{Prior}) = 0.299605$ (**`99.86%`** [`0.998628`] of component sum; **`95.92%`** [`0.959154`] of total variance), $\text{Var}(\Delta_{\text{emp}}) = 0.000412$ (**`0.14%`** [`0.001372`] of component sum), $2\,\text{Cov} = 0.012347$, $\text{Var}(\text{Total}) = 0.312364$, Spearman $\rho(\text{loaded}, \text{zero-signal}) = \mathbf{0.9987}$ (`0.998665`). Across the `48` code-defined top-tier stacks (`ALLO_B2M_HLAE_CD47_SWAP_CIITA_KO`, `ALLO_HLA_C_RETAINED_SUPERDONOR_PLUS_TYK2_KO`, or `ALLO_B2M_CIITA_KO_CD47_LENTI` with `NICHE_TRIHORMONAL_120UM_MVF_CAO2` and `SAF_AAVS1_CAG_ICASP9_BIALLELIC`), $\text{Var}(\text{Prior}) = 0.130575$ (**`99.62%`** [`0.996153`] of component sum), $\text{Var}(\Delta_{\text{emp}}) = 0.000504$ (**`0.38%`** [`0.003847`] of component sum), $2\,\text{Cov} = -0.001212$, $\text{Var}(\text{Total}) = 0.129867$ *(note: because $2\,\text{Cov} = -0.001212 < 0$ makes $\text{Var}(\text{Total}) < \text{Var}(\text{Prior})$, the raw ratio `top_tier_structural_share_of_total_variance = 1.005453` in `documentation_facts_v0.8.0.json` is an algebraic variance ratio rather than a bounded `[0, 1]` share; the component-sum share `99.62%` [`0.996153`] is the bounded share)*.
- **Rank Overlaps (`gene_signals={}` vs loaded):** **`top10_overlap = 9 / 10`**, **`top25_overlap = 25 / 25`**, **`top50_overlap = 49 / 50`**, and feasible Spearman $\rho = \mathbf{0.9995}$ (`0.999540`, `#1` `Scenario A` shifts only from `0.1094` to **`0.1041`** [`0.104090` unrounded; `GF-01` (`DEC-077`), `IIP-0008` (`DEC-086`), reconciled under `IIP-0061` (`DEC-142`)]), demonstrating transparently that the evaluator is a **structural prior scenario-exploration index** rather than an empirically fitted clinical survival predictor.
- **Monte Carlo Rank-Stability Sensitivity (Independent Output-Logit vs. Correlated Shared-Parameter Registry Perturbing All `48` Gate-Logit Offsets [`46` Net], `6` Structural Priors & `8/8` Auxiliary Hyperparameter Groups [`39` Scalar Leaves] with Per-Draw Target-Profile Rebuild, `AUDIT-REF`, reconciled under `IIP-0061` / `DEC-142`):**
| Perturbation SD ($\sigma$) | Independent Direct Output-Logit MC (`100` draws): `Scenario A` `#1` (`Top-3`, Range) | Independent Direct Output-Logit MC (`100` draws): `Scenario B` Median Rank (Range) | Correlated Shared-Parameter Registry MC (`50` draws, all `48` offsets + `6` priors + `39` auxiliary leaves): `Scenario A` `#1` (`Top-3`, Range) | Correlated Shared-Parameter Registry MC (`50` draws): `Scenario B` Median Rank (Range) |
| :---: | :---: | :---: | :---: | :---: |
| $\sigma = 0.04$ | `71 / 100` (`96/100`, `1–4`) | `#25.0` (`21–31`) | `50 / 50` (`50/50`, `1–1`) | `#25.0` (`18–29`) |
| $\sigma = 0.15$ | `43 / 100` (`75/100`, `1–12`) | `#25.5` (`8–67`) | `48 / 50` (`49/50`, `1–4`) | `#23.5` (`5–50`) |
| $\sigma = 0.25$ | `29 / 100` (`55/100`, `1–24`) | `#26.0` (`2–132`) | `39 / 50` (`42/50`, `1–26`) | `#22.5` (`1–72`) |
| $\sigma = 0.50$ | `18 / 100` (`29/100`, `1–93`) | `#33.0` (`2–287`) | `20 / 50` (`23/50`, `1–162`) | `#29.0` (`1–180`) |