Phase 5b: Part II becomes data — six chapters, five new block kinds - #11
Merged
Conversation
The walking-downhill part (derivative, gradient, step, learning rate,
curvature, schedules) migrates from markup to block arrays, verbatim.
Schema growth, all print-ready:
- recipe (the imperative blockquote), list (knob-bullets), display
gains center, conceptOverlay (the full-bleed gradient-field box),
proof (recursive: proof-register paragraphs, centred displays, its
own figures — the renderer seals the last paragraph with the ∎),
widget (interactive islands; the schedule gallery is the first)
- Rich gains {blue:...}/{red:...} ink spans for the app's two arrows
- GuideBlocks takes a demo override for CTAs that aren't the slug's
chapterPreset (ch-schedule's Lion experiment keeps its label)
The ten Part II visuals (secant sweep, slices/gradient WebGL, downhill
field, vector concept, proof cosine, γ triptych, bend, regime dots,
schedule grid) moved unchanged into the chapter shell's snippets, so
their styles keep HelpModal's scope and their compute stays put.
Verified: rendered text of all NINE migrated chapters byte-identical
to main in both themes (33,164 / 33,186 chars); computed-style spot
checks on the new kinds (overlay grid, recipe rule, knob-bullet
markers, proof margins); 194 tests, svelte-check clean.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Deploying gradient-lab with
|
| Latest commit: |
77f5115
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://09a4f1e1.gradient-lab.pages.dev |
| Branch Preview URL: | https://phase5b-part2.gradient-lab.pages.dev |
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 this does
Continues the block-schema migration (#10): all six Part II chapters — How steep, exactly?, Which way is downhill?, One step of descent, The learning rate γ, The bend of the bowl, Scheduling the learning rate — now live as typed block arrays in
src/content/chapters/, transcribed verbatim.Schema growth (each maps cleanly to a print environment):
recipe— the imperative blockquote ("Nudge. Measure the response. Divide.")list— the ▸-marker bullet listsdisplaygainscenterconceptOverlay— the full-bleed concept box (the gradient-field figure that briefly broke last week is now a first-class block)proof— recursive: proof-register paragraphs, centred displays, its own figures; the renderer seals the last paragraph with the ∎ automaticallywidget— interactive islands with no direct print analogue; the schedule gallery is the first (the race will follow){blue:…}/{red:…}ink spans for the app's two marker arrowsGuideBlockstakes ademooverride for chapters whose CTA isn't theirchapterPreset(ch-schedule keeps its "Watch Lion orbit, then land" Lion experiment)Figures untouched: the ten Part II visuals (secant sweep, both WebGL 3-D figures, the downhill arrow field, the vector concept, the proof cosine, the γ triptych, bend + regime figures, the schedule grid) moved as-is into the chapter shell's snippets — same compute, same scope, same pixels.
Verified
svelte-check0 errors/0 warnings, build cleanPart III + IV (optimizer cards as blocks, the race as a widget) and the zoo/reference chapters come next; then the figure compute/render split and the emitter.
🤖 Generated with Claude Code