- Introduced a "Driving Mode" button in the learning dialog for enhanced user experience.
- Implemented logic to manage learning rounds, allowing users to resume or clear their progress.
- Added visual feedback for driving mode status and integrated audio prompts for learning words.
- Ensured proper state management for learning sessions, including wake lock handling for mobile devices.
9 days ago
Enhance GOP pooling and grading pipeline with new rules and configurations
- Updated `gop-pooling.md` to clarify the context for consonants in token alignment.
- Added new grading rules for unmarked short vowels, final b devoicing, and word-final vowel linking in `grading-pipeline.md`.
- Modified `trace-schema.ts` to include new exemptions in the TraceConfig interface.
- Enhanced UI in `trace.html` and `index.html` to support new frame playback features and display additional exemption information.
- Improved tests in `test_gop_pooling.py`, `test_scoring.py`, and `test_minerva_import.py` to validate new grading rules and ensure correct behavior of the scoring system.
Add system activity tracking and display to the dashboard
- Introduced a new API call to fetch system activity data.
- Added a new section in the UI to display recent system events with appropriate labels and icons.
- Enhanced error handling for system activity loading.
- Updated activity statistics to include a summary of total attempts and active students.
- Improved accessibility and user feedback during data loading.
Refactor Minerva import script to use metadata and improve functionality
- Removed hardcoded video data and replaced it with dynamic loading from `data/minerva_metadata.json`.
- Updated the `phrases` function to handle metadata and return structured data for each reviewed line.
- Modified command-line arguments to allow importing specific YouTube IDs.
- Enhanced validation checks to ensure the integrity of imported lines.
- Updated tests to reflect changes in the import logic and ensure coverage for new functionality.
Add comprehensive tests for the Tutor module in test_tutor.py
- Implement tests to verify lesson scenarios and their corresponding lines.
- Ensure vocabulary expands correctly with each lesson.
- Validate conversation flow, including turn handling and summary generation.
- Test for new words and their recognition in lessons.
- Check that corrections without changes are ignored.
- Confirm that only teachers can initiate sessions until opened.
- Validate daily limits based on stored data.
- Ensure conversations are restricted to the respective students.
- Implement input validation for start parameters.
- Handle refused answers appropriately without counting them.
Add tests for GOP pooling and windowing functionality
- Implemented tests for GOP frame pooling in `test_gop_pooling.py` to validate the scoring of synthetic CTC emissions, including various scenarios for vowel and consonant recognition.
- Created tests for class-based GOP windows in `test_gop_window.py`, ensuring proper handling of vowel and consonant transitions, substitutions, and deletions.
- Added a test for the Minerva import functionality in `test_minerva_import.py` to verify the integrity of the pilot manifest and associated phrases.