gbanyan
5879ae9768
test(06-03): unit tests for all validation modules
- Created test_validation.py with 13 comprehensive tests
- create_synthetic_scored_db helper: designs scores for known genes high, housekeeping low
- Tests for negative controls:
- test_compile_housekeeping_genes_structure
- test_compile_housekeeping_genes_known_genes_present
- test_validate_negative_controls_with_synthetic_data
- test_validate_negative_controls_inverted_logic
- Tests for recall@k:
- test_compute_recall_at_k
- Tests for sensitivity/perturbation:
- test_perturb_weight_renormalizes
- test_perturb_weight_large_negative
- test_perturb_weight_invalid_layer
- Tests for validation report:
- test_generate_comprehensive_validation_report_format
- test_recommend_weight_tuning_all_pass
- test_recommend_weight_tuning_positive_fail
- test_recommend_weight_tuning_negative_fail
- test_recommend_weight_tuning_sensitivity_fail
- All tests pass using synthetic DuckDB with tmp_path isolation
2026-02-12 04:50:17 +08:00
..
2026-02-11 16:24:35 +08:00
2026-02-11 19:06:49 +08:00
2026-02-11 19:06:49 +08:00
2026-02-11 19:03:10 +08:00
2026-02-11 19:03:10 +08:00
2026-02-11 16:25:46 +08:00
2026-02-11 16:24:35 +08:00
2026-02-11 19:07:30 +08:00
2026-02-11 19:07:30 +08:00
2026-02-11 16:33:36 +08:00
2026-02-11 18:20:59 +08:00
2026-02-11 18:14:41 +08:00
2026-02-11 16:42:13 +08:00
2026-02-11 19:08:01 +08:00
2026-02-11 19:08:01 +08:00
2026-02-11 19:05:22 +08:00
2026-02-11 19:05:22 +08:00
2026-02-12 03:59:26 +08:00
2026-02-11 16:31:51 +08:00
2026-02-11 19:07:30 +08:00
2026-02-11 19:07:30 +08:00
2026-02-12 04:07:34 +08:00
2026-02-12 04:00:21 +08:00
2026-02-11 20:54:39 +08:00
2026-02-11 20:54:39 +08:00
2026-02-12 04:50:17 +08:00
2026-02-12 03:57:50 +08:00