Bio warehouse: work summary since 2026-10-29 (written 2026-11-05)
This follows SUMMARY-2026-10-29.md (Phases 0–4: the warehouse itself). It covers the three research steps since:
- the revival backtest;
- the success model and graveyard scores;
- posted readouts, evidence tiers, the manual review and the shelved-drug database.
Same ground rules as before:
- primary sources only, with a raw copy of every payload and provenance on every row;
- deterministic rules in
config/, with each rule version recorded; - no LLM API calls;
- nothing committed to git.
1. Revival backtest (2026-10-29): does picking up shelved drugs beat base rates?
- Why: the project thesis is to buy assets shelved for non-scientific reasons. You predicted no advantage, because of market equilibrium.
- What:
python -m bio backtest. - Compared 359 picked-up INN assets with 6,610 phase-matched first entries into a phase.
- Tests: Cox models, exact standardised incidence ratios (SIR), Mantel–Haenszel, equivalence tests, piecewise hazards and subgroup tests.
- Docs:
docs/backtest-revival.md,-results.md. - Result: your prediction holds.
- Pickups: hazard ratio 0.91 (0.76–1.11). Pickups do no better than the base rate.
- Strict thesis cohort (stated business/funding stop): 2 events vs 7.7 expected, negative but n = 15.
- Stage is the one robust modifier:
| stage at pickup | SIR | |---|---| | Phase 1 | 1.62 | | Phase 2 | 0.77 | | Phase 3 | 0.63 |
This is adverse selection: the later the stage, the more the seller knew.
- Buyers already avoid scientific failures: 2.5% are picked up within 5 years, against 4.9–10.4% for non-scientific drops.
2. Success model + graveyard scores (2026-11-03)
- What:
python -m bio success. - Model: Cox models over 17,209 programme index trials.
- Features:
- genetic support: Open Targets genetic associations, point-in-time from their yearly timeseries;
- orphan designation;
- stop-reason class;
- patent-life proxy;
- firm type;
- stage, and pickup × stage.
- New raw source: Open Targets
association_by_datatype_direct(860 MB, CC0), fetched withot-pull-parts. - Findings:
- Genetic support: HR 1.38 per step, compounding to about 2.3× to approval. Minikel et al. 2024 report 2.6×.
- Orphan designation: HR 1.73 (2.47 for approval).
- Out-of-time validation: C 0.651 against 0.615 for stage alone, and calibrated.
- Bugs and statistical problems fixed along the way:
- lifelines returns stratified predictions grouped by stratum, so they must be aligned on the row index;
- pooled hazard ratios gave incoherent Phase 3 answers, so scoring now uses per-stage models chained to p_approval;
- long-horizon extrapolation was over-confident;
- a coefficient estimated from a handful of events flipped sign, so terms now need at least 10 events;
- the tail was over-confident, so step probabilities get Platt recalibration;
- 20-year-dormant assets were extrapolated, so they get an
out_of_supportflag.
3. Readouts, evidence tiers, manual review, shelved-drug database (2026-11-04 / 05)
Review that triggered it: "the data records why trials stopped, not whether completed trials worked."
1. Posted results → readouts. build-results, rules in config/readout.toml:
- Coverage: 41,975 trials with results; 52,211 primary-outcome analyses; per-trial readout of met, not met or no test.
- Validation: 90.7% of approved drugs' pivotal Phase 3s read met, and 84.9% of efficacy-stopped trials read not met.
- Fixes from hand checks: direction for hazard ratios, skipping safety and PK primaries, single-arm CIs, and NI/GMR handling.
- Accuracy: about 92% on an untouched third sample.
2. In the model. The readout feature adds little, because training rows rarely have a prior posted readout.
3. Evidence tier (EV-1) on every graveyard asset: failed, clean or unverified.
4. Reading list and manual review. reading-list builds evidence packs for the top 20 INN assets per stage. I then checked each against primary and trade sources. 60 assets: 7 keep, 16 unclear, 37 drop.
- Keep: lixivaptan, cerdulatinib, netazepide, odiparcil, GSK2256294, ulocuplumab, rebastinib.
- The drops: 29 failed on efficacy or safety, mostly visible only in press releases. 6 are not available (licensed, active, approved or superseded). 2 are not proprietary.
- Model features don't separate keep from drop: genetic support 62% in drops vs 43% in keeps. The real separators are the reason for shelving and the readouts.
5. Shelved-drug database.
- What it is:
build-shelvedloadsgraveyard_score(7,473 assets) andgraveyard_review(60 verdicts with citations). - How to use it: view
v_shelved, and UI pagehttp://127.0.0.1:8765/shelvedwith filters for status, stage and identity kind. - Adding verdicts: edit
curation/graveyard_review.csv, then re-runbuild-shelved.
4. Data gaps the review exposed (next work, in order of value)
- Press-release and 8-K readouts for all sponsors. Most failures are announced, not posted. The existing
sec-pressmining covers curated sponsors only. - Identity linking between code names and INNs:
- splits understate stage (TRV027, teprasiran, brivanib, rebastinib);
- licensee code names hide pickups (alvelestat → Mereo, pimasertib → Day One, AZD-1656 → Conduit, zotiraciclib → Cothera).
- CBER blood-product approvals are missing. Anavip, approved in 2015, sat in the graveyard.
- Real patent data (SureChEMBL or USPTO) instead of the proxy.
- Deal prices and market size, to move from probability of success to value.
5. Commands added
uv run python -m bio ot-pull-parts association_by_datatype_direct
uv run --group analysis python -m bio backtest
uv run python -m bio build-results
uv run --group analysis python -m bio success
uv run --group analysis python -m bio reading-list
uv run python -m bio build-shelved
Build state:
- The analysis libraries are in the uv
analysisgroup. - ruff, strict mypy (
--group analysis) and 47 tests are clean. - All outputs are deterministic (verified by re-running and comparing).
- The UI holds a read-only database connection. Stop it before rebuild steps that write.