Number Properties content + multi-part Data Insights support (Two-Part & Table Analysis)#4
Draft
DMDaudio wants to merge 2 commits into
Draft
Number Properties content + multi-part Data Insights support (Two-Part & Table Analysis)#4DMDaudio wants to merge 2 commits into
DMDaudio wants to merge 2 commits into
Conversation
… 6 questions) Fills two empty Quant subtopics with a coherent daily study unit: - Lessons on parity/sign rules and on remainders (division identity, remainder arithmetic, power cyclicity, simultaneous conditions). - Six original problem-solving questions (easy→hard) with worked explanations, named distractor traps, and two hints each. - Rebuild docs/data/content.json (32→38 questions, 8→10 lessons). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YZoYqoDFwY2nF5BjKJv7qf
Unblocks the multi-part DI formats that previously had no gradeable UI.
Study site (docs/):
- New `parts` field ({ PartKey: "A|B|C" }) + compound `answer`
("Key=Value; ...") drive a per-part selector rendered in Practice.
- Grading requires every part to match (case-insensitive); shows the
correct option per part, pace, explanation, and hints. Single-choice
and Data Sufficiency flows refactored onto a shared feedback tail,
behavior unchanged.
- Browse renders each part's options and keyed answer.
Pipeline & docs:
- build.mjs passes `parts` through to content.json.
- CONTENT_SCHEMA.md documents the `parts` format and rules.
- curriculum.md coverage note updated (DI multi-part now supported).
Seed content (all in-review):
- Two-Part Analysis question + lesson (simultaneous-conditions).
- Table Analysis question + lesson (ratios-thresholds).
Verified in a headless browser: correct/wrong paths grade as expected,
submit gating works, no runtime errors. Build: 40 questions, 12 lessons.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YZoYqoDFwY2nF5BjKJv7qf
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.
What does this PR add or change?
Two related additions to the study platform.
1. Quant → Number Properties content
Fills two previously-empty subtopics with a coherent study unit: 2 lessons + 6 original problem-solving questions (before this,
number-propertieshad a single factors question and no lesson)....odds-evens-signs-0017(easy, A) — which expression must be even given (x+y) odd....odds-evens-signs-0018(medium, B) — recover the sign of (a) from (abc>0), (bc<0)....odds-evens-signs-0019(medium, B) — which expression is always odd (via (n(n+1)))....remainders-0020(medium, D) — remainder of (3n+5) mod 7 given (n\equiv4)....remainders-0021(hard, C) — remainder of (3^{47}) mod 5 via cyclicity....remainders-0022(hard, D) — least (N>10) with (N\equiv2,(5)) and (N\equiv1,(3)).2. Multi-part Data Insights support (study-site feature)
Previously the multi-part DI formats had no way to be selected or graded — the site's grader only understood a single answer letter. This adds first-class support:
partsfield —{ PartKey: "Opt A|Opt B|Opt C" }— plus a compoundanswer("Key=Value; ..."). The Practice view renders one option row per part and grades them together (correct only if every part matches, case-insensitive). Feedback shows the correct option per part, pace, explanation, and hints.scripts/build.mjspassespartsthrough tocontent.json;CONTENT_SCHEMA.mddocuments the format.Rebuilt
docs/data/content.json(now 40 questions, 12 lessons) and updated the coverage note incurriculum.md.Verification: drove the built site in a headless browser — the correct path grades as correct (parts highlighted, explanation shown), a wrong selection grades as wrong (correct answers highlighted), submit gating works, and single-choice/DS questions still grade. No runtime JS errors.
Type of change
Author checklist
idmatches the filename;topic/subtopicexist incurriculum.md).statusisin-review. I did not set my own content toverified.For reviewers
statustoverifiedand added my handle toreviewers.🤖 Generated with Claude Code
https://claude.ai/code/session_01YZoYqoDFwY2nF5BjKJv7qf