Skip to content

feat: exam mode + v2.0.0 release#49

Merged
heznpc merged 1 commit intomainfrom
feat/exam-mode-v2.0.0
Mar 17, 2026
Merged

feat: exam mode + v2.0.0 release#49
heznpc merged 1 commit intomainfrom
feat/exam-mode-v2.0.0

Conversation

@heznpc
Copy link
Owner

@heznpc heznpc commented Mar 17, 2026

Summary

  • Exam page detection: URL pattern matching (/quiz, /exam, /assessment, /certification) + DOM-based detection (quiz forms, answer option containers)
  • Answer choice protection: radio/checkbox labels and answer options are excluded from translation on exam pages to preserve academic integrity
  • Exam mode banner: fixed top banner warns users that answers are not translated
  • AI Tutor guard: shows integrity warning on exam pages before sending messages; page context tells Claude not to help with answers
  • Exam UI terms: 16 terms (Pass, Fail, Score, Retake, etc.) added to all 6 premium language dictionaries
  • Version bump: 1.0.1 → 2.0.0

Test plan

  • All 642 existing tests pass
  • Verify exam banner appears on quiz/assessment URLs
  • Verify answer choices are NOT translated on exam pages
  • Verify AI Tutor shows integrity warning on exam pages
  • Verify normal lesson pages still translate fully

🤖 Generated with Claude Code

- Detect exam/quiz/assessment pages via URL patterns and DOM selectors
- Skip translation of answer choices (radio/checkbox labels) on exam pages
- Show exam mode banner warning users that answers are not translated
- AI Tutor warns about academic integrity on exam pages
- Add exam UI terms (Pass/Fail/Score/Retake etc.) to all 6 language dicts
- Bump version to 2.0.0

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@heznpc heznpc merged commit 37e60f8 into main Mar 17, 2026
2 checks passed
@heznpc heznpc deleted the feat/exam-mode-v2.0.0 branch March 17, 2026 13:23
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.

1 participant