Commit Graph

4 Commits

Author SHA1 Message Date
Denis Defolie 26d588f1bc Add 2 dictées for the accords-du-groupe-nominal chapter
Only 1 existed, below the prompt-lancement.md minimum of 3 per
chapter. Adds difficulty 2 (feminine singular) and difficulty 3
(feminine plural, noun and adjective separated by a complement,
mirroring points 18/23). Audio generated with the Piper voice
(make generate-dictation-audio), credited in assets/CREDITS.md.

With this, regle_accord_adjectif now meets prompt-lancement.md's
minimum content volume: 8 multiple-choice, 4 sentence corrections,
3 dictées.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-11 21:15:26 +02:00
Denis Defolie 9a0e6b580e Add 6 multiple-choice exercises for regle_accord_adjectif
Only 2 existed, below the prompt-lancement.md minimum of 8 per rule.
Adds 4 at difficulty 1 (plural determiner visible), 2 at difficulty 2
(predicate adjective, no determiner cue), 2 at difficulty 3 (noun and
adjective separated by a complement, mirroring the point 18 sentence
corrections). Covers all four gender/number combinations across two
adjectives. All draft, pending human review.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-11 19:33:29 +02:00
Denis Defolie 04a1b5ee1b Add 3 sentence-correction exercises for regle_accord_adjectif
Only one sentence_correction exercise existed for this rule, below the
prompt-lancement.md minimum (4 per rule, spread across difficulty
levels) and the direct cause of the content repetition noted in
decisions.md point 17.

Adds difficulty 1 (number agreement), 2 (gender agreement) and 3
(gender+number, noun and adjective separated by other words),
covering both agreement axes across all three difficulty tiers. All
draft, per CLAUDE.md pending human review.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-11 18:29:47 +02:00
Denis Defolie d057c8ee77 Add JSON schemas, data validator, and first CE1 content
Introduces a generic JSON-Schema-subset validator in GDScript
(scripts/data/schema_validator.gd) used both by `make validate-data`
and, later, by ExerciseEngine at load time, plus semantic_checks.gd
for cross-field constraints a schema can't express (answer index
bounds, at least one faulty token in sentence correction, word count
matching between a dictation's target_text and its annotations).

Schemas cover rule, exercise (dispatched per type: multiple_choice,
sentence_correction), dictation, curriculum, and save (save.schema.json
is not yet wired into validate-data; saves live in user://, handled
at the Profiles/Saves step).

First draft content for the CE1 "accord_adjectif" rule (one rule, two
multiple-choice exercises, one sentence correction, one dictation,
one curriculum entry) exercises the full pipeline end to end and
seeds docs/review/content-review.md, regenerated by the new
tools/generate_content_review.py (`make content-review`).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-11 16:47:28 +02:00