Skip to content

TloGuards ​

Argument domains of the transmitted-LO engine, and its two refusals

9/9 passed in 1ms

TestWhat it doesResult
test_calib_slotstlo_calib refuses a non-positive power on either read, a non-positive calibration slope and a negative electronic floor.✅ pass
test_cov_refusestlo_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_symbolrun_tlo refuses a multiplexing delay longer than one symbol period, where consecutive Wiener increments overlap.✅ pass
test_estimate_slotstlo_estimate refuses a transmittance or efficiency outside (0, 1], a negative excess noise and a non-positive shot-noise ratio.✅ pass
test_monitor_refusestlo_monitor refuses a sample count whose resolution reaches the whole shot-noise unit, and refuses n = 1.✅ pass
test_pipeline_needs_a_grouprun_tlo refuses a run shorter than the pipeline's reduction group.✅ pass
test_pipeline_slotsrun_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_slotstlo_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_slotstlo_shot refuses a non-positive LO, a transmittance outside (0, 1] on either arm, and a negative electronic noise.✅ pass