Swanson's Apple

For the best experience, use a desktop browser.

Site Updates

Ongoing improvements and fixes, in the order they shipped. For the current state of known gaps and open questions, see Issues.

  1. In Progress

    Bridge genes spelled out: AR → androgen receptor

    Bridge genes were shown only by their official symbol (AR, ESR1, PTGS2), which means little unless you already know it. Each gene now carries its official full name from NCBI Gene (the name approved by the HUGO Gene Nomenclature Committee where there is one): the hypothesis diagram shows it under the symbol with an "About this gene" link to the NCBI Gene page, the Same-mechanism drugs section spells it out ("drugs that also raise AR (androgen receptor)"), and hovering a bridge in the results table shows it. About 95% of genes get a name; the rest are non-human genes CTD includes for some links, which keep their symbol only. Display only, no score changes. Names appear after the November 8 weekly data rebuild, which now includes a Gene names step.

  2. In Progress

    DISEASES source: curated links restored and diseases matched by ID

    The Jensen Lab DISEASES database adds disease–gene links from two files, a manually curated one and a text-mined one. Two problems meant it was contributing almost nothing: only 127 links across 92 diseases. First, the curated file stores its confidence score in a different column from the text-mined file; the importer read the wrong column, couldn't parse it, and skipped every one of its 7,788 curated rows. Second, diseases were matched only by exact name, and DISEASES spells names differently from our MeSH-based ones ("Prostate cancer" vs. "Prostatic Neoplasms", "Parkinson's disease" vs. "Parkinson Disease"), so about half of its rows found no disease. The confidence column is now read correctly, and when a name doesn't match, the source's own Disease Ontology ID is translated to ours through MONDO, a curated disease ontology that cross-references both systems. An exact name match still takes priority, and an ID that would translate to two or more of our diseases is skipped rather than guessed. Checked on the real files: where both methods find a match they agree on 99.7% of rows, about 95% of sampled ID-only matches were the same disease, and the 30 most frequent translations were all correct. Together the two fixes take this source from 127 links to about 4,500, covering about 840 diseases instead of 92. These are new disease–gene links, so Strength scores move and new hypotheses appear for the affected diseases. The DISEASES and MONDO files now also refresh weekly instead of being downloaded once. Takes effect after the next weekly data rebuild.

  3. Complete

    Same-mechanism drugs on every hypothesis

    Many high-ranking compounds are laboratory research tools — U0126, for example, switches off the MEK pathway in cell studies and was never meant to be a medicine — and the data can't tell a lab tool from a promising untested compound. Either way, such a hypothesis is really saying "pushing this gene this way might help this disease." Each hypothesis page now has a Same-mechanism drugs section listing drugs already approved or in clinical trials that act on the same bridge gene in the same direction (approved first), with each drug's own curated evidence for the disease (✓ treats, ! risk) and a link to its own hypothesis. A drug like that is the quickest way to test the idea in people. If the compound's own direction isn't known, tested drugs acting on the gene are listed with their direction instead of guessing. No score changes. Live now; the drug-direction data added from DGIdb and DrugCentral makes these lists more complete after the November 8 weekly rebuild.

  4. Complete

    Tested: discounting heavily connected bridge genes (TNF, IL6…) — not adopted

    TNF is the bridge in about a quarter of the default top 500 hypotheses, so we tested whether ranking would improve by discounting the Strength score for such hub genes, by hiding them, or both. The test used about 30,000 compound–disease pairs that CTD curators record as treatments as an answer key, removing the papers behind each treatment record from its own counts so it couldn't be predicted from its own evidence. Today's Strength put a known treatment in 41% of its top 500 compound–disease pairs, against 0.05% by chance. Discounts of increasing strength gave 31%, 26% and 11%; hiding the top 10 to 100 hubs gave 28–34% and dropped 5–18% of the known treatments entirely; both together gave 26%. Hub genes are hubs largely because they matter in many diseases, so links through them are more often real. The score is unchanged, and the result is recorded on the Scoring page. One caveat: known treatments favor well-studied mechanisms, so this can't rule out that a discount surfaces better new ideas; a test on discoveries made after a cut-off date would settle that. To skip a hub yourself, filter the Bridge column with exclude.

  5. In Progress

    How polarity and compound labels are calculated, a harm-warning filter, and two data fixes

    The Scoring page has a new Polarity & Evidence Labels section that explains, with formulas and worked examples, every direction indicator and label on the site: the compound → bridge polarity number (raising records minus lowering records, divided by all records), how reference compounds vote on the bridge → disease direction, how those combine into the ⚠ "mechanism suggests harm" warning and how accurate it was in testing, the order in which the hypothesis page picks its best assessment, and the exact rules behind the Toxicant flag and the development-stage badges. None of these change any score. The polarity column's info bubble, the About page and each hypothesis page's Polarity tab now link to it. The results table also has a new All / Hide ⚠ / ⚠ only filter. Two data fixes: DrugCentral lists drugs that act on multi-subunit targets with every subunit in one row (acamprosate → the NMDA receptor's GRIN1, GRIN2A, …), and those roughly 1,170 rows were being dropped because no single gene matched; each subunit now gets the link, except for a handful of 40-plus-gene target-family rows. And approved-drug tagging no longer marks gene concepts (e.g. ADAM17) as approved drugs when a ChEMBL synonym happens to share their name. The documentation and filter are live now; the warnings and the DrugCentral links appear after the November 8 weekly data rebuild.

  6. In Progress

    Reference compounds for the bridge → disease direction, and a harm warning

    Whether a compound helps or harms a disease depends on two directions: what the compound does to the bridge gene (known for many hypotheses) and whether raising that gene helps or harms the disease (almost never known). Each hypothesis page now fills that second gap with evidence rather than a guess: it lists the other compounds that act on the same bridge and that CTD documents as treating or causing the disease — e.g. a drug that lowers the gene and treats the disease implies lowering it is beneficial — with citations. We tested this before showing it. Hiding each of 102,000 known compound–disease pairs in turn and predicting it from the others gave 61% balanced accuracy against 50% for chance, but it was lopsided: when combined across all bridges between a compound and a disease, confident harm calls were right 83% of the time, while "beneficial" calls were right only about 55%. So the app shows the references as evidence, raises a ⚠ "mechanism suggests harm" warning only for confident harm calls, and never labels a hypothesis beneficial from this. The same reference list is now given to the AI assessment. No score changes. The reference list and AI change are live now; the warnings appear after the November 8 weekly data rebuild.

  7. In Progress

    Compound → bridge direction from DGIdb and DrugCentral

    DGIdb and DrugCentral publish what kind of interaction each drug has with its target — inhibitor, antagonist, agonist, activator, blocker and so on — but the importers were discarding it and recording only that some interaction existed, so Polarity showed no direction for those edges. They now keep it: inhibitors, antagonists, blockers and inverse agonists count as lowering the bridge gene's activity; agonists, activators, openers and positive modulators as raising it; ambiguous types (plain "modulator", antibody, binder, substrate) stay neutral. About 26,500 DGIdb and 4,900 DrugCentral drug–gene pairs gain a direction — 37% and 26% of each source's pairs. Each pair is still recorded once, so evidence counts and scores are unchanged, and the 52 pairs whose sources disagree are left neutral rather than guessed. Takes effect after the next full data rebuild.

  8. Complete

    Development stage for every compound

    Each compound now shows how far it has been developed in people, using ChEMBL's clinical-trial phase data matched against every name CTD lists for the compound: approved drugs keep their Rx badge, compounds that reached clinical trials show their phase (Ph 1–3), and compounds never tested in people show "Preclin". A new filter switches between all stages, compounds tested in humans (approved or trialed — known human safety, the quickest route to a new trial through repurposing), and compounds not yet tested. Nothing is hidden by default: untested compounds with strong mechanistic support are exactly the leads this tool is meant to surface. Laboratory research reagents also fall under preclinical, since this data can't distinguish a lab tool from an untested candidate; the Issues page explains how to tell them apart. Matching by every synonym also makes the approved-drug exception in the toxicant classification more reliable. Of about 9,900 classified compounds, 1,617 are approved, 1,370 have reached clinical trials and 6,592 are preclinical; with toxicants hidden, 1.99 million hypotheses involve a compound already tested in humans and 1.62 million one that hasn't been.

  9. Complete

    Known toxicants hidden by default; curated evidence badge split into treatment vs. risk

    The top of the results table was dominated by environmental toxicants — dioxin, arsenic, cadmium, particulate matter, bisphenol A, pesticides — and of the 500 highest-scoring hypotheses, 396 had been assessed by the AI as likely harmful. The cause is structural: CTD, the main data source, is a toxicogenomics database, so most of its compound–gene records come from exposure experiments, and the most heavily studied compounds there are toxicants. That volume of records raised their Strength score, while nothing in the score knew what kind of compound it was. Compounds are now classified as known toxicants or exposures from two free sources: CTD's own curated compound–disease evidence (a compound curated as a cause or marker of at least 10 diseases, with treatment records for at most 15% as many — e.g. dioxin: 153 vs. 13 — while drugs like cisplatin, 225 vs. 113, stay well clear), and the National Library of Medicine's MeSH pharmacological actions (pollutants, pesticides, poisons, chemical weapons, carcinogens), which match on the same MeSH identifiers the database already uses, so no name matching is involved. Approved drugs are never flagged. Flagged compounds carry a "Toxicant" badge with the reason, are hidden from the table by default (a new Hide toxicants / All / Toxicants only filter), and are skipped by the background AI crawler so its daily quota goes to real candidates. Separately, the violet ✓ badge for curated compound–disease evidence used to mark both "documented as a treatment" and "documented as a cause or risk factor" — opposite meanings — so a harm could look like a confirmation. It is now ✓ (known treatment), ! (known risk) or ± (both), and the filter offers Known treatment / Known risk / Hide curated. Approved-drug (Rx) matching also now recognizes drugs that ChEMBL lists only under a salt name (e.g. indinavir sulfate), which fixes some missing Rx badges. None of this changes any score. With toxicants hidden, the 500 highest-scoring hypotheses went from 396 to 277 assessed as likely harmful, from 77 to 155 as likely beneficial, and from 84 to 184 approved drugs. Much of what remains near the top is laboratory research reagents, which aren't classified yet (see Issues).

  10. Complete

    AI assessment crawler reliability improvements

    The background AI assessment crawler (see July 24 entry below) received a round of reliability fixes. It previously slept a fixed 60 seconds between every item regardless of outcome, which alone exceeded the free tier's daily quota — once exhausted, it just kept retrying at the same pace with no timestamps to show when. It now paces itself under the daily cap, backs off exponentially (bounded, using the AI provider's own suggested retry delay when present) on repeated rate-limit errors, and timestamps every log line, including successes, so a healthy run stays distinguishable from a stuck one. It also now stops itself right before a Run All swaps in a new database and restarts fresh afterward — its pagination only moves down through Combined score, so without this, any hypothesis a Run All introduced or rescored above the crawler's current position was invisible for the rest of that run (already-assessed hypotheses are skipped with no extra API calls, so the restart is cheap). Finally, a stale "running" status left behind by an unclean restart (crash, reboot, service restart) — which previously blocked new runs from starting since nothing was left to update it — now clears itself automatically, mirroring the same fix already applied to Run All's own status tracking.

  11. Complete

    Fixed filters resetting on back-navigation, added AI verdict filter

    Landing on a URL like /?p=3 — via the browser back button or a shared link — silently reset the page to 1 and stripped the query string 350ms later, regardless of whether any filter had actually changed. The underlying filter-sync effect was firing unconditionally on every mount; it's now guarded by comparing against the last-seen filter values, robust to React Strict Mode's double-invoked effects defeating a simpler one-shot guard. The synced URL is now also mirrored into session storage and restored from there if the query string comes back empty, since the router's own back/forward restoration drops it independently. Separately, the AI column now has a Positive/Negative/Unclear filter, matching the existing Sources column filter pattern.

  12. Complete

    Hypothesis detail page: Scores/Polarity/AI Assessment moved into tabs

    The right-hand panel on each hypothesis detail page stacked Scores, Polarity, and AI Assessment vertically, pushing the Cite This Result box far down the page. The three sections are now consolidated into a single tabbed panel, and the Cite box moved above it — same content, less scrolling.

  13. Complete

    AI plausibility assessment — on-demand and background crawler

    Each hypothesis can now get a second opinion from an AI model on whether the compound plausibly helps or harms the disease — grounded in the same evidence already shown on the page (the bridge relationship, the compound's effect on it, direct evidence, paper counts), not a bare "would X help Y?" question, which is what made ad-hoc chatbot queries against this data inconsistent. Open any hypothesis and click "Assess with AI" for a verdict (likely beneficial / likely harmful / unclear / conflicting), a confidence score, and the full reasoning — explicitly labeled as an automated second opinion, not a validated finding. A new background crawler (admin-controlled, never shown to regular users) works through hypotheses ranked by Combined score, highest first, requesting an assessment for anything not already cached — so popular, high-scoring hypotheses accumulate real AI assessments over time even without anyone clicking the button. The crawler uses its own separate API key so it never competes with the on-demand button for the same daily quota. The results table has a new AI column showing a color-coded verdict badge, sortable by confidence and filterable to "AI assessed only" — cached assessments never need to be recomputed unless something about the hypothesis's evidence changes, which you can check yourself since the assessment date is always shown alongside the verdict.

  14. Complete

    Withdrawn/discontinued drug tagging

    Compounds that ChEMBL flags as withdrawn or no longer marketed now show a "Withdrawn" badge next to the compound name, independent of the existing "Rx" (FDA-approved) badge — a withdrawn drug keeps its Rx badge too, since it really was approved at some point, just isn't currently available. A new three-way filter (All / Withdrawn only / Hide withdrawn) lets you isolate or exclude these from the results table, combinable with the existing Rx-only filter. No new data source was needed — ChEMBL's API already returns this alongside the approval-status field the site already imports; the importer just wasn't requesting it yet.

  15. Complete

    Polarity indicator for the directionality gap (Problem 2 below) — shipped and live

    Each hypothesis now shows a Polarity breakdown, laid out as three explicit rows labeled by the A/B/C roles and connected by directional arrows (not the double-headed ↔ used elsewhere for undirected paper counts, since these rows describe an actual effect, not a raw count): Compound → Bridge (C→A), Bridge → Disease (A→B), and an overall best-assessment, Compound → Disease (C→B). Compound → Bridge is shown as an arrow plus a signed value from -1 to +1, weighted by how many independent curated records assert each direction and diluted toward 0 by non-directional evidence (records that merely note an interaction without saying which way it goes) — so the value reflects both which direction dominates and how much of the evidence actually takes a side. Bridge → Disease shows whether the bridge is a confirmed drug target or a documented disease mechanism/marker, relabeled to read the correct direction (an earlier internal version had this backwards for some relationship types, since the underlying records store disease-then-gene, not gene-then-disease — the ABC diagram above this section had the same arrow pointing the same wrong way, now also fixed). For a minority of compound-disease pairs (about 8% in a sample check) where a data source directly curates the relationship, a direct therapeutic-vs-risk-factor verdict is shown in the best-assessment row instead, linked to its supporting citations. A new "✓ Confirmed" badge on the results table (next to the compound name) marks these rows directly, since a confirmed pair can still legitimately show a B-C count of 0 — that count only reflects papers co-indexed together in the local literature index, while the confirmed verdict can come from a source paper that used a different, more specific term. Where the Bridge → Disease direction isn't known — the common case — the best-assessment row says so explicitly rather than guessing, and placeholders mark where a real Bridge → Disease direction and a fully composed Best Assessment will appear once that data exists. A new table filter (and sortable Polarity column) lets you show only, or hide, hypotheses with direct compound-disease evidence. None of this changes any score — Strength and Combined still count evidence volume the same way as before; Polarity is a separate, independent signal shown alongside it.

  16. Complete

    Fixed disease-term fragmentation (Problem 1 below) — sibling-term notes now live

    Hypothesis cards and detail pages now show an explicit note when a zero-scoring disease-compound pair already has published evidence under a related sibling or parent disease term (e.g. a genetic subtype like "Amyotrophic Lateral Sclerosis 1" sharing evidence with generic "Amyotrophic Lateral Sclerosis"), alongside the paper count and which term it came from. This does not change any score — it surfaces context so you can judge for yourself whether a connection is genuinely novel, rather than silently merging paper counts across subtypes (which risks hiding a genuinely novel subtype-specific finding, since subtypes don't necessarily share the same disease mechanism). Two rounds of validation against real production data were needed: an initial version matched on any shared CTD-tree parent, which incorrectly linked unrelated diseases sharing only a broad category ancestor (e.g. "Addison Disease" and "Arthritis, Rheumatoid" both fell under a shared "Autoimmune Diseases" ancestor) — this was caught before wide exposure and fixed by requiring actual name similarity, plus a second signal from CTD's own synonym data to catch same-disease pairs with unrelated names (e.g. "Loeys-Dietz Syndrome 2" / "Aortic aneurysm, familial thoracic 3"). The directionality/polarity gap (Problem 2 below) is unrelated and still unaddressed.

  17. In Progress

    Known issue: some hypotheses look novel but aren't (and don't yet account for harmful vs. beneficial evidence)

    Two data-modeling gaps were identified. First, some diseases are indexed under multiple separate terms (e.g. "Amyotrophic Lateral Sclerosis" vs. genetic-subtype terms like "Amyotrophic Lateral Sclerosis 1") — a compound-disease connection already published under one term won't reduce the B–C count shown for a differently-worded sibling term, so an already-known connection can appear as a high-scoring, seemingly novel hypothesis. This is now mitigated — see the July 21, 2026 entry above. Second, scoring currently counts how much literature connects a disease, bridge, and compound, but does not yet distinguish whether that literature shows the compound helping, harming, or merely being associated with the bridge mechanism — so a compound known to worsen or cause a condition via a given pathway can score the same as one known to treat it. This remains unaddressed. Until it's fixed, treat every hypothesis as a lead to investigate, not a validated finding, and check the underlying papers before drawing conclusions.

  18. Complete

    Fixed B–C paper counts undercounting drug mentions

    The local literature index used to compute B–C (Disease–Compound) paper counts was only checking whether a paper formally listed a compound as a MeSH subject heading. In practice, most specific drugs are indexed by the National Library of Medicine via a separate chemical-substance field rather than as a subject heading — so many well-documented drug–disease connections were showing a B–C count of 0 when hundreds of supporting papers actually existed (verified example: benazepril and hypertension showed 0 despite 265+ papers directly connecting them; after the fix, the local index shows 225). The indexer now also checks the chemical-substance field, and the full literature index has been rebuilt from NCBI's MEDLINE archive against it — citations indexed nearly doubled, from 43M to 83.5M. Hypotheses will reflect the corrected B–C counts as of the next database update.

  19. Complete

    Resilient database updates — staging swap and incremental refresh

    The periodic data update process has been redesigned for reliability. Updates now build a complete new database in a staging file alongside the live one. The live database is only replaced once every import step succeeds — if any step fails partway through (e.g. a data source API times out), the staging file is discarded and the live database is left completely intact. Previously, a failed update would leave the database in a partial state with missing data. Additionally, updates are now incremental: each data source clears and replaces only its own records rather than wiping the entire database before rebuilding. The ChEMBL importer also received improved retry logic (6 attempts, 60s timeout, longer backoff on HTTP 500) to better handle transient API failures.

  20. Complete

    Permanent hypothesis URLs, Cite This Tool page, and startup reliability

    Hypothesis URLs are now permanently stable across database rebuilds. Each URL is derived from the three UMLS Concept Unique Identifiers (CUIs) that define the hypothesis — standard codes maintained by the US National Library of Medicine and used across NIH, FDA, and major biomedical databases. Because CUIs are internationally standardized and never change, the URLs will remain valid indefinitely regardless of how the underlying database is updated or rebuilt. A new Cite This Tool page (linked as CITE in the navbar) provides ready-to-copy APA and BibTeX citation blocks for academic use, and explains why the URLs are permanent. Each hypothesis detail page also includes a collapsible Cite This Result box with a pre-filled citation for that specific hypothesis.

  21. Complete

    Insights tab: top pair leaderboards for A–B, A–C, and B–C

    Three new leaderboard cards on the Insights tab show the top 5 most paper-supported pairings for each side of the ABC triangle. The A–B card ranks Disease × Bridge pairs by B↔A paper count, the A–C card ranks Bridge × Compound pairs by C↔A paper count, and the B–C card ranks Disease × Compound pairs by direct B–C paper count. The B–C leaderboard includes a note reminding readers that high counts reflect well-established connections — this app's primary targets are hypotheses where B–C = 0. All three leaderboards respect the active filters and tranche selection.

  22. Complete

    Scoring formula v1.1, methodology page, and score delta indicators

    Strength score formula updated to v1.1: log compression now applied per-side before the geometric mean (S = 1 − 1 / (1 + √(ln(1+B↔A) × ln(1+C↔A)))). The previous formula applied log after the geometric mean, which caused lopsided triangles (e.g. B↔A=2, C↔A=100) to incorrectly outscore balanced equivalents. Symmetric cases are mathematically unchanged — only lopsided hypotheses are affected. All hypothesis scores have been recomputed. A new Scoring Methodology page documents the formula rationale, behavior tables, known limitations, and full version history; it includes a version picker (v1.0 / v1.1) and a Track Changes toggle that overlays a diff of what changed between formula versions. The table page shows a scoring formula version badge (SCORING v1.1) linking to the methodology page, and after a rescore, each affected row shows a ▲/▼ badge indicating how many percentage points its score shifted.

  23. Complete

    Discovery Landscape, Insights tab, and UX improvements

    Major update across the main results page. A new Insights tab sits alongside the Table tab and shows aggregate analysis of the current filtered view: literature evidence distribution across five novelty tranches (Untested through Established), top 20 bridge targets by hypothesis count, score tier analysis for the top 1/5/10% of hypotheses, and auto-generated key findings. Clicking any tranche filters the table directly. A B–C column was added to the table showing direct disease–compound paper counts, color-coded by tranche. Pagination now supports typing a page number to jump directly. The 'What is this?' content moved to a dedicated About page linked from the navbar. Mobile layout improvements: a desktop recommendation banner and a 4-column table layout on narrow screens.

  24. Complete

    PubMed novelty verification crawler

    All 2,008,644 unique disease–compound pairs have been verified against PubMed. Novelty scores are now exact counts rather than estimates — the ~ prefix no longer appears. The cache survives database rebuilds so re-verification is not needed after a data update.

  25. Complete

    Scoring formula correction

    The Strength score was using a simple sum of B↔A and C↔A edge counts, which allowed a lopsided bridge (e.g. 99 papers on one side, 1 on the other) to score the same as a balanced one. Replaced with a geometric mean so both sides of the triangle must be well-evidenced. All 4.7M hypothesis scores are being recomputed.

  26. Complete

    Filter state preserved on back navigation

    Filters, sort order, and page are now encoded in the URL. Using the browser back button or the ← Back link on a hypothesis page restores your exact previous view.

  27. Complete

    Score column shows active metric

    When sorting by Novelty or Strength, the score pill in each row now shows that metric's value rather than always showing the combined Score.

  28. Complete

    Public launch

    Swanson's Apple is now publicly available at swansonsapple.org. The database currently tracks 4,746,394 hypotheses drawn from 6 biomedical sources: CTD, Open Targets, ChEMBL, DGIdb, DrugCentral, and DISEASES.