Skip to content

feat(images): content-appropriate instructional diagrams (R33) + Addition multigrade LP - #24

Open
Zunaira-Shahid1 wants to merge 1 commit into
mainfrom
feat/instructional-diagrams-r33
Open

feat(images): content-appropriate instructional diagrams (R33) + Addition multigrade LP#24
Zunaira-Shahid1 wants to merge 1 commit into
mainfrom
feat/instructional-diagrams-r33

Conversation

@Zunaira-Shahid1

Copy link
Copy Markdown
Collaborator

Builds on the multigrade guide (merged in #23).

What's new

  • R33 — match the image to the content. Clean flat-vector infographics for maths concepts (place-value staircase, grouping bundles, number line, column addition); anything needing EXACT numerals or a precise grid goes in code (a table section, or math / inline $…$ — R14), never AI, which drifts on digits. Wired via a cleaner DIAGRAM_STYLE scaffold and structurer rules that route exact content to table/math.
  • Board-prep table detection by value shape. placeValueTables now recognises a place-value / column grid by its keys being place names (Ones…Hundred Thousands), regardless of the wrapping key — so column_setup charts also render as tables.

Demo

  • assets/generated/lessons/addition-putting-numbers-together.en.* — multigrade Addition (Grade 4+5): banner, teacher-here/on-its-own duos, rotation schedule, two board-prep place-value tables, and an inline place-value-addition concept diagram (regrouping), 0 images dropped.

Tests

  • npm run test:visual 100%; imagegen suite green.

🤖 Generated with Claude Code

…tion multigrade LP

- R33: match the picture to the content — clean flat-vector infographics for maths concepts
  (place-value staircase, grouping bundles, number line, column addition), and EXACT
  numbers/grids go in code (table/math, R14) not AI (which drifts on digits). Wired via a
  cleaner DIAGRAM_STYLE scaffold and structurer rules that route exact content to table/math.
- placeValueTables now detects a place-value/column grid by its VALUE shape (keys are place
  names) rather than the wrapping key name, so board-prep 'column_setup' charts also become
  tables.
- Demo: multigrade Addition (Grade 4+5) — banner, teacher-here/own duos, rotation schedule,
  two board-prep place-value tables, and an inline place-value-addition concept diagram.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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