Major changes: - Textbook UI: chapter list, reader, and interactive exercise view (keyboard + Apple Pencil) surfaced under the Course tab. 30 chapters, 251 exercises. - Stem-change conjugation toggle on Week 4 flashcard decks (E-IE, E-I, O-UE). Uses existing VerbForm + IrregularSpan data to render highlighted present tense conjugations inline. - Deterministic on-device answer grader with partial credit (correct / close for accent-stripped or single-char-typo / wrong). 11 unit tests cover it. - SharedModels: TextbookChapter (local), TextbookExerciseAttempt (cloud- synced), AnswerGrader helpers. Bumped schema. - DataLoader: textbook seeder (version 8) + refresh helpers that preserve LanGo course decks when textbook data is re-seeded. - Local extraction pipeline in Conjuga/Scripts/textbook/ — XHTML chapter parser, answer-key parser, macOS Vision image OCR + PDF page OCR, merger, NSSpellChecker validator, language-aware auto-fixer, and repair pass that re-pairs quarantined vocab rows using bounding-box coordinates. - UI test target (ConjugaUITests) with three tests: end-to-end textbook flow, all-chapters screenshot audit, and stem-change toggle verification. Generated textbook content (textbook_data.json, textbook_vocab.json) and third-party source files are gitignored — re-run Scripts/textbook/run_pipeline.sh locally to regenerate. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
56 lines
924 B
Plaintext
56 lines
924 B
Plaintext
# Xcode
|
|
build/
|
|
DerivedData/
|
|
*.xcodeproj/xcuserdata/
|
|
*.xcworkspace/xcuserdata/
|
|
*.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
|
|
xcuserdata/
|
|
|
|
# Swift Package Manager
|
|
.build/
|
|
.swiftpm/
|
|
Packages/
|
|
|
|
# macOS
|
|
.DS_Store
|
|
*.swp
|
|
*~
|
|
|
|
# CocoaPods
|
|
Pods/
|
|
|
|
# Secrets / env
|
|
.env
|
|
*.p12
|
|
*.mobileprovision
|
|
|
|
# Archives
|
|
*.xcarchive
|
|
|
|
# Claude
|
|
.claude/
|
|
|
|
# Reference/research docs (not part of the app)
|
|
screens/
|
|
conjugato/
|
|
conjuu-es/
|
|
|
|
# Video scraping pipeline (kept locally for reruns, not committed)
|
|
scrape/
|
|
*.webm
|
|
*.mp4
|
|
*.mkv
|
|
|
|
# Third-party textbook sources (not redistributable)
|
|
*.pdf
|
|
*.epub
|
|
epub_extract/
|
|
|
|
# Textbook extraction artifacts — regenerate locally via run_pipeline.sh.
|
|
# Scripts are committed; their generated outputs are not.
|
|
Conjuga/Scripts/textbook/*.json
|
|
Conjuga/Scripts/textbook/review.html
|
|
# App-bundle copies of the textbook content
|
|
Conjuga/Conjuga/textbook_data.json
|
|
Conjuga/Conjuga/textbook_vocab.json
|