Skip to content

Improve Chapters 1–5 learning flow with quizzes, cards and editorial cleanup #65

Closed

Description

@And-Gu

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 and site/src/components/learning/Quiz.astro; questions are sourced from examples/learning/questions.json. The quiz provides answer checking, explanations, retry and accessible feedback.
  • Contextual teaching callouts, such as supporting-reference and Explore further blocks, 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.astro to 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:
    1. Chapter 1: product system versus engineering system; business opportunity and feedback loops.
    2. Chapter 2: engineering intent, stakeholder needs, first learning question and simple prototype.
    3. Chapter 3: evolving plans, vision/initiative/increment/backlog and experiment-driven replanning.
    4. Chapter 4: maintained engineering sources, SysML/MBSE, relationships, and LLM-supported knowledge work.
    5. 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

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.md through docs/05-structured-content.md
  • site/src/components/learning/Quiz.astro
  • site/src/components/learning/ChapterLearning.astro
  • examples/learning/questions.json
  • site/src/pages/chapters/[slug].astro
  • site/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:

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

  1. And-Gu commented on Nov 22, 2026

    @And-Gu
    OwnerAuthor

    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.

    Chapter Document-as-Code pattern inspected Existing Executable Engineering material Placement and handoff
    #60 · 1 Introduction moves from opportunity to maintained information, a concrete onboarding choice, takeaway, quiz and next question. The two-system distinction and leadership synthesis already explain why feedback matters. Clarify product versus engineering system beside that distinction. Ask which investment shortens a feedback loop after the synthesis. Offer the later investment decision as optional reading and hand over the intersection to Ch 2.
    #61 · 2 Shared workspace distinguishes terms, follows one proposed change, and offers optional source inspection near the example. The opening already names road users, competing needs, a model boundary and a first question. Put the visual and scope links at the opening. Check which stakeholder question the first prototype can answer. Carry the selected question into Ch 3.
    #62 · 3 Project history connects a review, its source revision and a single diff. A local concept note and deeper measurement links support the interpretation. An investigation table, a replanning trigger and a decision record are already present. Introduce a disagreement about event order. Ask how it changes the next increment, link the actual input rule and pass the assumption to Ch 4.
    #63 · 4 Readable sources places its playground beside source versus presentation, interprets the result and hands off to structured information. Source objects, multiple views, typed edges and a specific impact query supply a worked case. Trace one change to a model through the source graph. Check what the edge supports. Show a reviewed LLM example in the text and pass the identified model to Ch 5.
    #64 · 5 Structured content moves from fields and meaning through hands-on validation to interpretation, optional records, a quiz and the next relationship question. T1 provides two arrival patterns, eight slots with fixed phases, a calculated trace and a prompt to predict. Put the runnable experiment between prediction and interpretation. Save an observation against the model revision, check its meaning and carry it into Ch 6 on engineering data.

    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.

  2. And-Gu commented on Nov 22, 2026

    @And-Gu
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions