Spaces:
Sleeping
Sleeping
Commit History
-
fix: pin huggingface_hub <1.0 for Gradio Spaces compatibility
58e1b5f -
fix: add Spaces metadata frontmatter to README
67890b5 -
ci: use HF_USERNAME and HF_SPACE_NAME secrets in space sync workflow
89594dc -
ci: add GitHub Action to sync validator app to Hugging Face Space
32f1ed1 -
chore: prepare validator app for Hugging Face Spaces deployment
556e10f
-
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 -
feat: Production hardening - CI/CD, integration tests, auth externalization
- Add GitHub Actions CI pipeline for automated testing - Add 3 integration tests for validation write, conflict detection, and filtering - Extend AuthService with 3 public APIs for user/project management - list_usernames(include_inactive=False) - upsert_user_project_role(username, project_slug, role) - remove_user_project_role(username, project_slug) - Refactor AdminPanel to use only public AuthService APIs - Externalize bootstrap configuration via JSON files - Add RuntimeConfig fields for projects_file_path, user_access_file_path, enable_demo_bootstrap - Add app_factory bootstrap loaders for projects and user access JSON - Move hardcoded demo data to configurable fallback - Update documentation with new environment variables and JSON examples - Fix: Remove TODO from admin_panel, remove dead _user_project_assignments field - Test coverage: +7 new tests (3 integration + 4 bootstrap/auth unit tests) All 95 tests passing, no regressions.3038fe7
-
docs(readme): add FAQ and troubleshooting guide
5977f61
-
chore(branding): standardize project naming to BirdNET-Validator-App
4f59433 -
chore: remove leftover non-essential planning artifacts
9e885e1 -
refactor: focus repository on validator app only
c85843b -
chore: bootstrap BirdNET uploader standalone repo
f5bcf37 -
feat(ui): add separate uploader frontend for BirdNET ingestion workflow
- Add new Gradio uploader app (app_uploader.py) on dedicated port - Implement upload UI with project/repo inputs, dry-run, and real upload actions - Support advanced options (batch, shard, retries, resume-state, report file) - Keep validation app isolated from ingestion heavy operations - Document separated workflow in README837d92e -
feat(report): add dry-run report JSON file for ingestion validation
94bdf6a -
feat(cli): implement ingest-segments execute mode with HF upload/indexing
- Add full execute path for ingest-segments (without --dry-run) - Upload matched segment audio to audio/segments in resumable batches - Reuse retry/backoff and resume state for robust uploads - Build and upload index shards from normalized matched rows - Update manifest.json with detection/audio counters and shard metadata - Upload ingestion audit report under audit/ingestion-runs - Extend parser options (batch-size, shard-size, retries, resume-state) - Keep dry-run behavior backward compatibleb572423 -
feat(cli): add ingest-segments dry-run matching for BirdNET CSV + segments tree
- Add new CLI command: ingest-segments - Implement phase-1 dry-run pipeline (no upload yet) - Parse BirdNET segment filenames and match CSV rows deterministically - Generate stable detection_key hash and normalized ingest-ready records - Return quality report metrics (matched/unmatched/ambiguous) - Optional JSON report output via --report-file - Add unit tests for parser, key generation, and dry-run matching090ffd1 -
docs(ingestion): add HF segments upload architecture and rollout plan
afa898b -
fix(ui): clear admin form fields after successful create/assign actions
9e6db16 -
fix(ui): reorder tabs and correct admin projects table rendering
- Move Admin tab to 2nd position and Project Selector to 3rd - Render projects table as row values instead of dict objects - Ensure refresh/create flows update table and project dropdown consistently8e2681b
-
docs(qa): add 5-minute smoke test runbook for pre-deploy checks
457d89f -
docs(qa): add Sprint 4 end-to-end checklist and sign-off template
eb75418 -
fix(ui): correct project selector and enforce admin permissions
- Fix project selector callback to return Gradio updates/values instead of components - Auto-select first authorized project after login to unblock validation tab - Hide admin controls for non-admin sessions - Enforce admin check in project refresh/create and user assignment callbacks - Add create project action in Admin tab (slug/name/repo_id) - Refresh project dropdown choices after project creation0a5e459 -
fix: correct demo project slug typo in app_factory test users
Changed 'dem o-project' to 'demo-project' for validator_demo user registration. This fixes the project slug to match the registered demo-project in the app.b77d31e -
test(acl): comprehensive ACL enforcement test suite with project isolation
- Add 12 tests for project-level data isolation in detection and validation repos - Test detection repository project isolation (4 tests): * List returns only project-specific detections * Count respects project boundaries * Filters applied within project isolation * Confidence filters respect project boundaries - Test validation repository project isolation (4 tests): * Save/load isolates validations by project * List events respects project boundaries * Optimistic locking is per-project scope * Nonexistent project returns empty snapshot - Test auth integration with repositories (4 tests): * Users see only authorized projects * Session contains only authorized projects * User roles isolated per project All tests use 16+ character detection_keys to pass Pydantic validationdc8a18a -
feat(ui): integrate auth into main app with multi-project tabs
- Renamed create_app to build_demo_app (project-specific validation UI) - Created new create_app that returns auth-integrated wrapper - Added tabs: Login → Project Selection → Admin → Validation - Session state management across tabs - Project-based context propagation - Admin panel with project and user management - Backward compatible with existing demo app structure All 74 tests passingf5f630b -
feat(auth): implement AuthService, login page, project selector, and admin panel
- Issue 14: AuthService for user authentication and session management - Issue 15: Project-level ACL enforcement with role-based access - Issue 16: Admin panel for managing projects and user assignments Features: - Multi-project user authorization with admin/validator roles - Session management with TTL and expiration tracking - Login Gradio component with UI feedback - Project selector with user's authorized projects - Admin panel for user-to-project assignments - 22 unit tests with 100% pass rate covering all auth scenarios All changes tested locally with pytest (22/22 tests passing)1f97573 -
fix(ui): type table select event callback to avoid gradio warnings
bc3166f -
feat(ui): use native date picker for updated-after filter
d7a6f4f -
feat(ui): add advanced filters (validator/status/date)
c4b2cd0 -
docs: add batch operations to sprint 3 status
5884108 -
feat(ui): add batch operations for conflicts (approve all/reject all)
7cc41ee -
docs: add keyboard shortcuts to sprint 3 status
cc5f912 -
feat(ui): add keyboard shortcuts for validation (1/2/3/4/R)
b9851b3 -
docs: update sprint status with conflict-only filter
4f83617 -
test/docs: cover conflict-only filtering behavior
8095268 -
feat(ui): add conflict-only table filter across validation flow
8d13b3e -
test/docs: assert explicit conflict severity markers
29494b1 -
feat(ui): strengthen conflict indicators with explicit severity
d170e95 -
test/docs: cover reapply conflict flow and update sprint status
83fe12c -
feat(ui): add conflict row flag and reapply validation action
8f555de -
test/docs: cover conflict refresh flow and update sprint status
47559a7 -
feat(ui): auto-refresh table and focus row after validation conflicts
9b4331d -
test/docs: cover optimistic concurrency conflict scenarios
922e525 -
feat(concurrency): add optimistic validation locking by expected version
a52e4fb -
test/docs: cover validation status reporting helpers
0680cb5 -
feat(ui): show current validation status and project report
dccb9dc -
test/docs: cover append-only validation persistence and update status
f505798 -
feat(persistence): add append-only validation event repository and wire UI
56d12ec -
feat(validation): implement validation service and in-memory repository for detection validations
bde5e4c -
feat(ui): implement audio loading and cache cleanup functionality in Gradio app
75d15f3