# Baseline for scripts/check_validation_times.py -- a RATCHET.
#
# Wall-clock seconds for each `sweep`-labelled validator's --check SPOT
# CHECK, the downselected run ctest performs on every push. Not the full
# sweep: that is `make validate-c` and is not timed here.
#
# WHY THIS EXISTS. The spot-check/full-sweep split was introduced because
# ratesync_scurve's full sweep was 81s and 78% of `make test-fast`; its
# subset is 11.8s and has held. Nothing generalised the rule, so three
# validators added in six days (2026-09-06..08) arrived with subsets of
# 87.0s, 58.7s and 53.5s -- 60% of the whole C suite, and the largest of
# them bigger than the full sweep that motivated the split in the first
# place. A rule that fixed one instance and gated nothing is a wish.
#
# TWO RULES, and they are about different things. Keeping them apart is
# the point -- the alloc-helper file once carried two that contradicted
# each other, and the first draft of this one repeated the mistake by
# promising a reason would permit something the code then refused.
#
#   1. THE RUN must come in under its recorded number (x2.0, see below).
#      No reason on the line changes that; a reason is not a mute button.
#   2. THE NUMBER may only SHRINK, unless the line carries a reason. That
#      is about the EDIT, and the gate detects a raise by diffing this
#      file against the base ref -- so a raise is reviewed as a raise.
#
# A sweep validator not listed here fails the gate: a new spot check has
# to state its cost, which is the whole point -- the three above were
# reviewed and merged without anyone seeing a number. Re-record with
#
#     make validation-time-baseline
#
# A time that stayed high after its validator got cheaper is a waiver
# outliving its reason, so the gate fails on that too.
#
# THESE ARE CI SECONDS, NOT YOURS. Recorded on the pinned CI image, which
# is where the gate is authoritative, and a dev box is much faster --
# measured 2026-09-12 across the same 34 checks:
#
#   CI 688.3s total against 293.1s on a 20-core workstation: 2.35x, and
#   per-test 1.9x to 2.8x (acq_surface_jitter 221.9s vs 87.0s).
#
# The first draft of this table held the WORKSTATION numbers, and with the
# 2.0x tolerance that would have gone red on nearly every substantial test
# the moment CI ran it -- for a reason that has nothing to do with the
# code. That is doppler#543's failure mode exactly: it removed a CI
# wall-clock gate whose verdicts reversed between CI and a dev box. It was
# caught here only because a missing `uv` stopped the job before the gate
# ran, which is luck, not design.
#
# So: the numbers are CI's, the gate FAILS only under --strict (set in the
# `sweep validators` job and nowhere else), and the stale-waiver check is
# strict-only too -- on a faster machine every entry would look stale and
# the report would be noise. Locally `make test-sweep` reports totals and
# nothing else, which is all a dev box can honestly say.
#
# The deterministic successor -- gate each validator's WORK COUNT, which is
# a property of the source and not of the machine -- is doppler#1328. The
# 2.35x above is the argument for it.
#
# Recorded 2026-09-12 from the `sweep validators` job, run 34712193774.

