Spaces:
Sleeping
Sleeping
Commit History
-
feat: Add support for local audio validation testing
- Add AudioFetchService.fetch_local(local_audio_path) method - Load audio from local filesystem for testing - Support for .wav, .mp3, .flac, .ogg, .m4a formats - Caching via ephemeral cache manager - Error handling for missing/unsupported files - Add 4 unit tests for local audio fetch: - test_fetch_local_loads_local_audio_file - test_fetch_local_caches_on_second_call - test_fetch_local_raises_on_nonexistent_file - test_fetch_local_raises_on_unsupported_format - Add 5 integration tests for local audio validation workflow: - test_load_local_audio_segment_and_create_detection - test_fetch_local_audio_and_validate - test_validate_multiple_local_audio_segments - test_validation_table_with_local_segments - test_local_audio_cache_reuse Features: - Local audio fixtures generated in tests - Full validation workflow tested with local segments - Cache reuse verified across multiple loads - Integration with existing detection/validation pipeline Test coverage: +9 new …cdaafcb