Repository navigation
Description
Goal
Improve the learning experience and presentation of Executable Engineering Lab Chapters 1–5, using Chapters 1–5 of Document-as-Code Lab as a reference for pedagogical structure, quizzes, contextual cards, optional further reading and chapter-to-chapter progression.
This is a cross-chapter UX/pedagogy and editorial-cleanup issue, separate from the content-specific review issues #60–#64. Preserve the engineering narrative and the targeted content improvements specified there.
Verified reference patterns in Document-as-Code Lab
Comparing the reference repo's docs/01-introduction.md through docs/05-structured-content.md and site implementation revealed:
- Chapters maintain a learning goal and readable progression with concrete examples and links forward to subsequent chapters.
- Visuals and diagrams are placed near the relevant explanation and include explanatory captions.
- Chapter quizzes are embedded through the
<!-- interactive: chapter-quiz -->convention andsite/src/components/learning/Quiz.astro; questions are sourced fromexamples/learning/questions.json. The quiz provides answer checking, explanations, retry and accessible feedback. - Contextual teaching callouts, such as
supporting-referenceandExplore furtherblocks, clarify terms or offer optional deeper reading at the point of need, without interrupting the main narrative. - Chapters 1, 4 and 5 integrate learning activities into the reading flow: the onboarding example, Markdown playground and metadata validation. The source uses embedded markers and
ChapterLearning.astroto place activities. - The site has on-page navigation, chapter information and previous/next links.
Use these as design patterns, not a requirement to copy source files or reproduce the Document-as-Code visual theme. Reuse established Executable Engineering Lab infrastructure and styling where practical.
Requested work
1. Compare Chapter 1–5 learning structures
Review both labs' first five chapters, section by section. Produce a concise comparison table identifying what Document-as-Code does well, what Executable Engineering Lab already has and which patterns warrant adoption.
For each Executable Engineering Lab chapter, propose suitable quiz placement, cards, optional reading and a natural connection to the next chapter. Avoid a mechanically identical structure if a chapter needs another rhythm.
Confirm which V3 chapter/manuscript sequence is active before editing. The current repo has both project/v3/manuscripts/revised/ and project/v3/manuscripts/approved/ versions and several site routes. Do not modify the wrong course sequence.
2. Add substantive chapter quizzes
- Add a short, relevant interactive knowledge check for each of Chapters 1–5, grounded in what each chapter actually teaches, rather than recall of incidental wording.
- Prefer a few strong questions with actionable feedback that explains why an answer is right or wrong, and a simple retry mechanism.
- Suggested progression:
- Chapter 1: product system versus engineering system; business opportunity and feedback loops.
- Chapter 2: engineering intent, stakeholder needs, first learning question and simple prototype.
- Chapter 3: evolving plans, vision/initiative/increment/backlog and experiment-driven replanning.
- Chapter 4: maintained engineering sources, SysML/MBSE, relationships, and LLM-supported knowledge work.
- Chapter 5: selecting a model, scenario inputs, interpreting simulated results and feeding new knowledge back to maintained sources.
- Place quizzes at a natural point near the end of chapters or at the end of a meaningful learning segment. If adapting the reference quiz implementation, retain keyboard access, screen-reader-friendly labels and useful correction feedback.
- Keep quiz questions/data maintainable separately from layout code, and provide validation/tests. Do not confuse quiz answer correctness with technical verification of the modeled engineering system.
3. Introduce contextual cards and optional onward reading
Use a restrained set of concept cards or callouts to explain high-value distinctions, e.g. engineering intent versus requirements, product versus engineering system, model versus view, or exploratory versus controlled information. Put them next to the paragraphs where they help.
Introduce Explore further / related-reading cards or links for relevant deep dives, other chapters, source artifacts, methods (e.g. SysML), or reference material. Their purpose is to let interested learners click through without expanding the main text into a digression.
- Clearly distinguish a brief concept clarification from an optional next reading.
- Use descriptive link labels and accurate targets.
- Do not turn every paragraph into a card or create a card for a concept already clear in the body.
- Preserve the site's existing visual system; cards should be responsive and accessible.
4. Improve learning flow and navigation
- Make the Chapters 1–5 sequence evident: new paradigm → reference case and intent → planning under uncertainty → connected engineering knowledge → executable model, learning and feedback.
- Introduce activities with a reason for doing them and conclude with the lesson learned.
- Ensure navigation and chapter transitions make it easy to proceed or explore relevant background.
- Align with the existing intersection teaching example rather than creating unrelated quizzes and illustrations.
- Coordinate with the per-chapter editorial changes in Refine Chapter 1 narrative and business case; audit overlap with Chapter 2 #60–Strengthen Chapter 5 with executable intersection example and knowledge feedback loop #64 so activities and cards are based on the final revised content.
5. Remove internal, repetitive and footer-style editorial comments
Clean Chapters 1–5 of reader-facing text and footers that sound like internal status/review/publishing annotations instead of educational material. Explicit examples include:
- “published after initial author review”
- “this fictional teaching case” when repeated as a generic footer or stock disclaimer
- Detached labels such as T1 educational sources, publishing/review-status comments and similar boilerplate.
Remove or relocate these from the visible chapter experience. Do not blindly delete metadata required by the build, internal provenance needed for source maintenance or the meaningful references themselves. If relevant, retain source links higher in the chapter with a short explanation, consistent with #61.
Consolidate unnecessary repetitions about fictitious cases, educational models, and unqualified prototypes. A relevant, concise boundary statement is fine when technically essential, but do not repeat it in each footer or section. Remove unnecessary em-dash constructions and formulaic framing when touching nearby prose, while preserving correct compound-word hyphens.
For the five chapters, review article footers, template-generated metadata, source annotations and route/layout components so that cleanup covers text injected by presentation layers as well as Markdown manuscripts.
Acceptance criteria
- A documented Chapter 1–5 comparison with the Document-as-Code learning approach informs the changes.
- Every targeted chapter has a working, accessible quiz with meaningful questions, explanation and retry.
- Contextual concept cards appear where they improve comprehension; optional related-reading links are present where useful.
- Chapter sequencing and next-step navigation support a coherent educational journey.
- The reference intersection example remains consistent across content, quizzes and links.
- Internal/status boilerplate such as “published after initial author review” and repetitive “this fictional teaching case” disclaimers no longer appear in reader-facing footers in Chapters 1–5.
- Useful references remain accessible and are introduced contextually rather than left in unexplained footer lines.
- Source metadata required for governance/builds remains intact unless there is a separate intentional change.
- Responsive and keyboard/screen-reader behavior are tested, including quiz results, answer feedback and links.
- Chapter content tests, quiz validation, link checks and production build pass.
- Changes remain scoped to the first five chapters and shared components needed to support them; no broad site redesign.
Implementation notes
Reference repo:
And-Gu/document-as-code-lab/docs/01-introduction.mdthroughdocs/05-structured-content.mdsite/src/components/learning/Quiz.astrosite/src/components/learning/ChapterLearning.astroexamples/learning/questions.jsonsite/src/pages/chapters/[slug].astrosite/src/styles/chapter-learning.css
Target repo: And-Gu/executable-engineering-lab. Choose the current publication route and active manuscripts before implementing. Design quiz/card components for reuse in later chapters, while only populating Chapters 1–5 in this issue.
Dependencies/coordination: #60, #61, #62, #63 and #64. Their content revisions should inform questions and cards; avoid divergent duplicate text.
Agent execution order (run this issue before #60–#64)
Instruction to the first agent:
Treat #65 as a design and coordination pass first, not a mandate to immediately rewrite Chapters 1–5. Compare the first five chapters of Document-as-Code Lab with Executable Engineering Lab. Identify reusable patterns for quiz interactions, contextual concept cards, Explore Further links, learning activities, chapter transitions, and reader-facing footer cleanup. Inspect the actual repositories and active publication paths. Define a concrete, consistent implementation approach and a chapter-by-chapter change map. Prefer the established site components and design language. Preserve the intended engineering content and avoid duplicated work with #60–#64.
Then update each existing chapter issue (#60, #61, #62, #63, #64) in GitHub with a clearly labeled subsection, such as
## Learning experience additions from #65, containing the specific quiz topics, suitable card/callout placements, relevant further-reading links, footer cleanup, and transitions for that chapter. Keep the original issue's review comments, scope and acceptance criteria intact. Make these additions specific and actionable, not identical generic text across all five issues. Add a back-reference to #65 and note any dependency on shared quiz/card components.After the per-chapter issues are updated, post a concise summary in #65 linking to the five updated issues. State which common components should be built once and which chapter-specific content should be implemented as part of each chapter issue. Do not close #65 or mark implementation complete merely because the planning and issue updates are finished.
Sequencing rule: Complete the comparison, shared design and updates to #60–#64 before the chapter-specific editorial/implementation work. Implement shared quiz/card infrastructure once, then incorporate the chapter-specific activities and cards into the chapter revisions. If #65 is used to implement the shared infrastructure, make that division explicit so the chapter agents do not duplicate it.
Done for this coordination pass when:
- Document-as-Code chapters 1–5 and the corresponding Executable Engineering Lab chapters were inspected.
- A specific chapter-by-chapter learning experience map is documented in Improve Chapters 1–5 learning flow with quizzes, cards and editorial cleanup #65.
- All five existing GitHub issues Refine Chapter 1 narrative and business case; audit overlap with Chapter 2 #60–Strengthen Chapter 5 with executable intersection example and knowledge feedback loop #64 have been updated in place, not replaced by new issues.
- Each chapter issue has concrete quiz, card, optional-reading, transition, and footer-cleanup work relevant to that chapter.
- Shared-component versus chapter-specific implementation ownership is clear.
- Improve Chapters 1–5 learning flow with quizzes, cards and editorial cleanup #65 has links and a concise change summary, with implementation status accurately represented.
Publication verification
Published from #66 and #67. All five public chapter texts matched the reviewed version. Browser checks covered all 11 questions and 33 answer choices, feedback, retry, keyboard navigation, screen-reader announcements and the answers available with JavaScript disabled. The chapter links and queue experiment also passed on GitHub Pages. Published course · Deployment and hosted verification.
Activity
And-Gu commentedon Nov 22, 2026
Chapter comparison and implementation handoff
The five chapter issues now contain their individual learning additions. The published course index lists fifteen chapters. Its registry matches number and title against the course map. The V3 route renders the matching file from
project/v3/manuscripts/revised/. I checked the five hosted pages and their reader-visible publication notes.Shared work in #65. Implement one accessible quiz interaction with independently maintained questions, per-choice explanations and retry. Support two distinct in-text patterns for brief concept clarification and optional source reading. Retain V3 navigation and the current reading style. Scope the route-level status-line cleanup to Chapters 1–5 and retain access to the manuscript source. The reference quiz and question data informed this design.
Chapter ownership. #60, #61, #62, #63 and #64 own their terminology, question content, reading links, transitions and manuscript footer edits. #64 also owns the browser queue model and its tests. Chapters 4–5 use an in-page, reviewed LLM example. The comparison and issue updates complete the coordination pass. Implementation, accessibility checks and editorial review follow. #65 remains open.
And-Gu commentedon Nov 22, 2026
Implementation available for review
Draft PR #66 implements the common quiz and card support and integrates the five chapter exercises. Chapter 5 includes the browser model from #64. Starting with B and moving one north–south arrival from slot 3 to slot 2 changes the final queue from two vehicles to one. The Chapter 4–5 LLM example can be followed entirely in the text.
The clean revision passed GitHub validation. Browser checks covered all 30 answer choices, retry, both model baselines and reset, narrow layouts and internal links. A virtual screen reader announced the score and edited queue result. The chapter authoring guide documents the shared source conventions.
The coordination checklist is complete. #65 stays open for editorial review and merge. The remaining chapter review items, including the Chapter 2 title and illustration, continue in their existing issues.