Repository navigation
Make every example in the evolution and dynamics chapter compile - #624
Merged
Merged
Conversation
docs/book/13-evolution-and-dynamics.md had eight unverified blocks and now has none. 13.7 showed a Robot composing `plant : Motor` and `controller : Controller` and declared neither, so a reader could not see what the two halves of a composition look like. It had also drifted from the file it links: the doc wrote `plant.measured` where examples/evolution/robot_connect.flow writes `plant.speed_out`, so the connection shown was not the connection that runs. The block is now the file's own text, tagged from=, and the two child flows come from a preamble carrying that file's declarations. Four blocks are single clauses of a flow body shown on their own: solver, every, always and represent linear. Each says so. They are reference entries for one clause, and wrapping them in a flow to satisfy the checker would bury the clause the section is about. Four more build on earlier blocks and now say so. 13.3 defines rk4_step and 13.4 calls it; 13.9 declares `dsys plant` and 13.10 and 13.11 sense and analyze over it. unverified: 159 -> 151. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
godofecht
force-pushed
the
docs-book13-context
branch
from
August 20, 2026 17:30
bfb6880 to
5636405
Compare
godofecht
added a commit
that referenced
this pull request
Aug 20, 2026
Take the fully green focused fixes from #624 and keep the remaining audit work on top.
godofecht
added a commit
that referenced
this pull request
Aug 20, 2026
Keep the chapter-6 content fix, take #624's chapter-13 work and current ledger from main, and avoid a generated-ledger merge conflict.
godofecht
added a commit
that referenced
this pull request
Sep 7, 2026
Keep the chapter-6 content fix, take #624's chapter-13 work and current ledger from main, and avoid a generated-ledger merge conflict.
godofecht
added a commit
that referenced
this pull request
Sep 7, 2026
Take the fully green focused fixes from #624 and keep the remaining audit work on top.
godofecht
added a commit
that referenced
this pull request
Sep 7, 2026
Take the fully green focused fixes from #624 and keep the remaining audit work on top.
godofecht
added a commit
that referenced
this pull request
Sep 7, 2026
Keep the chapter-6 content fix, take #624's chapter-13 work and current ledger from main, and avoid a generated-ledger merge conflict.
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.
docs/book/13-evolution-and-dynamics.mdhad eight unverified blocks and now has none.13.7 showed a composition of two things it never showed
Neither
MotornorControlleris declared anywhere on the page, so a reader could not see what the two halves of a composition look like.It had also drifted from the file it links. The doc wrote
plant.measured;examples/evolution/robot_connect.flowwritesplant.speed_out. The connection shown was not the connection that runs.The block is now that file's own text, tagged
from=so it cannot drift again, and the two child flows come from a preamble carrying the file's declarations.Four blocks are single clauses
solver,every,alwaysandrepresent linearare shown on their own as reference entries for one clause each:Wrapping those in a flow to satisfy the checker would bury the clause the section is about, so each carries that as its reason instead.
Four build on earlier blocks
13.3 defines
rk4_stepand 13.4 calls it. 13.9 declaresdsys plantand 13.10 and 13.11 sense and analyze over it. They sayuses=now rather than failing onKeyError: 'plant'.Verification
pytest tests/check_doc_examples.py --check-ledgerComposition itself was never broken:
flow Robotwith aconnectblock compiles cleanly once its children exist, which I checked before assuming the feature was at fault.