[AZ-234] [AZ-235] [AZ-236] [AZ-237] Add replay tests

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-05-05 06:24:10 +03:00
parent c30fd4f67d
commit 5acd14b792
12 changed files with 616 additions and 3 deletions
@@ -0,0 +1,43 @@
# Batch Report
**Batch**: 12
**Tasks**: AZ-234_replay_geolocation_confidence_tests, AZ-235_vio_replay_performance_tests, AZ-236_satellite_anchor_cache_tests, AZ-237_mavlink_blackout_spoofing_tests
**Date**: 2026-05-05
## Task Results
| Task | Status | Files Modified | Tests | AC Coverage | Issues |
|------|--------|---------------|-------|-------------|--------|
| AZ-234_replay_geolocation_confidence_tests | Done | 2 files | 18 passed | 3/3 ACs covered | None |
| AZ-235_vio_replay_performance_tests | Done | 2 files | 18 passed | 3/3 ACs covered | None |
| AZ-236_satellite_anchor_cache_tests | Done | 2 files | 18 passed | 4/4 ACs covered | None |
| AZ-237_mavlink_blackout_spoofing_tests | Done | 2 files | 18 passed | 4/4 ACs covered | None |
## AC Test Coverage: All covered
- AZ-234 AC-1: `test_expected_coordinate_loader_rejects_invalid_wgs84_rows`, `test_still_image_replay_reports_coordinate_thresholds_and_latency`
- AZ-234 AC-2: `test_confidence_contract_validation_fails_missing_source_label`, `test_still_image_replay_reports_coordinate_thresholds_and_latency`
- AZ-234 AC-3: `test_still_image_replay_reports_coordinate_thresholds_and_latency`
- AZ-235 AC-1: `test_derkachi_alignment_validator_accepts_expected_fixture_shape`, `test_derkachi_alignment_validator_blocks_duration_drift`
- AZ-235 AC-2: `test_public_vio_replay_boundary_emits_frame_by_frame_estimate`
- AZ-235 AC-3: `test_public_dataset_and_calibration_prerequisites_are_reported_blocked`
- AZ-236 AC-1: `test_verified_anchor_includes_retrieval_matching_and_provenance_evidence`
- AZ-236 AC-2: `test_unsafe_cache_or_low_texture_candidates_never_emit_trusted_anchor`
- AZ-236 AC-3: `test_flight_mode_missing_cache_does_not_attempt_external_access`
- AZ-236 AC-4: `test_verified_anchor_includes_retrieval_matching_and_provenance_evidence`, `test_flight_mode_missing_cache_does_not_attempt_external_access`
- AZ-237 AC-1: `test_blackout_trace_transitions_to_dead_reckoned_then_no_fix`
- AZ-237 AC-2: `test_blackout_trace_transitions_to_dead_reckoned_then_no_fix`, `test_no_fix_estimate_is_not_emitted_as_confident_gps_input`
- AZ-237 AC-3: `test_unauthorized_mavlink_sources_are_rejected_by_test_assertion`
- AZ-237 AC-4: `test_qgc_status_and_fdr_evidence_are_visible_and_rate_limited`
## Code Review Verdict: PASS
## Auto-Fix Attempts: 0
## Stuck Agents: None
## Verification
- `python3 -m pytest tests/blackbox`: 18 passed.
- IDE lints: no errors on changed Python files.
- `python3 -m black ...` and `python3 -m ruff ...` could not run because those optional dev tool modules are not installed in the current interpreter.
## Next Batch: AZ-238, AZ-239