Skip to content

test(coordinators): expand Batch 3 coverage across 11 coordinators - #477

Open
MarkSant wants to merge 1 commit into
mainfrom
test-coverage-batch3
Open

test(coordinators): expand Batch 3 coverage across 11 coordinators#477
MarkSant wants to merge 1 commit into
mainfrom
test-coverage-batch3

Conversation

@MarkSant

Copy link
Copy Markdown
Owner

Summary

Expands coordinator test coverage across 11 coordinator files in DRerio LogAI, adding comprehensive coverage for video selection, multi-aquarium outputs, live calibration auto-detection/fallback, project lifecycle sessions, OpenVINO diagnostics, external Arduino triggers, recording flows, and summary parquet aggregation.

Key Changes

  • New Test Suite: \ ests/coordinators/test_video_selection_and_completion_mixins.py\ (22 tests covering selection, candidate extraction, multi-aquarium filtering, task explosion, and completion registration).
  • Expanded Test Suites:
    • \ est_multi_aquarium_coordinator.py: Added \TestRelocateResultsFolders\ and \TestResolveSingleAnimalMode\ (80.50% coverage).
    • \ est_live_calibration_coordinator.py: Added \TestPrepareZonesForLiveSession\ and \TestPolygonSourceManagement\ (69.33% coverage).
    • \ est_project_lifecycle_coordinator_unit.py: Added \TestCalibrationSessionsAndDefaults\ (79.24% coverage).
    • \ est_model_diagnostics_coordinator.py: Added \TestOpenVINODiagnosticsAndFormatting\ (86.85% coverage).
    • \ est_live_camera_session_coordinator.py: Added \TestArduinoExternalTriggerFlows\ and \TestFindVideoInLiveSession\ (58.52% coverage).
    • \ est_live_batch_coordinator.py: Added \TestUnifiedReportGeneration\ and \TestCollectMultiAquariumOutputs\ (91.88% coverage).
    • \ est_recording_session_coordinator.py: Added \TestStartRecordingDetailsAndExplicitPath\ (92.68% coverage).
    • \ est_detector_setup_coordinator.py: Added \TestConfigureZonesAndParamUpdates\ (87.72% coverage).
    • \ est_ui_state_coordinator.py: Added \TestProcessingUIAndDiagnostics\ and \TestSetActiveWeightExtended\ (92.52% coverage).
    • \ est_report_generation_coordinator.py: Added \TestProcessOneAquariumSummary\ (73.92% coverage).

Verification

  • Total Coordinator Tests: 804 passed, 0 failed in ~39.69s.
  • Linters & Types:
    uff format,
    uff check, and \mypy\ clean pass across all 34 coordinator test files.

Copilot AI lite review requested due to automatic review settings August 16, 2026 00:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants