TloGuards
Argument domains of the transmitted-LO engine, and its two refusals
9/9 passed in 1ms
| Test | What it does | Result |
|---|---|---|
test_calib_slots | tlo_calib refuses a non-positive power on either read, a non-positive calibration slope and a negative electronic floor. | ✅ pass |
test_cov_refuses | tlo_cov refuses a ratio past the zero crossing, while tlo_estimate still hands the negative excess noise back as the attack signature. | ✅ pass |
test_delay_past_the_symbol | run_tlo refuses a multiplexing delay longer than one symbol period, where consecutive Wiener increments overlap. | ✅ pass |
test_estimate_slots | tlo_estimate refuses a transmittance or efficiency outside (0, 1], a negative excess noise and a non-positive shot-noise ratio. | ✅ pass |
test_monitor_refuses | tlo_monitor refuses a sample count whose resolution reaches the whole shot-noise unit, and refuses n = 1. | ✅ pass |
test_pipeline_needs_a_group | run_tlo refuses a run shorter than the pipeline's reduction group. | ✅ pass |
test_pipeline_slots | run_tlo refuses a negative modulation, excess noise, electronic noise, linewidth, delay or jitter, a transmittance or efficiency outside (0, 1], and a non-positive symbol rate. | ✅ pass |
test_range_slots | tlo_range, tlo_phase and tlo_leak refuse their own domains: a non-positive half-range or unit ratio, a negative linewidth or delay, and a leak fraction outside [0, 1]. | ✅ pass |
test_shot_slots | tlo_shot refuses a non-positive LO, a transmittance outside (0, 1] on either arm, and a negative electronic noise. | ✅ pass |