THE SCIENCE OF DETECTION · EVIDENCE

What we found, and how sure we are.

SpaceSift asks one question of three kinds of sky data, and of two famous discoveries in its physics labs: when a search says “found it”, how often is it right, and what does it miss? Each investigation below states its data, method and baseline, counts its errors in both directions, names its limits, and shows how to rerun it.

WHAT WE BUILT

An injection-recovery pipeline that has run 72,440 planet searches with known answers; a star classifier matched against 123 real spectra; a live ranking of new asteroid candidates.

WHAT'S NEW

Measuring failure, not just success: completeness maps across stellar variability, with each cleaning method's threshold calibrated on noise-only stars, and a pre-registered test on real Kepler variables (predictions committed before the run).

THE EVIDENCE

In one simulated scenario (a star pulsating every 4 hours at 100 ppm), the standard filter found 0 of 106 planted planets; removing the rhythm first found 105. The star classifier's median error is 1 subclass (old method: 5). The asteroid model ranks better than digest2 but doesn't yet beat it where it matters most.

RERUN IT

Every experiment records its code commit, configuration and random seed. Commands for each are below; the code is on GitHub.

Every investigation reports: DataMethodBaselineErrors both waysLimitsRerun it
INVESTIGATION 01 · HIDDEN PLANETS

When does a transit search miss a planet that is really there?

Open the Transit Lab →
CLEAR RESULTOn quiet stars the standard search behaves as published. On stars that pulsate at 100 ppm or more, no amount of filtering finds the planets, but removing the star's rhythm first recovers 99% or more, in all 24 pulsation settings tested. The reverse holds for fast-spinning spotted stars. No single cleaning method works on every star.
Quiet stars: chance of finding a planet
SS-0001 · 10,000 planted planets on 200 Kepler stars
Fitted completeness (gamma CDF) against signal-to-noise. Half are found at SNR 10.7 (10.85 at a calibrated 1% false-alarm threshold); the plateau is 96–97%.
Variable stars: what each cleaning method returns
SS-0002A · 8,200 trials per method across all variability settings
Share of trials by outcome. “Star's own signal” means the search locked onto the star's variability instead of the planet. Prewhitening almost eliminates it.

ERRORS IN BOTH DIRECTIONS

  • False alarms (false positives): each method's detection threshold is set so only 1% of searches on noise-only stars beat it (1,800 and 10,800 null searches). But on variable stars where cleaning fails, 60–100% of planet-free searches beat the threshold: the false-alarm rate is only valid on quiet stars.
  • Misses (false negatives): half of planets at SNR 10.85 are missed on quiet stars, and 4% of strong signals (SNR > 16) are still missed. On two pulsating Kepler stars in SS-0001, all 100 planted planets were missed.

LIMITATIONS

  • Simulated pulsators are two constant sine waves, the ideal case for prewhitening; noise is white. SS-0002B tests real stars, with predictions committed before the run.
  • BLS measures a box-shaped depth, so recovered transits are ~15% shallower than injected (explained in SS-0001-depth).
  • The in-browser Transit Lab is a JavaScript port checked against the Python pipeline; one demo run is an example, not a result.
Full methodology: data, method, baselines, detailed results and how to rerun

DATA

200 quiet Kepler stars (SS-0001; NASA MAST light curves) and 820 simulated stars spanning pulsation and starspot periods and amplitudes (SS-0002A). 316 real variable Kepler stars for the pre-registered test (SS-0002B, running).

METHOD

Plant planets of known size and orbit, clean the light curve, run a box least-squares (BLS) search, and grade each trial: found, wrong period, the star's own signal, or below threshold. Completeness is fit against signal-to-noise.

BASELINE

