104: C/I scaling, validation rules + CI fix #44
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/104-ci-validation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Step 104 — C/I scaling, power computation, validation rules
Also fixes the CI failure caused by
test_import_headlesscrashing on slim containers where Tkinter's C extension (_tkinter) is missing.Changes
src/testgnss/ci.py— C/I scaling module:estimate_power()— mean squared magnitudecompute_interference_gain()— power-referenced scaling factorapply_interference()— composite signal with truncated common lengthsrc/testgnss/validation.py— T1–T7 validation rules plusValidationErrorexceptiontests/test_testgnss_ci.py— 15 tests (constant/noise power, C/I accuracy, zero-power rejection, length mismatch)tests/test_testgnss_validation.py— 29 tests (all T-rules, all-pass valid cases, error properties)tests/test_testgnss_smoke.py— Fixtest_import_headless: catchImportErrorwhen_tkintershared library is absent (slim Docker containers)docs/done/Verification
Depends on: 102 (IQ file readers)
19cf9ad85b2ea2edcf25