Safeguards
Tests are run by code, and code can be wrong in ways that quietly let things through. These checks are there so that a mistake shows up instead of becoming a claim on this site.
The checks
Tests are run by code, and code can be wrong in ways that quietly let things through. Two real bugs were caught this way: a missing value that passed a check because of how Python compares numbers, and a missing catalogue answer that counted as "no match".
Frozen cutoffs
Every pass/fail cutoff lives in a numbered file with its fingerprint in a registry. A test fails if a used file is ever edited; a change becomes a new version. Nobody can quietly loosen a threshold to rescue a favourite.
Known-answer stars
The gate code must reproduce what really happened on 15 real stars, pass the one vetted planet candidate, and catch two known false positives that an older rule let through.
Every rule must matter
Each gate is fed a fake built to fail it, and each is switched off in turn to check that some test notices. A rule nothing depends on protects nothing.
Unmeasured is not a pass
An archive outage, a timeout, an empty file or a missing value blocks a candidate instead of waving it through.
Thresholds from a null run
Detection cutoffs come from running the same search on upside-down data, not from habit. The old habitual cutoff turned out to let about 850 noise-only stars through.
Recompute
Every headline number is recomputed from raw output, with its source file named next to it.
Stability
Tiny nudges to the inputs do not change a result, and the same input always gives the same result.
Provenance
Each run saves which code, data, cutoffs, packages and AI model produced it.
The repository runs these checks with pytest tests before any change is accepted.
The frozen cutoffs
Pass/fail cutoffs live in numbered files that are never edited after use. A change becomes a new version with a written reason, and a test fails if a registered file is altered. The lists below are read straight from the current files in calibration/.
The current search cutoffs, each set by the strongest signal the upside-down null run produced: a repeating dip must score above 12.0 season by season or 14.86 with all data together (calibration/periodic_gates_v4.yaml). A single dip must score above 30.93 if it lasts under 6 hours and 11.03 if it lasts longer (calibration/single_transit_gates_v2.yaml). These hold for the samples they were measured on; a new search measures its own.
Circumbinary gates, version 1 (10 gates, circumbinary_gates_v1.yaml)
K0star not already a TOI/CTOI hostK1not a strictly periodic signal at a whole or half multiple (0.5-10 x) of the period of a SPOC TCE on this starC_ntrat least 3 passages in the dataC_seenat least 3 passages each show their own dip of 3 sigma or moreC_depthdip between 0 and 5% deepC_singleno single passage carries 20 points more of the signal than its length and noise entitle it toC_consistencymedian / mean passage depth above 0.5C_missingat most a third of predicted passages show no dipC_phasecrossings spread over the binary's cycle (not the binary's own eclipse leftovers)C_statcombined signal above the upside-down null of the 282 binaries, per class of passage count
Deep tests, version 8 (settings, deep_tests_v8.yaml)
Followup, version 1 (settings, followup_v1.yaml)
Gaia flags, version 1 (settings, gaia_flags_v1.yaml)
Giant gates, version 1 (16 gates, giant_gates_v1.yaml)
G0_statG0 search statistic above nullG0b_knownG0b not TOI/CTOI/known planetG0b_tceG0b not SPOC TCEG1_depthG1 depth>0G1_snrG1 SNR>7G1_oeG1 odd-even<3sig (scatter errors)G1_secG1 secondary<3sigG1_ootG1 OOT chi2<3G1_rotG1 not rotationG1_echoG1 not a starspot echo (n x or 1/n x spin)G1_singleG1 no single event>max(30%,1.5/N)G1b_consistencyG1b median/mean transit depth>0.5G1_seasonsG1 >=2 seasons, each SNR>2G2_ntrG2 >=3 transitsG3_sizeG3 giant size 8-22.4 ReG4_durG4 duration ratio 0.25-2
Kepler, version 2 (settings, kepler_v2.yaml)
Lamost, version 1 (settings, lamost_v1.yaml)
Periodic gates, version 7 (16 gates, periodic_gates_v7.yaml)
G0_statG0 search statistic above nullG0b_knownG0b not TOI/CTOI/known planetG0b_tceG0b not SPOC TCEG1_depthG1 depth>0G1_snrG1 SNR>7G1_oeG1 odd-even<3sig (scatter errors)G1_secG1 secondary<3sigG1_ootG1 OOT chi2<3 (or red<3 and leftovers <3% of dip)G1_rotG1 not rotationG1_echoG1 not a starspot echo (n x or 1/n x spin)G1_singleG1 no single event>max(30%,1.5/N)G1b_consistencyG1b median/mean transit depth>0.5G1_seasonsG1 >=2 seasons, each SNR>2G2_ntrG2 >=3 transitsG3_sizeG3 Rp<8 ReG4_durG4 duration ratio 0.25-2
Pma, version 1 (settings, pma_v1.yaml)
Prereg null, version 1 (settings, prereg_null_v1.yaml)
Sdb gates, version 1 (5 gates, sdb_gates_v1.yaml)
S1box length >= 0.9 x max(2, 8.4 P^(1/3)) min and <= min(84 P^(1/3) min, 25% of the period)S0rdip/bump ratio (summed S/N^2 real / upside-down at the same period) > 3S2>= 2 sectors and no sector > 60% of the summed S/N^2 (one sector = unmeasured)S0SDE (running median/MAD in log P) > 1354.10 = maximum of the upside-down run after S1-S2 (32 null peaks, 1,140 stars); set by the flipped 0.2666-d, +-20% wave of the known variable EC 21049-5649 (VSX DDE 98); next-highest null peak 227.24SESsingle dips (4-128 min boxes, depth <= 120%, >= 2 points): SES > 727.74 = upside-down maximum
Single transit gates, version 4 (17 gates, single_transit_gates_v4.yaml)
K0star not a TOI/CTOI hostK1no SPOC TCE transit within 0.3 dC0metrics computedC1C1C2C2C3C3C4C4C5C5C6C6C7C7C8no bump (2 bins >4 sig or 1 >6 sig) within 1 dC10C10C9C9P1P1P2P2A1no known asteroid V<=19 within 3' (SkyBoT VOTable, C57; geocentric 20' fallback)SESSES
Star params, version 1 (settings, star_params_v1.yaml)
Ttv gates, version 1 (settings, ttv_gates_v1.yaml)
Vetting gates, version 1 (3 gates, vetting_gates_v1.yaml)
gaia_eb_neighbour{'label': 'No Gaia DR3 eclipsing binary next door at the same period', 'radius_arcsec': 120, 'min_sep_arcsec': 2, 'ratios': [1, 2, 0.5], 'tolerance': 0.005, 'brightness_rule': 'depth <= 10**(-0.4 * (G_neighbour - G_target))', 'held_out': '0/623 planets failed, 62/502 false positives caught (13 that pass every established test)'}gaia_rv_scatter{'label': 'Gaia RV epoch scatter not larger than a planet allows', 'applies_to': 'rv_method_used == 1 (G_RVS <~ 12); otherwise unmeasured', 'statistic': 'radial_velocity_error * sqrt(2 * rv_nb_transits / pi) [km/s]', 'cut_kms': 8.4157, 'held_out': '8/484 planets failed (mostly M dwarfs near the RVS limit, hot fast rotators, known binaries), 96/380 false positives caught'}gaia_rv_katz{'label': 'Gaia RV not variable (Katz et al. 2023 cut); informational, borderline', 'rule': 'fail if rv_chisq_pvalue < 0.01 and rv_renormalised_gof > 4 and rv_nb_transits >= 10', 'held_out': '13/477 planets failed (2.7%; 3.4% over both halves), 102/378 false positives caught'}
Wd gates, version 1 (5 gates, wd_gates_v1.yaml)
W1box length >= 0.9 x max(2, 2.8 P^(1/3)) min and <= 60 minW0rdip/bump ratio (summed S/N^2 real / upside-down at the same period) > 3W2>= 2 sectors and no sector > 60% of the summed S/N^2 (one sector = unmeasured)W0SDE (running median/MAD in log P) > 106.52 = maximum of the upside-down run after W1-W2 (155 null peaks, 6,041 stars)SESsingle dips (2-64 min boxes, depth <= 120%, >= 2 points): SES > 312.0 = upside-down maximum