Inspiration: Most survival calculators treat every death the same. A 78-year-old lung-cancer patient who dies of heart disease is counted exactly like one who dies of cancer — so the model overstates cancer risk, and doctors can't tell a patient what actually threatens them. AEGIS-PAN splits survival by cause of death.

What it does: AEGIS-PAN is a live, in-browser pan-cancer survival workbench. 9 curated TCGA-CDR cohorts (LUAD, KIRC, LGG, BRCA, COAD, HNSC, GBM, OV, KICH), 4,954 primary cases from the 11,160-case pan-cancer resource. Pick a cohort, set age, stage, grade, comorbidity and therapy — the workbench draws the competing-risks trajectory to 10 years: Alive vs Cancer death (CIF1) vs Competing non-cancer death (CIF2), plus a 100-patient grid ("out of 100 similar patients, 65 remain alive at 5 years"). Treatment counterfactual: adjuvant therapy, aSHR 0.75 (95% CI 0.66–0.85), −4.15 months of restricted mean time lost saved, with a side-by-side Patient A vs B view. 43,200-profile in-browser auditor that checks every organ × age × stage combination for partition-of-unity and monotonicity — 0 violations. Empirical-Bayes shrinkage for hospital recalibration, validated externally on CPTAC (C = 0.730) and a Moffitt cohort (n = 108, C = 0.660). GDC Live page that pings the live NCI GDC portal API and compares its counts against the curated TCGA-CDR benchmark.

How we built it: Royston-Parmar flexible parametric survival model on the log-cumulative-hazard scale, coupled with Fine-Gray subdistribution hazards for competing risks, and restricted mean time lost (RMTL). All model parameters are fitted constants served as a static single-page app (HTML + Tailwind CSS + vanilla JS) on Vercel, source on GitHub. No backend, no login, no patient data leaves the browser.

Challenges: Competing risks are easy to claim and hard to keep honest — every probability must sum to 1 at every time point, and risk must rise monotonically. The 43,200-profile auditor exists because we refused to assert what we hadn't checked.

Accomplishments: A working clinical tool, not a mockup — every slider and toggle recomputes a real trajectory, chart, and plain-language summary in real time. External validation on two independent cohorts (CPTAC, Moffitt), not just the training data. A live check against the real NCI GDC portal, so the numbers are verifiable against the source registry.

What we learned: All-cause survival models quietly inflate cancer risk for older and sicker patients. Separating CIF1 from CIF2 changes the answer a patient actually gets — by up to 6.8 percentage points of 5-year cancer mortality in the worked example.

What's next: Fix the cohort-total inconsistency (below), add the missing Python reference implementation and tests so the fitted constants are reproducible, and validate on a third external cohort.

Known issue, being honest with the judges: The live site's Step 1 header says "N = 4,854" but the nine cohort sizes sum to 4,954. The video narration uses the correct sum, 4,954. This is a display bug in the app, not a data bug — the per-cohort Ns are correct.

Built With

Share this project:

Updates

Submission history