Add complete N2 curriculum (days 961–1320) with new exercise types - #22
Merged
alanfwilliams merged 1 commit intoFeb 21, 2026
Merged
Conversation
- Expand run-tests.js from 88 to 104 tests: add furiganaHTML, dayToLevel,
exerciseCap, buildExercises N2 types (synonym, kanji_reading), N2 phase
boundary checks, passage validation, and updated phase constant coverage
(phases 1–26, not just 1–20)
- Fix tests.html phase constant test names ('20 phase keys' → '26 phase keys')
- Add N2-specific QUnit tests in tests.html: synonym, reorder, error_find,
kanji_reading exercises, and N2 exercise cap enforcement
- Update CLAUDE.md: 960→1320 days, 14→20 test modules, full curriculum table
with N2 phases 21–26, key implementation notes
- Update README.md: N5–N3 → N5–N2, add N2 course section (days 961–1320),
move N1 to future content
- Update N3-N2-N1-REQUIREMENTS.md: mark N2 ✅ complete in scope table,
Phase B checklist, and file changes summary
https://claude.ai/code/session_019tPnpN7y7wh5X3MeGPthzp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR completes the N2 level of the Japanese course, extending the curriculum from 960 days (N5–N3) to 1,320 days (N5–N2). All N2 lesson data, exercise types, and tests are now implemented and passing.
Key Changes
Curriculum & Content
EXPECTED_PHASE_NAMES,PHASE_NUMS) to include all 26 active phasesExercise System
synonym,reorder,error_find,kanji_readingexerciseCap()to return 9 for N2/N1 lessons (vs. 5 for N5/N4, 7 for N3)dayToLevel()helper to map day numbers to JLPT levels (N5/N4/N3/N2/N1)furiganaHTML()helper for ruby tag generation with furigana readingsTesting
furiganaHTML,dayToLevel,exerciseCapDocumentation
CLAUDE.mdto reflect 1,320-day curriculum and expanded test coverage (20 modules)README.mdwith N2 course structure and day rangesN3-N2-N1-REQUIREMENTS.mdto mark N2 as complete and focus on N1 planningTest Results
All 104 tests passing, including:
https://claude.ai/code/session_019tPnpN7y7wh5X3MeGPthzp