Transit Trials

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".

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)
  1. K0 star not already a TOI/CTOI host
  2. K1 not a strictly periodic signal at a whole or half multiple (0.5-10 x) of the period of a SPOC TCE on this star
  3. C_ntr at least 3 passages in the data
  4. C_seen at least 3 passages each show their own dip of 3 sigma or more
  5. C_depth dip between 0 and 5% deep
  6. C_single no single passage carries 20 points more of the signal than its length and noise entitle it to
  7. C_consistency median / mean passage depth above 0.5
  8. C_missing at most a third of predicted passages show no dip
  9. C_phase crossings spread over the binary's cycle (not the binary's own eclipse leftovers)
  10. C_stat combined 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)
  1. G0_stat G0 search statistic above null
  2. G0b_known G0b not TOI/CTOI/known planet
  3. G0b_tce G0b not SPOC TCE
  4. G1_depth G1 depth>0
  5. G1_snr G1 SNR>7
  6. G1_oe G1 odd-even<3sig (scatter errors)
  7. G1_sec G1 secondary<3sig
  8. G1_oot G1 OOT chi2<3
  9. G1_rot G1 not rotation
  10. G1_echo G1 not a starspot echo (n x or 1/n x spin)
  11. G1_single G1 no single event>max(30%,1.5/N)
  12. G1b_consistency G1b median/mean transit depth>0.5
  13. G1_seasons G1 >=2 seasons, each SNR>2
  14. G2_ntr G2 >=3 transits
  15. G3_size G3 giant size 8-22.4 Re
  16. G4_dur G4 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)
  1. G0_stat G0 search statistic above null
  2. G0b_known G0b not TOI/CTOI/known planet
  3. G0b_tce G0b not SPOC TCE
  4. G1_depth G1 depth>0
  5. G1_snr G1 SNR>7
  6. G1_oe G1 odd-even<3sig (scatter errors)
  7. G1_sec G1 secondary<3sig
  8. G1_oot G1 OOT chi2<3 (or red<3 and leftovers <3% of dip)
  9. G1_rot G1 not rotation
  10. G1_echo G1 not a starspot echo (n x or 1/n x spin)
  11. G1_single G1 no single event>max(30%,1.5/N)
  12. G1b_consistency G1b median/mean transit depth>0.5
  13. G1_seasons G1 >=2 seasons, each SNR>2
  14. G2_ntr G2 >=3 transits
  15. G3_size G3 Rp<8 Re
  16. G4_dur G4 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)
  1. S1 box length >= 0.9 x max(2, 8.4 P^(1/3)) min and <= min(84 P^(1/3) min, 25% of the period)
  2. S0r dip/bump ratio (summed S/N^2 real / upside-down at the same period) > 3
  3. S2 >= 2 sectors and no sector > 60% of the summed S/N^2 (one sector = unmeasured)
  4. S0 SDE (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.24
  5. SES single 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)
  1. K0 star not a TOI/CTOI host
  2. K1 no SPOC TCE transit within 0.3 d
  3. C0 metrics computed
  4. C1 C1
  5. C2 C2
  6. C3 C3
  7. C4 C4
  8. C5 C5
  9. C6 C6
  10. C7 C7
  11. C8 no bump (2 bins >4 sig or 1 >6 sig) within 1 d
  12. C10 C10
  13. C9 C9
  14. P1 P1
  15. P2 P2
  16. A1 no known asteroid V<=19 within 3' (SkyBoT VOTable, C57; geocentric 20' fallback)
  17. SES SES
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)
  1. 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)'}
  2. 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'}
  3. 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)
  1. W1 box length >= 0.9 x max(2, 2.8 P^(1/3)) min and <= 60 min
  2. W0r dip/bump ratio (summed S/N^2 real / upside-down at the same period) > 3
  3. W2 >= 2 sectors and no sector > 60% of the summed S/N^2 (one sector = unmeasured)
  4. W0 SDE (running median/MAD in log P) > 106.52 = maximum of the upside-down run after W1-W2 (155 null peaks, 6,041 stars)
  5. SES single dips (2-64 min boxes, depth <= 120%, >= 2 points): SES > 312.0 = upside-down maximum