Skip to content
Open
4 changes: 4 additions & 0 deletions project/v3/REFERENCE-INTERSECTION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# V3 reference system — Four-way traffic intersection

**Current edition.** This November 2026 scenario preserves its original chapter numbers and publication plans. The [current manuscript index](manuscripts/revised/INDEX.md) lists the fourteen published chapters. In their front matter, `publication: published` means the chapter is live. The separate `status` field records the manuscript’s editorial stage and can still read `draft`.

**Status:** Owner-confirmed editorial reference scenario · 2026-11-15
**Applies to:** The current, owner-approved 14-chapter curriculum in [CURRICULUM-MAP.md](../CURRICULUM-MAP.md)
**What is approved:** Use the **four-way traffic intersection** as the **single recurring example** across V3.
Expand All @@ -19,6 +21,8 @@ Follow **one fictional intersection** from uncertain greenfield intent, through

This is **engineering intent**, not a verified performance target, an authorized traffic engineering project, or an implementation contract.

The earlier plan below calls the graph Chapter 03 and the first model Chapter 04. In the published course, [inspect the graph relationships in Chapter 4](https://and-gu.github.io/executable-engineering-lab/learn/v3/04-engineering-knowledge-as-code/#change-impact-figure) and [move an arrival in the fixed-phase model in Chapter 5](https://and-gu.github.io/executable-engineering-lab/learn/v3/05-learning-through-models-and-prototypes/#arrival-experiment).

We know **neither** the optimum control strategy nor the appropriate sensing/installation design. Start with questions, not a preselected AI solution:
- Whose travel and waiting conditions matter, including pedestrians and cyclists?
- What does “better traffic flow” mean in operational context, across different arrival patterns?
Expand Down
2 changes: 2 additions & 0 deletions project/v3/case-study/DECISION-CHAIN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# From an inspectable model to an integration and delivery decision

**Current edition.** The headings keep the chapter numbers from the November 2026 T1 proposal. In the published course, [Chapter 10 compares the controller and adapter contracts](https://and-gu.github.io/executable-engineering-lab/learn/v3/10-from-models-to-an-integrated-product/#one-word-two-different-interfaces), [Chapter 12 names the owner of the compatibility decision](https://and-gu.github.io/executable-engineering-lab/learn/v3/12-governance-and-engineering-authority/#authority-is-attached-to-a-role-and-a-decision), and [Chapter 13 follows the whole-product release decision](https://and-gu.github.io/executable-engineering-lab/learn/v3/13-continuously-integrated-engineering/#make-the-whole-product-decision). The [T1 guide](README.md) links to the graph and queue experiments. See the [current manuscript index](../manuscripts/revised/INDEX.md) for the full sequence.

**Editorial record set T1 — proposed, fictional and non-operational.** Companion source material: [graph](source-graph-v1.json), [model inputs](model-inputs-v1.json), [computed trace](trace-v1.csv), [curation decisions](data-quality-v1.json). No physical product, agent execution or deployed system is asserted. This file is **not** a certified engineering dossier, an official change authorization or approved manuscript.

## Ch06: Specify the next investigation, not an invented fix
Expand Down
4 changes: 4 additions & 0 deletions project/v3/case-study/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# One inspectable V3 teaching case — the four-way intersection

**Current edition.** The chapter numbers and publication plans below come from the November 2026 proposal. In the published course, you can [inspect three of T1’s eight graph relationships in Chapter 4](https://and-gu.github.io/executable-engineering-lab/learn/v3/04-engineering-knowledge-as-code/#change-impact-figure). Use the [fixed-phase inputs](model-inputs-v1.json) to [move one arrival in Chapter 5](https://and-gu.github.io/executable-engineering-lab/learn/v3/05-learning-through-models-and-prototypes/#arrival-experiment) or [carry both queues into a second cycle in Chapter 6](https://and-gu.github.io/executable-engineering-lab/learn/v3/06-engineering-data-from-measurements-to-decisions/#two-cycle-experiment).

The [interface comparison is in Chapter 10](https://and-gu.github.io/executable-engineering-lab/learn/v3/10-from-models-to-an-integrated-product/#one-word-two-different-interfaces) and the [whole-product release decision is in Chapter 13](https://and-gu.github.io/executable-engineering-lab/learn/v3/13-continuously-integrated-engineering/#make-the-whole-product-decision). The [active sequence](../manuscripts/revised/INDEX.md) ends with Chapter 14, [From Engineering Question to Useful Release](https://and-gu.github.io/executable-engineering-lab/learn/v3/14-from-engineering-intent-to-continuous-integration/).

**Editorial status:** proposed teaching-source contract (revision T1); awaiting owner acceptance and eventual independent review. **Not** an approved traffic engineering design or published Astro experience.

**Purpose:** Give all fourteen chapters the same small set of source objects, model definitions, inspectable outputs, decisions and open questions. The owner-approved [course order](../../CURRICULUM-MAP.md) and the [single traffic-intersection concept](../REFERENCE-INTERSECTION.md) remain authoritative for educational goals.
Expand Down
10 changes: 5 additions & 5 deletions project/v3/learning/quizzes/eel-v3-ch05-models-prototypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@
},
{
"text": "The edit reduced the average wait by one slot per vehicle.",
"feedback": "The difference is one vehicle waiting at the horizon. Estimating an average wait would require following each vehicle, including the one still queued."
"feedback": "One fewer vehicle is waiting after slot 8. The eight rows show six fewer vehicle-slots of waiting in the edit. For the mean wait of all four arrivals, keep the phases cycling without new arrivals until both queues empty, then divide each run’s total vehicle-slots by four."
}
]
},
{
"id": "capture-observation",
"prompt": "A colleague wants to reproduce the edited B observation and investigate a second cycle. Which record gives them the provenance they need?",
"prompt": "The eight-slot log for experiment INT-EXP-001 links to model INT-MOD-001 revision T1 and the original B inputs. It counts vehicles waiting after arrivals and service. Which entry should a colleague save to reproduce the edit and plan a second cycle?",
"options": [
{
"text": "Link the experiment, model revision and original B, specify the move, give the queue in vehicles after service at slot 8, and label the second cycle as a proposed investigation.",
"text": "Moved one north–south arrival from slot 3 to 2. After slot 8, two waited in original B and one in the edit. Next, repeat the original A and B patterns through slot 16.",
"feedback": "That record identifies the original inputs and rules, describes exactly how to replay the edit, and distinguishes the computed result from a question that remains open.",
"correct": true
},
{
"text": "Save the baseline trace and label its B result “one vehicle queued after slot 8.”",
"text": "Kept both north–south arrivals in slot 3. Revised the slot 8 count in original B’s saved trace from two vehicles to one. Next, repeat the original A and B patterns through slot 16.",
"feedback": "The stored B baseline has two vehicles queued. A separate observation needs to identify the input edit that produced one."
},
{
"text": "Save the two final counts under T1 and use them as the expected second-cycle results.",
"text": "Moved one north–south arrival from slot 3 to 2. After slot 8, two waited in original B and one in the edit. Carried those counts forward as the results for slot 16.",
"feedback": "Both counts belong to the eight-slot window. A second cycle needs a defined arrival pattern, a longer horizon and its own result."
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"text": "Hold the whole release until the corrected edition is reviewed, packaged and checked against this candidate.",
"correct": true,
"feedback": "The translation is part of the agreed release. Testing the link from the candidate and reviewing the wording establish that the technician can reach the right instruction and interpret it."
"feedback": "The translation is part of the agreed release. The language reviewer checks that the wording describes the indication as unknown. Opening the link on the candidate shows which edition it serves. A technician’s report during a representative service call would provide evidence of how they interpreted the instruction."
},
{
"text": "Accept the current edition and use the deployment window as the deadline for its review.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ chapter: 1
part: "I — Frame the Work"
title: "The New Engineering Paradigm"
status: draft
publication: review-in-pr
publication: published
reference_case: four-way-traffic-intersection
teaching_fixture: "Conceptual overview; case begins in Chapter 2"
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ chapter: 2
part: "I — Frame the Work"
title: "Setting Up the Intersection Workshop"
status: draft
publication: review-in-pr
publication: published
reference_case: four-way-traffic-intersection
teaching_fixture: "T1 — fictional teaching case, not a qualified controller"
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ chapter: 3
part: "I — Frame the Work"
title: "Planning Under Uncertainty"
status: draft
publication: unpublished
publication: published
reference_case: four-way-traffic-intersection
teaching_fixture: "T1 — fictional planning decision"
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ chapter: 4
part: "II — Build and Test Knowledge"
title: "Engineering Knowledge as Code"
status: draft
publication: unpublished
publication: published
reference_case: four-way-traffic-intersection
teaching_fixture: "T1 — synthetic editorial source"
---
Expand Down Expand Up @@ -37,7 +37,7 @@ An **engineering information model** gives important concepts stable identities

A **view** is a purposeful representation of those sources. Consider the candidate phase-selection function. A functional view might show inputs, decisions and commanded states. A structural view might show the controller and a signal-driving interface. A requirements view shows the rule on conflicting greens. A behavior view can show how one phase follows another.

A team using the Systems Modeling Language (SysML) can express those requirements, parts, interfaces and behaviors in one model. While exploring an adaptive alternative, an engineer could give an LLM the model definitions and ask it to sketch which detector inputs the controller would need. The interface owner can compare that sketch with the existing definitions and decide which proposed inputs belong in the model. The owner can check a drawing against the textual definition because both forms use the language defined in the [OMG SysML v2 specification](https://www.omg.org/spec/SysML/2.0).
A team using the Systems Modeling Language (SysML) can express those requirements, parts, interfaces and behaviors in one model. While exploring an adaptive alternative, an engineer could give an LLM the model definitions and ask it to sketch which detector inputs the controller would need. The interface owner can compare that sketch with the existing definitions and decide which proposed inputs belong in the model. A SysML diagram and a textual view can show the same model elements. For each input in the sketch, cite its definition in the current revision or record a proposed addition. [OMG SysML v2 specification, section 7.26.1](https://www.omg.org/spec/SysML/2.0/Language/PDF#page=181).

> **Concept**
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ chapter: 5
part: "II — Build and Test Knowledge"
title: "Learning Through Models and Prototypes"
status: draft
publication: unpublished
publication: published
reference_case: four-way-traffic-intersection
teaching_fixture: "T1 — synthetic editorial inputs and calculated trace"
---
Expand Down Expand Up @@ -82,7 +82,11 @@ Look at the edited B in the browser. The NS vehicle moved to slot 2 leaves on th

## What does that comparison establish?

Moving one arrival across the end of its green changed the number waiting at this horizon. That is an answer to the workshop question. Mean waiting time would require following individual waits, including those still in progress at slot 8. A question about whether an actual signal shows the commanded indication would call for a bench test or physical observation. Choose the model or prototype to match the decision it will inform.
To count the waiting that accrued over all eight slots, add both queues after service in every row. Each vehicle still waiting contributes one vehicle-slot. A vehicle that arrives and leaves in the same slot contributes zero. The edit leaves one fewer NS vehicle waiting in each of slots 3 through 8, bringing the total from **21 vehicle-slots in the original B pattern to 15 in the edit**. For the mean wait of all four arrivals, we would also need to know how much waiting accrues before the remaining vehicles leave.

A total of four arrivals for the cycle fits either pattern. Which records could operations use to see when vehicles on each approach arrived relative to the end of green? [Chapter 3’s data request](03-planning-under-uncertainty.md#keep-a-small-decision-record).

A question about whether an actual signal shows the commanded indication would call for a bench test or physical observation. Choose the model or prototype to match the decision it will inform.

## Record what the experiment changed

Expand All @@ -97,4 +101,4 @@ The [saved T1 observation](https://github.com/And-Gu/executable-engineering-lab/

## The data is now the next engineering problem

Two north–south vehicles are still waiting when scenario B reaches the end of slot 8. Where should they appear when the lights begin the next cycle? [Chapter 6 follows both queues across that boundary](06-engineering-data-from-measurements-to-decisions.md).
The original B pattern ends slot 8 with two north–south vehicles still waiting. Where should they appear when the lights begin the next cycle? [Chapter 6 follows both queues across that boundary](06-engineering-data-from-measurements-to-decisions.md).
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ chapter: 6
part: "II — Build and Test Knowledge"
title: "Engineering Data: From Measurements to Decisions"
status: draft
publication: unpublished
publication: published
reference_case: four-way-traffic-intersection
teaching_fixture: "T1 — synthetic source, computed outputs, editorial quality decisions"
---
Expand All @@ -21,7 +21,7 @@ For a physical product, a simulation of one function can give the team its first

## Carry the queues through a second cycle

Run each original scenario from empty queues. In the first eight slots, both A and B receive two north–south (NS) and two east–west (EW) vehicles at different times. Revision T1 adds arrivals before serving at most one vehicle from the group with a green light. Repeat each scenario’s own arrivals and phases for slots 9 through 16, carrying both queues forward. [Arrival sequences, phases and service rules](../../case-study/model-inputs-v1.json).
Run each original scenario from empty queues. In the first eight slots, both A and B receive two north–south (NS) and two east–west (EW) vehicles. In B, both NS vehicles arrive in slot 3. Revision T1 adds arrivals before serving at most one vehicle from the group with a green light. Repeat each scenario’s own arrivals and phases for slots 9 through 16, carrying both queues forward. [Arrival sequences, phases and service rules](../../case-study/model-inputs-v1.json).

Make a prediction for A and B, then try each arrival pattern below.

Expand All @@ -39,7 +39,9 @@ The simulation leaves **one NS vehicle in A and two NS vehicles in B after slot

<span id="what-the-models-outputs-do-not-say"></span>

B’s previous NS queue clears on the two greens, then another pair arrives on amber. That makes a different phase plan worth testing in simulation. Keep the arrival sequences and the 16-slot window fixed, vary the plan, and inspect the effect on **both** directions. Estimating mean wait would call for following individual vehicles, including those still waiting at slot 16.
B’s previous NS queue clears on the two greens, then another pair arrives on amber. That makes a different phase plan worth testing in simulation. Keep the arrival sequences and the 16-slot window fixed, vary the plan, and inspect the effect on **both** directions.

Suppose the traffic engineer wants the mean wait for the eight vehicles that arrived in B during slots 1 through 16. In a separate run, repeat B through slot 16, then keep the phases cycling without new arrivals until both queues empty. Sum the two queue lengths after service in every slot, starting at slot 1. Divide that total in vehicle-slots by eight to get the mean wait in slots. For one vehicle’s wait, match its arrival slot to its departure slot.

<span id="why-this-changes-the-engineering-environment"></span>

Expand Down Expand Up @@ -71,4 +73,6 @@ Keep the original row as supplied. Annotate it to say which details are missing,

## What should the team do next?

We now have a baseline against which to try a different phase plan. Before commissioning that experiment, consider what another engineer would have needed to reproduce this one. Which decisions had to be in the brief before anyone knew the count at slot 16? Chapter 7 reconstructs the specification for the two-cycle run. [Spec-Driven Development Without Waterfall](07-spec-driven-development-without-waterfall.md).
The team can try another phase plan on the same invented arrivals. To find out how often vehicles at the intersection just miss their green, ask operations which arrival records identify the approach and can be matched to the signal’s phase history. [Chapter 3’s planning decision](03-planning-under-uncertainty.md#keep-a-small-decision-record).

To reproduce the two-cycle run, what did another engineer need to know before anyone had seen the count at slot 16? Chapter 7 reconstructs the brief. [Spec-Driven Development Without Waterfall](07-spec-driven-development-without-waterfall.md).
Loading
Loading