Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions project/CURRICULUM-MAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

| Part | # | Chapter | Distinct learning gain | Primary intersection teaching view |
|---|---:|---|---|---|
| I — Frame the Work | 01 | The New Engineering Paradigm | Explain changing expectations, software-inspired workflows, AI, and two co-evolving systems | Executive overview; no detailed case |
| I | 02 | Introducing the Engineering Challenge | Understand stakeholders, system boundaries, and the fictional case | Establish the intersection story and its evidence limits |
| I | 03 | Planning Under Uncertainty | Select a meaningful investigation and decide what is ready to commit | Compare investigation choices, dependencies and decision criteria |
| II — Build and Test Knowledge | 04 | Engineering Knowledge as Code | Explain controlled engineering information, typed relationships and change impact | Source-backed functional/interface views |
| II | 05 | Learning Through Models and Prototypes | Select a model, define assumptions and interpret a bounded experiment | Fixed-phase state model and traceable queue/arrival comparison |
| I — Frame the Work | 01 | The New Engineering Paradigm | Decide where earlier feedback could save engineering time and reduce rework | Compare a product change with the repeatable check that helps teams integrate it |
| I | 02 | Setting Up the Intersection Workshop | Turn a road user's concern into a question a first prototype can investigate | Explore the four-way intersection, who uses it and what a vehicle-queue model can represent |
| I | 03 | Planning Under Uncertainty | Revise the next increment when a prototype changes what the team knows | Reconcile two readings of the same queue before requesting arrival data |
| II — Build and Test Knowledge | 04 | Engineering Knowledge as Code | Use typed relationships to check a proposed change against engineering sources | Trace a phase-selection change to the queue model that represents the function |
| II | 05 | Learning Through Models and Prototypes | Run an experiment and save what it taught the team about the model | Move one arrival, compare the queue traces and record the result against the model revision |
| II | 06 | Engineering Data: From Measurements to Decisions | Curate, annotate, inspect and reuse engineering observations | Original, checked and derived records |
| II | 07 | Spec-Driven Development Without Waterfall | Define a bounded next increment while leaving other uncertainties open | Progressive specification and decisions |
| III — Develop an Integrated Product | 08 | Directing AI Engineering Agents | Bound, observe and review delegated engineering work | Illustrative task context, tool actions and handover |
Expand Down
20 changes: 20 additions & 0 deletions project/v3/case-study/data-quality-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,26 @@
"status": "computed_from_synthetic_inputs"
}
],
"scenario_edit_observation": {
"id": "RESULT-B-NS-3-TO-2",
"experiment_id": "INT-EXP-001",
"model_id": "INT-MOD-001",
"model_revision": "T1",
"baseline_result": "RESULT-B",
"arrival_move": {
"group": "NS",
"from_slot": 3,
"to_slot": 2,
"vehicles": 1
},
"metric": "pending_at_horizon",
"value": 1,
"unit": "vehicles",
"horizon": 8,
"sample_point": "after arrivals and service",
"status": "computed_from_synthetic_inputs",
"proposed_follow_up": "If the same phases and each scenario’s own arrivals repeat for a second cycle, how many vehicles remain after slot 16?"
},
"original_incompatible_record": {
"id": "LEGACY-C",
"raw_field": "queue_final",
Expand Down
24 changes: 23 additions & 1 deletion project/v3/case-study/verify-fixture.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { readFileSync } from 'node:fs';
import { fileURLToPath } from 'node:url';
import { dirname, join } from 'node:path';
import assert from 'node:assert/strict';
import { runQueue } from '../../../models/intersection/queue.mjs';
import { moveArrival, runQueue } from '../../../models/intersection/queue.mjs';

const root = dirname(fileURLToPath(import.meta.url));
const read = (name) => readFileSync(join(root, name), 'utf8');
Expand Down Expand Up @@ -68,11 +68,33 @@ for (const [scenario, departures, remaining] of [['A',3,1],['B',2,2]]) {
assert.equal(derived.value, finalQueue, 'Data-quality fixture agrees with calculated trace');
assert.equal(derived.model_revision, input.revision, 'Revision identity');
}

const observation = data.scenario_edit_observation;
const baseline = data.valid_records.find(record => record.id === observation.baseline_result);
assert.ok(baseline, 'Edited observation names a stored baseline result');
const scenario = input.scenarios.find(record => record.id === baseline.case);
assert.ok(scenario, 'Baseline result names an input scenario');
assert.equal(observation.model_id, input.id);
assert.equal(observation.model_revision, input.revision);
assert.ok(graph.edges.some(edge =>
edge.from === observation.experiment_id && edge.relation === 'examines_model' &&
edge.to === observation.model_id && edge.asserted_in_revision === observation.model_revision
), 'Recorded experiment examines this model revision');
assert.equal(observation.horizon, input.horizon_slots);
assert.equal(observation.metric, baseline.metric);
assert.equal(observation.unit, baseline.unit);
const move = observation.arrival_move;
assert.equal(move.vehicles, 1, 'Browser edit moves one vehicle');
const edited = moveArrival(scenario.arrivals, move.group, move.from_slot, move.to_slot);
const finalQueue = runQueue(input, edited).at(-1).queue;
assert.equal(observation.value, finalQueue.NS + finalQueue.EW, 'Edited observation matches the model result');

assert.equal(data.original_incompatible_record.status, 'withhold_comparison');
assert.equal(data.original_incompatible_record.unit, null);
assert.equal(data.original_incompatible_record.model_revision, null);
assert.equal(data.original_incompatible_record.observation_window, null);
assert.ok(!input.metrics.mean_wait.includes('DEFINED') || input.metrics.mean_wait.startsWith('NOT DEFINED'));

console.log('V3 fictional fixture PASS: 12 graph nodes, 8 typed edges, 16 trace rows, A=1 pending, B=2 pending, legacy C withheld; invalid inputs rejected.');
console.log(`Verified ${observation.id}. Queue count (${observation.unit}) after slot ${observation.horizon} = ${observation.value}.`);
console.log('PASS verifies internal educational consistency only, NOT physical validity, traffic safety, source approvals, or learning outcomes.');
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions project/v3/learning/quizzes/eel-v3-ch01-new-paradigm.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
[
{
"id": "repeatable-feedback",
"prompt": "Teams discover the same interface mismatch late in integration. Which investment would shorten the next decision cycle?",
"prompt": "Teams first compare their interface definitions when the assembled modules reach the test rig. Which investment would expose disagreements before the modules are built?",
"options": [
{
"text": "Add a second sign-off meeting before integration.",
"feedback": "The team would still discover the mismatch at integration. Identify where the two interface definitions first become comparable."
"text": "Reserve a second test-rig slot for the assembled modules.",
"feedback": "Another slot can help when teams are waiting for equipment. They would still discover the disagreement after building the modules, when several teams may have to repeat design and integration work."
},
{
"text": "Check the two versioned interface definitions whenever either changes.",
"feedback": "An early comparison exposes a disagreement while the teams can still change their designs. The reusable check improves the engineering system.",
"feedback": "The teams can settle the disagreement while both designs are still open. The reusable check improves the engineering system and can spare the next variant the same late rework.",
"correct": true
},
{
"text": "Build the next product variant before investigating the mismatch.",
"feedback": "A further variant increases the number of configurations the teams must investigate. It does little to locate the existing disagreement."
"text": "Automate distribution of the integration report after each rig test.",
"feedback": "Faster reporting helps teams act on a finding once they have it. The first comparison of the definitions would still come after assembly."
}
]
},
{
"id": "what-a-check-supports",
"prompt": "A model check passes for a proposed design change. Which decision can the team now make?",
"prompt": "An automated check finds that both modules declare the same unit. Which decision does that result support?",
"options": [
{
"text": "Use the result to decide what to integrate or investigate next.",
"feedback": "The check gives timely evidence about the modeled condition. The team can use that evidence to choose its next integration or test step.",
"text": "Take those revisions to integration and investigate timing under load.",
"feedback": "The definitions agree on the unit. A test of the integrated modules can address the separate question of whether the value arrives in time.",
"correct": true
},
{
"text": "Release the product in every intended operating condition.",
"feedback": "The check covered a particular model and condition. Release also depends on integration and evidence for the intended use."
"feedback": "The check compared the declared units. Release also depends on how the integrated product behaves under its intended operating conditions."
},
{
"text": "Count the check as a measured reduction in total development cost.",
Expand Down
28 changes: 14 additions & 14 deletions project/v3/learning/quizzes/eel-v3-ch02-intersection-challenge.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
[
{
"id": "first-question",
"prompt": "The city wants better flow and safe crossings. Which question fits the first fixed-phase queue prototype?",
"prompt": "The team keeps the signal sequence and the total arrivals on each road fixed. Which question can its first prototype investigate?",
"options": [
{
"text": "Which crossing time is suitable for all pedestrians?",
"feedback": "The prototype has vehicle arrivals and signal phases. Answering a crossing-time question requires information about pedestrians, geometry and timing."
"text": "Can a person at the curb see the crossing indication clearly?",
"feedback": "The prototype represents vehicle phases. Visibility depends on the installed signal and the view from the curb."
},
{
"text": "Which detector should the city purchase?",
"feedback": "Choosing hardware requires sensing and interface needs that the first queue experiment leaves open."
"text": "Would a detector on the busiest approach make the signal respond sooner?",
"feedback": "The signal follows a fixed sequence in the model. A detector comparison would need readings and a rule for responding to them."
},
{
"text": "Can different arrival patterns leave different queues under the same phases?",
"feedback": "Arrivals, phases and queues are part of the prototype. Varying arrivals while holding the phases fixed isolates a question it can answer.",
"text": "Can moving the same arrivals to different steps change how many vehicles are still waiting at the end?",
"feedback": "The model records arrivals, departures and queues at each step. The team can vary the placement of the arrivals and compare the final counts.",
"correct": true
}
]
},
{
"id": "intent-and-criteria",
"prompt": "Two groups agree to improve the intersection but give different meanings to “better.” What is the next useful step?",
"prompt": "A pedestrian asks whether someone can reach the far curb before a conflicting turn is permitted. What evidence would help the team answer?",
"options": [
{
"text": "Identify each group’s intended outcome and choose one uncertainty to investigate.",
"feedback": "A driver’s queue and a pedestrian’s crossing opportunity call for different observations. Naming both helps turn a shared intent into meaningful criteria.",
"text": "The crossing distance, observations of people crossing and the indications shown to pedestrians and turning drivers.",
"feedback": "These observations connect the time people need with the permissions they encounter on that crossing. The first prototype represents vehicles moving in two groups.",
"correct": true
},
{
"text": "Make the shortest vehicle queue the acceptance criterion for everyone.",
"feedback": "Queue length describes one outcome for one group. It leaves the crossing concern unanswered."
"text": "The longest queue observed when the team tries more arrival patterns in the prototype.",
"feedback": "A longer queue tells the team more vehicles are waiting. It contains no record of a person reaching the far curb or of a turning vehicle's permission."
},
{
"text": "Choose adaptive control so that everyone can work to one design.",
"feedback": "Selecting a controller settles the proposed mechanism before the team has agreed which outcomes it should improve."
"text": "The number of model steps for which one vehicle group has a green signal.",
"feedback": "The steps describe the order of vehicle phases. Converting them into time available to cross would require physical durations and pedestrian indications."
}
]
}
Expand Down
28 changes: 14 additions & 14 deletions project/v3/learning/quizzes/eel-v3-ch03-planning.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
[
{
"id": "replan-increment",
"prompt": "Two teams count arrivals on different sides of the same service step. What should change in the next increment?",
"prompt": "At the review, the groups get different queues from the same first slot. Which work should come before the planned request for arrival data?",
"options": [
{
"text": "Order detectors to get a larger set of arrival records.",
"feedback": "Additional records will still have two interpretations until the event order is agreed."
"text": "Try more arrival patterns with each group's interpretation.",
"feedback": "A difference between the groups' traces could come from the arrival pattern or from their counting convention. Adding patterns would leave that ambiguity in place."
},
{
"text": "Agree on event order, record the decision and rerun the comparison.",
"feedback": "The disagreement affects the meaning of the result. A small, reviewable rerun makes the investigation useful again.",
"text": "Check one slot together against the recorded rule, then rerun both existing patterns.",
"feedback": "This revises the next increment and its backlog. Once both groups add arrivals before service and reproduce the same traces, they can return to deciding which arrival data to request.",
"correct": true
},
{
"text": "Replace the long-term aim for the intersection.",
"feedback": "The ambiguity concerns an experiment. It provides grounds to revise the increment while the stakeholder aim still guides planning."
"text": "Ask a detector supplier which timing convention its equipment uses.",
"feedback": "A supplier can explain its records. The prototype already defines its own event order, and the teams need to apply it before deciding what equipment data would be useful."
}
]
},
{
"id": "planning-horizon",
"prompt": "A team wants to keep its direction while learning whether the fixed-phase model is useful. Which entry belongs in its immediate backlog?",
"prompt": "The city now wants the next concept review to address pedestrian crossing opportunities. Which change best fits that priority?",
"options": [
{
"text": "Improve how people move through the intersection.",
"feedback": "That describes a longer-term outcome. A backlog item identifies a concrete piece of work toward it."
"text": "Add more vehicle arrival patterns to the current backlog.",
"feedback": "Additional vehicle patterns could help with the queue question. To study crossings, the team needs to identify pedestrian movements and the vehicle movements they could conflict with."
},
{
"text": "Set the full hardware procurement schedule.",
"feedback": "Procurement depends on choices that this investigation is meant to inform."
"text": "Replace the vision of easier movement and safe crossings.",
"feedback": "The vision already includes people crossing the road. The city's new priority changes which problem the team should investigate first."
},
{
"text": "Write down how each slot treats arrivals and check one trace together.",
"feedback": "The task can be done and reviewed within the next increment. Its result gives the team grounds to keep or revise the plan.",
"text": "Revisit the vehicle-queue initiative and bring the movement-conflict study forward.",
"feedback": "The decision now calls for different evidence. Reviewing crossing movements with road users and operators serves the same long-term intent and gives the team a new first increment.",
"correct": true
}
]
Expand Down
Loading
Loading