validate_async_dsss_receiver_release    19.7
validate_async_dsss_receiver_lock        4.6  # CI's sweep job on #2481: 4.6 s. #2473 added the certification's per-push evidence -- # quality at five Es/N0 and # falselock, 2 s of noise at each design point -- which the report's limits are asserted on; was 2.2 s
validate_async_dsss_receiver_ber        12.2  # CI's sweep job on #2497's merged head adac7522a: 12.19 s (12.16 on #2498, 13.81 on #2502). The 6.9 was 604ca903e's sweep job on a fast runner (whole sweep 494 s vs 911 s; every validator ~1.8x); same-box A/B of the two builds: 7.4 s both.
validate_async_dsss_receiver_lock_telemetry 1.7  # CI's sweep job on #2412: 1.65 s on the slower runner (790 s sweep); 0.89 s on the dev box
validate_async_dsss_receiver_loss        5.2  # NEW (#2495): CI's sweep job on #2514 at 8a173d473, 5.19 s (run 39374167462, job 118468498663; 668 s for the whole job). At 6d5b05384, one K fewer, 6.40 s on a slower runner (815 s, job 118459873543). Six bursts of 4 s at 5 dB, K = 4 and 8
validate_async_dsss_near_far            11.4  # NEW (#2731): CI's sweep job, after the rule-2 model's cache and recurrences, three samples 10.51-12.35 s (11.43 run 41394701823 job 125113456533; 10.51 run 41401213647 job 125133340227; 12.35 run 41404983946 job 125144978905). The --check subset of the near-far sweep: two emitters, rule 2 per cell, over the operating range
validate_power_to_db_sweep             40.0  # every float32 (#2094): one CI sample recorded 25.8; 9 PR runs 2026-11-02 spread 28.3-55.1 s on the same code (runner variance)
validate_acq_peak_list                  13.0  # CI sweep jobs 2026-11-02, 9.08 (125250692509) to 13.28 s on 8 jobs; 23.01 s (125048461499) was the pre-#2731 code on the 2046-lag grid, before the padded 2048 one. 13.0 keeps 23.0 under 2x and 9.1 over the 0.4 stale floor
validate_acq_surface                 1.8  # RE-RECORDED 2.6 -> 1.8 s from CI's own sweep logs on the pinned image, slowest recent run: 1.02 s (#2866 job 127137937639), 1.03 s (#2864 job 127179545031), 1.71 s (#2851 job 127011157208), 1.82 s (#2862 job 127134097604). 1.8 gives a 3.6 s limit; under 2.0 s it can never go stale. Was: NEW (#2526): CI's sweep job on 3e2715d1c, 1.68 s (job 119503044425) on a fast runner, 331 s for the whole sweep against 668-911 s on others; 2.6 keeps a runner 2.75x slower under the 2x tolerance. chi through the library's FFT, two windows' tables and two 600-symbol streams
validate_acq_template_pd                2.0  # prices the CFAR reference (doppler#1501): ~2x per construction
validate_capture_dwell_pd               2.7  # prices the CFAR reference (doppler#1501): ~2x per construction
validate_acq_rate_pd                   24.0  # MEASURED: 23.97 s in CI's sweep job 127004305376 (#2843 at ce814c01d), the rate search on the one delay-Doppler map (#2831); 93.07 s before it, in job 116442895466 (#2347 at 1469638d2)
validate_acq_rate_pd_pfa               12.9  # MEASURED: 12.92 s in CI's sweep job 127004305376 (#2843 at ce814c01d), on the one map (#2831); 51.87 s before it, in job 116442895466 (#2347)
validate_ratesync_scurve                22.1
validate_tracker_through_window         10.1
validate_acq_block_coherent             21.4  # its Pfa row went 100 -> 400 blocks (doppler#2218 review): +2.8 s here x the 2.35 CI factor, so it DETECTS the native pricing instead of pinning one draw
validate_costas_pullin                  11.9
validate_dll_aid_jitter                  4.2
validate_rx_battery                      9.0
validate_rx_coding_gain                  8.4
validate_refine_bias                     8.0
validate_carrier_mpsk_jitter             4.4
validate_ber_despreader                  3.7
validate_dll_jitter                      0.8
validate_mpsk_receiver_real_ber          0.9
validate_rx_frame_fer                    0.8
validate_costas_jitter                   0.7
validate_mpsk_receiver_ber               0.5
validate_carrier_nda_pullin              0.4
validate_symsync_lock                    0.3
validate_wfm_follow_keepup               0.3
validate_loop_filter_noise_bw            0.2
validate_mpsk_diff_penalty               0.2
validate_acq_emitter_floor               0.1
validate_carrier_mpsk_scurve             0.1
validate_carrier_nda_lock                0.1
validate_carrier_nda_scurve              0.1
validate_carrier_nda_step_response       0.1
validate_interleave_burst_gain           0.1
validate_lockdet_verify                  0.1
validate_wfm_field_explore               0.1
validate_wfmgen_certify                  0.1