The standard pipeline: a 1-day sliding biweight filter, compared against shorter and longer windows, no cleaning, and prewhitening (subtracting the star's rhythms) before filtering.

Rerun these experiments

cd spacesift
pip install -e . -c constraints-ci.txt
spacesift run configs/SS-0001.yaml              # 10,000 injections on 200 quiet Kepler stars
spacesift run configs/SS-0001-null.yaml         # noise-only searches that set the 1% threshold
spacesift analyze experiments/SS-0001 --null experiments/SS-0001-null --far 0.01
spacesift run configs/SS-0002A.yaml && spacesift run configs/SS-0002A-null.yaml
spacesift analyze-grid experiments/SS-0002A --null experiments/SS-0002A-null --name far1pct
spacesift replay experiments/SS-0001 --star 1868918 --trial 3   # re-run and plot one trial

Each record stores its git commit, package versions, configuration and seed. Full records: Transit Lab → Experiments.

INVESTIGATION 02 · STARLIGHT

Can a star's type be read reliably from any spectrum someone uploads?

Open the Spectrum Lab →
Error per star
Distance from SDSS's type, in subclasses (lower is better)
Template matcherPhysics-model baseline
Each row is one SDSS star. A full class (e.g. A0 to F0) is 10 subclasses.
Robustness to bad calibration
Median error when each spectrum is tilted as dust or a bad flux calibration would
As observedTilted
Color alone does well on SDSS's well-calibrated spectra but collapses when the slope is wrong; the template matcher barely moves.

ERRORS IN BOTH DIRECTIONS

  • Too hot: faint SDSS “A0” and “B9” stars come out as B stars (5 and 6.5 subclasses off). They are probably blue horizontal-branch stars, old and metal-poor, which the library lacks.
  • Too cool: rare here; the G2 star comes out F8 (too hot by 4) and K7 comes out K5.

LIMITATIONS

  • Small test set (11 stars), one per class; “truth” is itself SDSS's template fit, not an independent measurement.
  • The library is thin on red dwarfs and has no blue horizontal-branch stars. Temperatures come from the matched type (±a few hundred K); metal content is not measured.
  • Pictures of spectra are matched on line positions only, since drawings don't show true line strengths.
Full methodology: data, method, baselines, detailed results and how to rerun

DATA

Templates: 123 real stellar spectra (SDSS spEigenStar-55734, mostly the Indo-US library). Test set: the highest signal-to-noise SDSS DR17 star of each class, O to M (11 stars), chosen by a fixed query before tuning.

METHOD

Fit every template times a smooth curve (absorbing flux calibration and dust), weighting the features astronomers classify by. Errors are counted in subclasses against SDSS's own pipeline type (10 subclasses = one class).

BASELINES

(1) The lab's first classifier: a simplified physics model (blackbody plus ~40 lines). (2) “Temperature from color”: the same templates using only the overall continuum shape.

Rerun this evaluation

node spectra/eval/eval_sdss.mjs     # downloads 11 SDSS spectra (~2 MB) on first run
node --test spectra/test/            # parsers, template library, picture reader, known stars

Results file: spectra/eval/results.json. Templates are rebuilt from the SDSS file with spectra/tools/build_templates.mjs.

INVESTIGATION 03 · NEW ASTEROIDS

Which unconfirmed candidates are real near-Earth objects?

Open the live dashboard →

WHAT THE PROBABILITY MEANS, AND DOESN'T

  • P(real NEO) is the chance that a candidate on the Minor Planet Center's confirmation page turns out to be a genuine near-Earth object, rather than junk (artifacts, satellites, stars, lost objects) or an ordinary main-belt asteroid.
  • It is not an impact probability. Nothing in this model estimates whether anything will hit Earth. Impact probabilities for known objects come from NASA JPL's Sentry system and are shown separately on the dashboard.

CORRECTION · 11 OCTOBER 2026

The first retrain on 11 October reported a ROC-AUC of 0.97. That number was wrong: some inputs described how each candidate changed on the confirmation page until it left, and leaving the page is the outcome itself, so the model was partly reading the answer. Those inputs are now excluded, and the model only sees what is known when a candidate is first posted. Every number on this page and the dashboard comes from the corrected evaluation.

Ranking quality on newer candidates
ROC-AUC on the held-out time split (0.5 = coin flip)
Modeldigest2 alone
The one evaluation quoted everywhere on SpaceSift: trained on older candidates, tested once on newer ones it never saw.
Junk excluded while keeping real NEOs
Share of non-NEOs dropped at a strict setting (≥99% of real NEOs kept)
Modeldigest2 aloneA&A 2025 benchmark
This is the operating point that matters for observers: drop as much junk as possible without losing real objects.

ERRORS IN BOTH DIRECTIONS

    LIMITATIONS

    • Labels are noisy: “not confirmed” includes some real NEOs that were simply lost; “designated other” is assumed not to be an NEO.
    • Few junk examples: most negatives are ordinary main-belt asteroids, and the MPC deletes tracklets of unconfirmed objects, so the hardest junk can't be backfilled.
    • One test period (a few hundred candidates over a few weeks), so numbers carry real error bars and may shift as the sky and the surveys change.
    • Probabilities are not calibrated (class-balanced training); treat them as a ranking.
    Full methodology: data, method, baselines, detailed results and how to rerun

    DATA

    Twice-daily captures of the MPC confirmation page since July 2026 (3,326 resolved outcomes). Labels from the MPC's Previous-NEOCP list: designated NEO = 1; not confirmed, not real, artificial, star or main-belt = 0.

    METHOD

    Gradient-boosted trees (LightGBM DART, about 60 inputs: digest2 orbit-class scores, motion, brightness, sky position and observatory, all as known at first posting). Tested on a time split: trained on older candidates, scored once on newer ones. Random-fold cross-validation is computed too but not quoted, because it mixes old and new candidates and flatters the model.

    BASELINE

    The digest2 score alone, the standard tool observers already use to judge whether a candidate looks like a near-Earth object.

    Rerun training and evaluation

    # needs digest2 (github.com/Smithsonian/digest2) built into ./d2
    pip install numpy scikit-learn lightgbm
    python src/features.py ./d2 && python src/dataset.py
    python src/train.py          # time-split test, held-out report, model -> models/vetting_model.pkl
    python src/predict.py ./d2 && python src/make_dashboard.py

    Runs automatically every Monday (GitHub Actions: neocp-retrain); results in outputs/training_results.json.

    PHYSICS LAB 04 · GRAVITATIONAL WAVES

    How often does a LIGO-style search find a black-hole merger in noise, and how often is it fooled?

    Open the Gravitational Wave Lab →
    Hidden mergers found, by loudness
    200 hidden mergers at each signal-to-noise ratio, with 95% intervals
    A merger counts as found only if the search crosses the threshold at the right time (within 0.1 s). Dashed: the detection threshold on the match score.
    Fooled by pure noise
    False alarms in noise-only stretches the threshold was not tuned on
    The threshold was set on one set of noise; this checks it on a second, independent set.

    ERRORS IN BOTH DIRECTIONS

      LIMITATIONS

      • Simulated, idealized noise. Real detector noise has glitches that can mimic chirps; that is why LIGO requires SNR around 8 and agreement between two detectors.
      • Inspiral-only templates at leading (Newtonian) order, equal masses, no spin, no merger or ringdown.
      • One detector, 4-second stretches. False-alarm rates are per stretch; LIGO quotes them per year of data, which needs far higher thresholds.
      • A replication, not a discovery: this shows how the method behaves, using simulated data modelled on GW150914.
      Full methodology: data, method, checks and how to rerun

      DATA

      Simulated whitened detector noise, 4 s at 1,024 samples per second. Hidden mergers: equal-mass inspiral chirps from 25 Hz to the last stable orbit, chirp mass 15–60 M☉, random start time and phase, scaled to a chosen optimal SNR.

      METHOD

      Matched filter: 48 templates from 15 to 60 M☉, each correlated with the data at every start time by Fourier transform (two phases, so the unknown phase doesn't matter). The loudest match is the detection statistic.

      CHECKS

      Threshold = 99th percentile of the loudest match in 2,000 noise-only stretches, then tested on 2,000 different ones. Completeness from 1,800 hidden mergers. All seeds are fixed, so the run is reproducible.

      Rerun this evaluation

      node gw/eval/run.mjs        # about 3 minutes: 5,800 searches -> gw/eval/results.json
      node gw/test/gw.test.mjs    # engine checks: chirp physics, filter, threshold, completeness

      Results file: gw/eval/results.json. Engine: gw/gw.js, the same code the lab runs in your browser.

      PHYSICS LAB 05 · DARK MATTER

      Can the matter we can see explain how fast real galaxies spin?

      Open the Dark Matter Detective →
      Which explanation fits
      Galaxies, out of the SPARC quality sample
      Visible matter onlyVisible matter + dark halo
      "Fits well": reduced χ² of 2 or less. Visible matter only also has to keep its stars believably light (mass-to-light ratio at most 1 at 3.6 µm).
      How much more mass than we can see
      Total mass inside the outermost measured radius ÷ visible mass, one count per galaxy
      Total mass from the rotation speed (M = v²r/G); visible mass from stars at the stellar-population mass-to-light ratio, plus gas.

      ERRORS IN BOTH DIRECTIONS

        LIMITATIONS

        • One halo shape (pseudo-isothermal) and a fixed stellar mass-to-light ratio for the halo fit; other halo shapes fit some galaxies better.
        • It doesn't rule out modified gravity. The same data follow a tight relation between seen and observed acceleration, which theories like MOND also predict; the lab shows that relation too.
        • Data systematics: distances, inclinations, warps and non-circular motions all shift the measured speeds, and quoted errors may be too small.
        • A replication, not a discovery: the missing-mass problem has been known since the 1970s; this lets you check it yourself on real data.
        Full methodology: data, method, checks and how to rerun

        DATA

        SPARC (Lelli, McGaugh & Schombert 2016): rotation curves and 3.6 µm photometry for 175 galaxies. The standard quality cut (quality flag below 3, inclination 30° or more) leaves 153.

        METHOD

        Visible matter only: gas plus stars, with the stellar mass-to-light ratio free (the most generous case for "no dark matter"). With a halo: stars at the stellar-population value (0.5), gas, plus a pseudo-isothermal halo with free density and core radius. Both fit by χ².

        CHECKS

        The engine reproduces textbook cases (NGC 3198's flat curve, the dark-matter-dominated dwarf DDO 154) and the published 153-galaxy sample size. The run is deterministic.

        Rerun this evaluation

        node darkmatter/eval/run.mjs        # about 1 second -> darkmatter/eval/results.json
        node darkmatter/test/dm.test.mjs    # physics checks and known galaxies

        Results file: darkmatter/eval/results.json. Engine: darkmatter/dm.js, the same code the lab runs in your browser.