- Implement tests for retrieving a student's assignments, focus practices, finals, and returned worksheets in `test_my_tasks.py`.
- Ensure that the task list correctly reflects only the student's assignments and submissions.
- Add tests for quiz modes in `test_quiz_modes.py`, covering final quiz windows, sitting management, and grade release processes.
- Validate that only the class teacher can open final quiz windows and that practice is blocked while a final is active.
- Test the handling of photo submissions and the behavior of quiz sittings after deadlines.
9 days ago
Add end-to-end tests for worksheets functionality with Playwright
- Implement tests for teacher and student interactions with assignments and worksheets.
- Cover scenarios including PDF upload, photo submissions, grading, and worksheet removal.
- Ensure proper handling of errors and UI feedback during the workflow.
- Validate the visibility of classes and assignments for teachers and students.
10 days ago
Add tests for drafting and reviewing student answers
- Implement tests for the drafting of worked examples in `test_draft_examples.py`, ensuring well-formed drafts are generated for skills without examples, and that the model's responses are validated.
- Create tests in `test_teacher_review.py` to cover the teacher's review process of student answers, including handling review requests, score validation, and ensuring proper access control for teachers and students.
- Ensure that the tests cover various scenarios, including error handling and edge cases, to maintain robustness in the review and drafting functionalities.
11 days ago
feat: add misconception patterns tracking and UI enhancements
- Introduced a new log for tracking misconceptions across multiple-choice answers, capturing details such as skill, question, and activity type.
- Implemented a "patterns that come back" card on the math home screen to display recurring misconceptions, enhancing student feedback.
- Developed a patterns sheet that shows detailed information about misconceptions, including tips and practice links.
- Updated the UI to reflect these changes, ensuring a consistent user experience.
- Added tests to validate the new functionality and ensure existing features remain unaffected.
- Modified database schema to accommodate new scan states for answer submissions.
13 days ago
feat: implement spaced review feature and enhance mistake handling in skill assessments
- Changed the default view from "home" to "path" in math.js.
- Updated the subject selection logic to set the view correctly.
- Introduced a daily goal button and a streak calendar for better user engagement.
- Modified the path and collection views to include new daily and exam tracking features.
- Adjusted the top bar to display additional statistics related to stars and comets.
Enhance tests for math skills and sky browser
- Updated geometry units to include new identifiers.
- Adjusted tests to reflect changes in the algebra graph structure.
- Added tests to ensure no unit has more than six subunits.
- Modified sky browser tests to validate the new streak calendar and home view functionality.
- Ensured that the home view displays the correct tally and opens at the next skill.
Add tests for open-ended questions, math sky features, and comet interactions
- Implement test for default locking of open-ended questions and grading key behavior.
- Enhance phone browser tests to ensure navigation and visibility of math skills.
- Introduce new JavaScript file for math sky features, including star and comet mechanics.
- Create math TeX rendering functionality for displaying mathematical expressions.
- Add comprehensive browser tests for night sky features, including star progression and comet collection.