Repository navigation
Description
Goal
Improve Chapter 5, Learning Through Models and Prototypes, following the spoken review on 22 November 2026. The chapter has good technical material, but it currently reads too much like a standalone lesson about models. Make the chapter the practical payoff of Chapters 2–4: turn connected engineering information into a simple executable model, learn from it, and feed the knowledge back into the engineering knowledge base.
Source: project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md. Verify the active published V3 manuscript path before editing; multiple chapter sequences exist. Coordinate with Chapter 2 #61, Chapter 3 #62 and Chapter 4 #63.
Subagent requirement
Any subagent working on this issue must use GPT-6.2 Astra (gpt-6.2-astra) or a newer Astra model, with reasoning effort set to max or higher.
Requested improvements
1. Connect explicitly to what the lab makes possible
- Show the progression: engineering intent → learning-oriented planning → structured connected engineering knowledge → LLM-assisted model creation → experiment → observed results → refined knowledge.
- Explain the practical advantage over scattered, independently maintained requirements in spreadsheets, design prose in Word and diagrams in isolated modeling tools. Do not imply those tools are inherently deficient or that all existing toolchains are disconnected.
- Explain how LLMs can work from accessible specifications, models, assumptions and data to help engineers rapidly create a first executable model and refine it as understanding evolves.
- Avoid presenting a model as appearing automatically or requiring no engineering thought; one concise qualification is enough.
2. Make the four-way-intersection case the chapter's backbone
Use a small, worked example that a reader can follow from the previously established source information through simulation to learning.
The current manuscript already includes a relevant T1 fixed-phase, eight-slot, two-scenario queue model, links to project/v3/case-study/model-inputs-v1.json and trace-v1.csv, input rules and actual calculated table entries. Build on these existing fixtures rather than silently replacing them with unrelated example values.
- Start with a short understandable scenario: how do different vehicle arrival patterns affect queue length when signal phases stay fixed?
- Identify the exact source information/assumptions from Chapter 4 that the model uses and which additional scenario inputs are defined.
- Show the minimal data required: phases/sequence, arrivals per direction/slot, initial queues, departure rules and simulation horizon.
- Illustrate how an engineer could use LLM assistance to produce or modify a runnable model from those inputs and rules, rather than merely announcing that LLMs could do so.
- Walk through the model execution and a few observable outcomes. Use a compact table/chart/visual as appropriate.
- Then demonstrate a meaningful change to an input or assumption, inspect the new result and formulate the next learning question.
- Clearly distinguish an existing calculated trace from a live, implemented interactive browser simulation. If a genuinely runnable demonstrator is in scope and readily available, show how to execute it; otherwise do not imply the browser interaction already exists.
3. End by closing the knowledge loop
The chapter should not end with simulation results as an isolated output. Explicitly show how engineers, often assisted by LLMs, can bring experiment results, refined assumptions, unresolved questions and decisions back into the maintained knowledge-as-code sources from Chapter 4.
For the intersection example, give a concrete small before/after example of the information to update: a model assumption, a new observation linked to the correct model revision, an identified limitation or a follow-up investigation. Explain how this becomes context for the next iteration.
Central learning loop: Intent → plan → connected knowledge → executable model → experiment → learning → updated connected knowledge → next experiment.
The existing ending “The data is now the next engineering problem” can still transition to the following chapter about data and evidence, but it should first close this loop and show how captured knowledge improves the model and subsequent questions.
4. Tighten prose and preserve accuracy
- Retain useful details already in the chapter about model selection, determinism, the T1 data, queue results, and relevant modeling boundaries. Reorganize or condense to strengthen the practical narrative.
- Keep caveats short, relevant and non-repetitive; avoid repeatedly explaining that fictional traffic models are not qualified controllers.
- Use natural professional language, fewer rhetorical em dashes and no filler.
- Keep the example consistent with the repository's source fixtures, declared rules and computed results. Do not invent new observed output or present hypothetical results as executed.
Acceptance criteria
- Chapter 5 clearly builds on Chapters 2–4 and explains what the lab's integrated approach adds.
- A concrete intersection scenario flows from maintained source information and explicit model/scenario inputs to an executable experiment and interpretable outputs.
- LLM-assisted generation or modification of the model is demonstrated or explained with a plausible specific workflow grounded in existing sources.
- The existing T1 scenario/inputs/results remain internally consistent; any refinements are synchronized with source fixtures and calculations.
- At least one iterative change demonstrates how the model can be extended or refined based on learning, without requiring a needlessly sophisticated simulation.
- A concrete knowledge-base update closes the loop: conclusions, assumptions or follow-up questions are linked to maintained source objects/revisions.
- The ending connects the completed learning loop with the next chapter about engineering data.
- Scope and evidence caveats are concise, and prose is cohesive and opportunity-focused.
- Relevant data/fixture checks, links, publication and site build checks pass.
Scope
Targeted editorial and teaching improvements to Chapter 5, with minimal supporting case fixtures or example code if needed to demonstrate a genuinely executable workflow. Do not launch a large simulator project, rewrite the course or replace the existing reference case.
Learning experience additions from #65
The owner selected a runnable browser exercise for this chapter. At “Two arrival patterns, one model”, let the reader predict the outcome, start from A or B, move one vehicle’s arrival to another slot in the same direction, run the model and restore the baseline. Show per-slot queues and the final count in an accessible table. Keep the fixed phases, eight slots, arrival-before-service rule and four arrivals of the chosen baseline. Use one calculation shared by the UI and tests.
- Check all 16 baseline rows against the reference trace. In B, moving one north–south arrival from slot 3 to slot 2 changes the final queue from two vehicles to one. Check reset, keyboard operation and announced results.
- Place the inputs and service rules next to the controls and the calculation note next to interpretation. Use a concept card, if needed, to explain exactly when the queue is counted. Replace the detached “Inspect the case” line with these links.
- Continue Chapter 4’s reviewed LLM example in prose. Show the engineer checking a proposed change and recording the observation with model revision T1, the changed scenario and a follow-up question. Readers experiment in the browser. They can read the entire LLM example on the page.
- After the experiment, ask which claim the trace supports and which provenance to preserve. Hand off to Chapter 6 through the saved observation. Strengthen Chapter 5 with executable intersection example and knowledge feedback loop #64 owns the model, controls, tests, worked example and chapter questions. Improve Chapters 1–5 learning flow with quizzes, cards and editorial cleanup #65 supplies the reusable quiz and card presentation.
Publication verification
Published from #66 and #67. The public experiment reproduced the queues in all 16 reference rows. All 42 available arrival moves matched the T1 calculation. Moving one north–south arrival from slot 3 to slot 2 in B reduced the final queue from two vehicles to one. Restoring B returned it to two. Published queue experiment · Saved T1 observation · Deployment and hosted verification.
Activity