From 2df30bf1ba0ce0b1f6ebf2c896ad0df9c1e58fe4 Mon Sep 17 00:00:00 2001 From: Anders Gustafsson <44322377+And-Gu@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:07:24 +0100 Subject: [PATCH 1/9] Introduce engineering currents and move arrival context (#103) --- .../revised/01-the-new-engineering-paradigm.md | 18 ++++++++---------- ...02-introducing-the-engineering-challenge.md | 13 +++++++++++++ ...5-learning-through-models-and-prototypes.md | 13 +------------ .../10-from-models-to-an-integrated-product.md | 2 +- ...neering-intent-to-continuous-integration.md | 2 +- .../components/learning/ArrivalPatterns.astro | 14 ++++++++++++++ site/src/data/v3-learning.test.ts | 1 + site/src/pages/learn/v3/[slug].astro | 3 +++ 8 files changed, 42 insertions(+), 24 deletions(-) create mode 100644 site/src/components/learning/ArrivalPatterns.astro diff --git a/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md b/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md index fe58409..e9398e0 100644 --- a/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md +++ b/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md @@ -13,24 +13,22 @@ teaching_fixture: "Conceptual overview; case begins in Chapter 2" *What would help a team turn an engineering question into a sound decision sooner?* -When two disciplines discover an interface disagreement during integration, they may have to revisit weeks of design work. A check that exposes the same disagreement as soon as either definition changes gives engineers time to compare options while a change is still affordable. +Four currents are changing how teams approach that question. **Software-driven engineering** applies practices such as versioned information and automated checks across disciplines. In an integrated working environment, an electrical engineer and a software engineer can find the same interface definition, see its history and review which revision each design uses. Treating documents as code makes decisions reviewable and traceable as they change. -Building that check improves how the organization engineers its products. Reusing it on the next variant helps the team support more designs and gives new colleagues a way to understand the interface. The investment pays off when it improves a product decision or reduces avoidable rework. +**Agile development** works in small increments so a team can test an assumption while a design can still change. Traditional waterfall handoffs can make this harder when each discipline holds its information in a separate silo: before testing a change, colleagues must reconcile which versions belong together. Different disciplines still have different physical and delivery constraints. - +**Model-based systems engineering (MBSE)** is an established approach that uses system models to describe relationships and explore designs. Chapter 2 introduces a traditional SysML description of the intersection; Chapter 4 connects SysML views to shared text, and Chapter 5 uses an executable model to investigate a question. -## Where earlier feedback improves delivery +**AI-native engineering** brings agentic support into that workflow. Given the shared definitions and a bounded task, an AI agent can help draft an executable model, rerun an agreed check after a definition changes, and propose an update to the text from simulation findings. Engineers review its contributions and make the decisions. The combination can shorten the path from a question to feedback, provided the team maintains the information and checks on which it depends. -For a business competing on the quality and frequency of product improvements, the delivery objective is to get a useful change into service sooner, with evidence that it works. A team that produces changes faster than it can integrate or test them moves work into a queue. - -On one sensor program, researchers traced eight years of change requests and found that a change in one subsystem could trigger work in another. If an interface mismatch surfaces at final assembly, the integration lead has to find those dependencies before the teams know which designs and tests to revisit. [Giffin and colleagues’ study of change propagation](https://research.tudelft.nl/en/publications/change-propagation-analysis-in-complex-technical-systems/). - -A web service may deploy repeatedly, embedded software may need controlled integration, and a physical design may depend on an expensive component order or a scarce slot on a test rig. Each team can shorten the path from a question to reliable feedback within its own delivery constraints. + ## Software-inspired engineering moves beyond software Software development offers practices that other disciplines can adapt, including smaller increments, explicit configurations, versioned information and continuous integration. For multidisciplinary systems, the challenge is to connect these practices without assuming that every discipline has the same cycle time. +A team that produces changes faster than it can integrate or test them moves work into a queue. A web service may deploy repeatedly, while physical design can depend on a component order or a scarce test-rig slot. Each discipline can seek earlier feedback within its own constraints. + A model of a physical function can be executed before hardware is ready. An interface contract can be checked when either side changes. If several product variants use the same module, recording which revision each uses tells the integration lead which teams a change affects. An engineering decision can retain its rationale and applicable evidence. A new engineer joining the next variant can read why the team chose an interface limit and rerun its check without tracking down the original designer. Sharing modules, decisions and checks across compatible designs gives the business a way to support more variants without a proportional increase in engineering staff. @@ -63,7 +61,7 @@ A Word specification can explain an interface decision, an Excel workbook can ho ## From document-driven handoffs to executable feedback -In this lab, **executable engineering** describes an approach in which suitable models, analyses, checks and workflow steps can be run, evaluated and improved. A passing test is evidence about a stated check under specific conditions. Two connected feedback loops guide what the team does with that evidence. +In Executable Engineering, the approach is to make suitable models, analyses, checks and workflow steps runnable, evaluable and improvable. A passing test is evidence about a stated check under specific conditions. Two connected feedback loops guide what the team does with that evidence. - With **fast executable feedback**, engineers make a bounded change, run a model or test, inspect a failure and refine the work. If the units agree, the team can choose those revisions for integration. - With **whole-product feedback**, engineers ask whether the integrated product meets its intended use. Even when the declared units agree, a physical test may reveal that the receiver gets a value too late under load. Reviewing the consequence with an operator can change both the interface definition and the next automated check. diff --git a/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md b/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md index 1b6387b..dd6aef7 100644 --- a/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md +++ b/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md @@ -36,6 +36,7 @@ Imagine joining a city workshop about a busy four-way intersection. Drivers desc | --- | --- | | Drivers | How many cars are still waiting after a green light? | | Pedestrians | When can I start across, and could a turning car cross my path? | +| People with different mobility needs | Is there enough time and a usable route to reach the far curb? | | Operators | How can we keep the intersection usable while a change is in progress? | | Maintainers | If a signal looks wrong, can we tell what the controller requested and what the lamp actually showed? | @@ -43,6 +44,18 @@ Imagine joining a city workshop about a busy four-way intersection. Drivers desc > > For drivers, reducing queues is the **intent**. Their **question** is how many cars are still waiting after a burst has had a chance to clear. A future **requirement** could call for fewer vehicles left waiting than under an agreed reference sequence, given the same arrivals and counting period. The city would need to agree on representative conditions and a separate criterion for people crossing. +The city's purpose is broad because the team has not yet agreed on all the conditions or trade-offs. In an agile approach, engineers work with the people affected while investigations and design choices reveal what a useful requirement needs to say. A queue requirement, for example, needs an identified approach, a counting period, reference conditions and a criterion for comparison. These are proposed details to agree with the city, not measurements already obtained. + +## Describe the intersection and its traffic + +A traditional SysML system description can locate the parts and their relationships before the team simulates behavior. In this illustrative system, the intersection includes a controller and signal heads. The controller sends commands to the heads; drivers and people crossing respond to the indications. Road approaches bring vehicles to the intersection, while crossings identify paths pedestrians use. This compact structural description is a view of the system, not evidence that the equipment is safe or installed. + +The traffic-flow description answers a different question: how many vehicles arrive at each approach, and when? The same total can arrive steadily or in a burst. Before combining a count with the system description, someone must identify which modeled approach it describes and the interval it covers. A queue model can then use that information; crossing safety requires additional information about people and conflicting movements. + +For the first illustrative comparison, the team groups traffic north–south (NS) and east–west (EW), starts both queues empty and uses eight abstract slots, not seconds. Its fixed phase sequence, arrival counts and service rules are maintained in the [T1 inputs](../../case-study/model-inputs-v1.json). The table is generated from those inputs: both invented scenarios contain two NS and two EW arrivals, placed at different times. + + + ## A prototype for the first question The drivers' accounts suggest a hypothesis about *when* cars arrive. Imagine that two patterns bring the same number of vehicles to each road over the same period. If the signals follow the same sequence, could the timing of the arrivals alone change how many vehicles are still waiting at the end? diff --git a/project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md b/project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md index 44dca8b..9f292c7 100644 --- a/project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md +++ b/project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md @@ -46,18 +46,7 @@ The browser uses this rule in its queue calculation. It is deterministic, so the ## Two arrival patterns, one model -Each scenario has two NS and two EW arrivals. Only their placement differs. A dash means zero arrivals in either direction. - -| Slot | Fixed phase | A · staggered arrivals | B · clustered arrivals | -|---:|---|---|---| -| 1 | NS green | 1 NS | 2 EW | -| 2 | NS green | 1 EW | — | -| 3 | NS amber | 1 NS | 2 NS | -| 4 | All-red | — | — | -| 5 | EW green | — | — | -| 6 | EW green | 1 EW | — | -| 7 | EW amber | — | — | -| 8 | All-red | — | — | +The [arrival table in Chapter 2](02-introducing-the-engineering-challenge.md#arrival-patterns) shows both invented patterns and the fixed phase sequence. Each has two NS and two EW arrivals; only their placement differs. Start with **B**. Predict how many vehicles will remain after slot 8 if one NS vehicle arrives in slot 2 instead of slot 3. Choose that move, then **Run comparison**. The browser calculates eight rows for your edit alongside the original. **Restore baseline** returns to the selected starting scenario. [T1 inputs and service rules](../../case-study/model-inputs-v1.json). diff --git a/project/v3/manuscripts/revised/10-from-models-to-an-integrated-product.md b/project/v3/manuscripts/revised/10-from-models-to-an-integrated-product.md index b728d29..a832553 100644 --- a/project/v3/manuscripts/revised/10-from-models-to-an-integrated-product.md +++ b/project/v3/manuscripts/revised/10-from-models-to-an-integrated-product.md @@ -33,7 +33,7 @@ At product kickoff, the team already has a phase sequence to exercise and a way
Illustration of a proposed integration bench. The laptop could report command receipt. A camera record tied to the same command and head could establish which lamp was visible from that position at that time.
-An adapter could meet revision B exactly and still leave the controller waiting for evidence of the applied indication. The team records the difference in `INT-DISC-001` and defers accepting the two interfaces as compatible. Discovering this while the adapter is still a purchasing choice is the early feedback Chapter 1 described. [Interface discrepancy record](../../case-study/DECISION-CHAIN.md) · [Chapter 1 on earlier feedback](01-the-new-engineering-paradigm.md#where-earlier-feedback-improves-delivery). +An adapter could meet revision B exactly and still leave the controller waiting for evidence of the applied indication. The team records the difference in `INT-DISC-001` and defers accepting the two interfaces as compatible. Discovering this while the adapter is still a purchasing choice is the early feedback Chapter 1 described. [Interface discrepancy record](../../case-study/DECISION-CHAIN.md) · [Chapter 1 on executable feedback](01-the-new-engineering-paradigm.md#from-document-driven-handoffs-to-executable-feedback). ## Define the first product increment diff --git a/project/v3/manuscripts/revised/14-from-engineering-intent-to-continuous-integration.md b/project/v3/manuscripts/revised/14-from-engineering-intent-to-continuous-integration.md index b5b3e11..4436eb3 100644 --- a/project/v3/manuscripts/revised/14-from-engineering-intent-to-continuous-integration.md +++ b/project/v3/manuscripts/revised/14-from-engineering-intent-to-continuous-integration.md @@ -35,7 +35,7 @@ Engineering organizations already hold large amounts of information. The constra At that early stage, the information does not need to be complete. During early concept work, a few needs, constraints, examples and open questions can give people and agents enough context to draft, inspect and challenge a small model or prototype. The first relationships may be provisional. Their purpose is to expose assumptions, preserve what the team learns and make the next question easier to ask. -This returns to Chapter 1's central delivery argument: a model can provide feedback before hardware is ready, and an interface can be checked before final integration. The advantage is not early certainty. It is an earlier signal while alternatives remain easier to change. [Where earlier feedback improves delivery](01-the-new-engineering-paradigm.md#where-earlier-feedback-improves-delivery). +This returns to Chapter 1's central delivery argument: a model can provide feedback before hardware is ready, and an interface can be checked before final integration. The advantage is not early certainty. It is an earlier signal while alternatives remain easier to change. [Executable feedback in Chapter 1](01-the-new-engineering-paradigm.md#from-document-driven-handoffs-to-executable-feedback). A requirement may sit in one system, an interface decision in another and test evidence in a third. A drawing, software build and service instruction may each be correct on their own while referring to different product revisions. When those relationships live mainly in people’s memories, every change creates coordination work. diff --git a/site/src/components/learning/ArrivalPatterns.astro b/site/src/components/learning/ArrivalPatterns.astro new file mode 100644 index 0000000..28cba02 --- /dev/null +++ b/site/src/components/learning/ArrivalPatterns.astro @@ -0,0 +1,14 @@ +--- +import inputs from '../../../../project/v3/case-study/model-inputs-v1.json'; +import { phaseLabels } from './queue-timeline'; + +const arrivals = (row: { NS: number; EW: number }) => + (['NS', 'EW'] as const).filter(group => row[group] > 0).map(group => `${row[group]} ${group}`).join(', ') || '—'; +--- +
+
Invented arrivals in each abstract slot. A dash means no arrivals.
+ + {inputs.scenarios.map(s => )} + {inputs.phase_sequence.map((phase, index) => {inputs.scenarios.map(s => )})} +
SlotFixed phase{s.id} · {s.name}
{index + 1}{phaseLabels[phase]}{arrivals(s.arrivals[index])}
+
diff --git a/site/src/data/v3-learning.test.ts b/site/src/data/v3-learning.test.ts index 6a6bf4b..7a2be1f 100644 --- a/site/src/data/v3-learning.test.ts +++ b/site/src/data/v3-learning.test.ts @@ -7,6 +7,7 @@ describe('V3 chapter activities', () => { it('binds all active manuscripts to their own questions and slots', () => { const slots: Record = { '01': ['investment-feedback', 'chapter-quiz'], + '02': ['arrival-patterns', 'chapter-quiz'], '04': ['change-impact-figure', 'chapter-quiz'], '05': ['intersection-model', 'chapter-quiz'], '06': ['two-cycle-experiment', 'chapter-quiz'], diff --git a/site/src/pages/learn/v3/[slug].astro b/site/src/pages/learn/v3/[slug].astro index 915a4d6..20d9486 100644 --- a/site/src/pages/learn/v3/[slug].astro +++ b/site/src/pages/learn/v3/[slug].astro @@ -12,6 +12,7 @@ import InvestmentFeedback from '../../../components/learning/InvestmentFeedback. import TwoCycleExperiment from '../../../components/learning/TwoCycleExperiment.astro'; import DigitalThread from '../../../components/learning/DigitalThread.astro'; import QueueExperiment from '../../../components/learning/QueueExperiment.astro'; +import ArrivalPatterns from '../../../components/learning/ArrivalPatterns.astro'; import SocialLinks from '../../../components/SocialLinks.astro'; import AuthorAttribution from '../../../components/AuthorAttribution.astro'; import '../../../styles/chapter-reading.css'; @@ -42,6 +43,7 @@ const headings: Heading[] = getHeadings().filter((h: Heading) => h.depth === 2); const questions = chapterQuizzes.get(frontmatter.id); const activities = ['chapter-quiz']; if (frontmatter.id === 'eel-v3-ch01-new-paradigm') activities.push('investment-feedback'); +if (frontmatter.id === 'eel-v3-ch02-intersection-challenge') activities.push('arrival-patterns'); if (frontmatter.id === 'eel-v3-ch04-engineering-knowledge') activities.push('change-impact-figure'); if (frontmatter.id === 'eel-v3-ch05-models-prototypes') activities.push('intersection-model'); if (frontmatter.id === 'eel-v3-ch06-engineering-data') activities.push('two-cycle-experiment'); @@ -75,6 +77,7 @@ const sourceUrl = `https://github.com/And-Gu/executable-engineering-lab/blob/mai if (section.content === 'investment-feedback') return ; if (section.content === 'change-impact-figure') return ; if (section.content === 'intersection-model') return ; + if (section.content === 'arrival-patterns') return ; if (section.content === 'two-cycle-experiment') return ; if (section.content === 'digital-thread') return ; if (section.content === 'integrated-change') return ; From 0d47f6ec8139a0410bcb2426ccd58a241cbdc230 Mon Sep 17 00:00:00 2001 From: Anders Gustafsson <44322377+And-Gu@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:16:54 +0100 Subject: [PATCH 2/9] Explain intersection views and render Mermaid diagrams (#103) --- package-lock.json | 1345 +++++++++++++++-- package.json | 1 + .../01-the-new-engineering-paradigm.md | 4 +- ...2-introducing-the-engineering-challenge.md | 56 +- site/src/pages/learn/v3/[slug].astro | 31 + 5 files changed, 1324 insertions(+), 113 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6793f8d..ce1a8d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "@astrojs/markdown-remark": "^7.3.9", "astro": "^7.4.0", + "mermaid": "^12.3.0", "yaml": "^2.9.1", "zod": "^4.6.7" }, @@ -25,6 +26,19 @@ "npm": ">=10 <11" } }, + "node_modules/@antfu/install-pkg": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-2.1.0.tgz", + "integrity": "sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw==", + "license": "MIT", + "dependencies": { + "package-manager-detector": "^1.8.0", + "tinyexec": "^1.3.1" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, "node_modules/@astrojs/astro2tsx": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@astrojs/astro2tsx/-/astro2tsx-0.1.3.tgz", @@ -502,6 +516,12 @@ "node": ">=6.9.0" } }, + "node_modules/@braintree/sanitize-url": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-7.1.2.tgz", + "integrity": "sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==", + "license": "MIT" + }, "node_modules/@bruits/satteri-darwin-arm64": { "version": "0.10.5", "resolved": "https://registry.npmjs.org/@bruits/satteri-darwin-arm64/-/satteri-darwin-arm64-0.10.5.tgz", @@ -667,6 +687,43 @@ "node": ">=18" } }, + "node_modules/@chevrotain/cst-dts-gen": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-13.2.0.tgz", + "integrity": "sha512-bA9dvWlhAUcHkNwU+8w9yiUxJPlj/Lm3VqS7MD+NbIR/7LmpNLuK/AWNFdCo/T3SK5ND0/UHf3IJvl/Jn/i6yg==", + "license": "Apache-2.0", + "dependencies": { + "@chevrotain/gast": "13.2.0", + "@chevrotain/types": "13.2.0" + } + }, + "node_modules/@chevrotain/gast": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/@chevrotain/gast/-/gast-13.2.0.tgz", + "integrity": "sha512-bCARdAsG+eEbOveSXcOAC7pVxA04I1ionzeMOwIYf5NX7SaS7zgn4Dgug2BSqoL+iyKeMNSorQjsFSHJHsCNwg==", + "license": "Apache-2.0", + "dependencies": { + "@chevrotain/types": "13.2.0" + } + }, + "node_modules/@chevrotain/regexp-to-ast": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/@chevrotain/regexp-to-ast/-/regexp-to-ast-13.2.0.tgz", + "integrity": "sha512-kxpUkLtiaK09ph+dib+Yvm+3sWSnuwlo25gqfKRgTPNmF6H7uW4gVkMjaRdtnN783S9sM6vUNWh9CsxYX4QwKw==", + "license": "Apache-2.0" + }, + "node_modules/@chevrotain/types": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-13.2.0.tgz", + "integrity": "sha512-7qrYHRlKfWf2AvBfJi5eVOrKAkbxvMFsy/iIHTGIiApNcEecCaVIdR+mIQhyCBsTDJxBz4JWXHMo6krbhR9hVg==", + "license": "Apache-2.0" + }, + "node_modules/@chevrotain/utils": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-13.2.0.tgz", + "integrity": "sha512-SzKYY68rseOrb9KILVzPsl6SjkQtdWw01SRGB5aCVI5kFcHltQsOYV3JB0Ffst72DgkvHCyDQ0NLwxtmCCf97Q==", + "license": "Apache-2.0" + }, "node_modules/@clack/core": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/@clack/core/-/core-1.5.1.tgz", @@ -1204,6 +1261,23 @@ "node": ">=18" } }, + "node_modules/@iconify/types": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", + "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==", + "license": "MIT" + }, + "node_modules/@iconify/utils": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-3.1.7.tgz", + "integrity": "sha512-JZHlwdID+dy+lTgbYC8NEC4zeugqeYsc6jewvzb4c58kHauJn+X7rNwQjxz5p2qSjqaEeQoLkCIQ9v/H4PK0/w==", + "license": "MIT", + "dependencies": { + "@antfu/install-pkg": "^2.0.1", + "@iconify/types": "^2.0.0", + "import-meta-resolve": "^4.2.0" + } + }, "node_modules/@img/colour": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz", @@ -1778,6 +1852,18 @@ "node": ">= 12" } }, + "node_modules/@mermaid-js/parser": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-2.0.1.tgz", + "integrity": "sha512-j37dj/h6p6pots1L7pLPPNuABEEu9WP4OYg9pW1g+nYG331j0+3canE9OagtYdytYvdSAMG+2fKU5cxep6LgjA==", + "license": "MIT", + "dependencies": { + "@chevrotain/types": "~13.2.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, "node_modules/@napi-rs/wasm-runtime": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.7.tgz", @@ -2181,6 +2267,259 @@ "assertion-error": "^2.0.1" } }, + "node_modules/@types/d3": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz", + "integrity": "sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==", + "license": "MIT", + "dependencies": { + "@types/d3-array": "*", + "@types/d3-axis": "*", + "@types/d3-brush": "*", + "@types/d3-chord": "*", + "@types/d3-color": "*", + "@types/d3-contour": "*", + "@types/d3-delaunay": "*", + "@types/d3-dispatch": "*", + "@types/d3-drag": "*", + "@types/d3-dsv": "*", + "@types/d3-ease": "*", + "@types/d3-fetch": "*", + "@types/d3-force": "*", + "@types/d3-format": "*", + "@types/d3-geo": "*", + "@types/d3-hierarchy": "*", + "@types/d3-interpolate": "*", + "@types/d3-path": "*", + "@types/d3-polygon": "*", + "@types/d3-quadtree": "*", + "@types/d3-random": "*", + "@types/d3-scale": "*", + "@types/d3-scale-chromatic": "*", + "@types/d3-selection": "*", + "@types/d3-shape": "*", + "@types/d3-time": "*", + "@types/d3-time-format": "*", + "@types/d3-timer": "*", + "@types/d3-transition": "*", + "@types/d3-zoom": "*" + } + }, + "node_modules/@types/d3-array": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz", + "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==", + "license": "MIT" + }, + "node_modules/@types/d3-axis": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-3.0.6.tgz", + "integrity": "sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==", + "license": "MIT", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-brush": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-3.0.6.tgz", + "integrity": "sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==", + "license": "MIT", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-chord": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/d3-chord/-/d3-chord-3.0.6.tgz", + "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==", + "license": "MIT" + }, + "node_modules/@types/d3-color": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz", + "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==", + "license": "MIT" + }, + "node_modules/@types/d3-contour": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/d3-contour/-/d3-contour-3.0.6.tgz", + "integrity": "sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==", + "license": "MIT", + "dependencies": { + "@types/d3-array": "*", + "@types/geojson": "*" + } + }, + "node_modules/@types/d3-delaunay": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz", + "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==", + "license": "MIT" + }, + "node_modules/@types/d3-dispatch": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@types/d3-dispatch/-/d3-dispatch-3.0.7.tgz", + "integrity": "sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==", + "license": "MIT" + }, + "node_modules/@types/d3-drag": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz", + "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==", + "license": "MIT", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-dsv": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@types/d3-dsv/-/d3-dsv-3.0.7.tgz", + "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==", + "license": "MIT" + }, + "node_modules/@types/d3-ease": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz", + "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==", + "license": "MIT" + }, + "node_modules/@types/d3-fetch": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@types/d3-fetch/-/d3-fetch-3.0.7.tgz", + "integrity": "sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==", + "license": "MIT", + "dependencies": { + "@types/d3-dsv": "*" + } + }, + "node_modules/@types/d3-force": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@types/d3-force/-/d3-force-3.0.10.tgz", + "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==", + "license": "MIT" + }, + "node_modules/@types/d3-format": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-3.0.4.tgz", + "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==", + "license": "MIT" + }, + "node_modules/@types/d3-geo": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-3.1.1.tgz", + "integrity": "sha512-65Emv9fQiQQqphLlRkuQ5ypPsOmWPhtBGCMv61JDPEPMvsx+gzhGf74yw1a78xFKPj6zw4AgQICJoQv0vK9M2w==", + "license": "MIT", + "dependencies": { + "@types/geojson": "*" + } + }, + "node_modules/@types/d3-hierarchy": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz", + "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==", + "license": "MIT" + }, + "node_modules/@types/d3-interpolate": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz", + "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==", + "license": "MIT", + "dependencies": { + "@types/d3-color": "*" + } + }, + "node_modules/@types/d3-path": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz", + "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==", + "license": "MIT" + }, + "node_modules/@types/d3-polygon": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-polygon/-/d3-polygon-3.0.2.tgz", + "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==", + "license": "MIT" + }, + "node_modules/@types/d3-quadtree": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz", + "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==", + "license": "MIT" + }, + "node_modules/@types/d3-random": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-random/-/d3-random-3.0.4.tgz", + "integrity": "sha512-UHYId5WTCx4L4YNel7NU00XUXXgvgpgZOvp10PuvsQENjMDXhh2RyFc0KBjO7B45ne4Ha1yVH7ii0vnzKkuzWA==", + "license": "MIT" + }, + "node_modules/@types/d3-scale": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz", + "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==", + "license": "MIT", + "dependencies": { + "@types/d3-time": "*" + } + }, + "node_modules/@types/d3-scale-chromatic": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz", + "integrity": "sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==", + "license": "MIT" + }, + "node_modules/@types/d3-selection": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.12.tgz", + "integrity": "sha512-Qe/KWYhEiIIxGs7HrAAjMfShxKldx19SJtr5zu53f3afPsdZNz7HHtdTLXo/kqeiWNXVycI24kSnfzBYkTzpgw==", + "license": "MIT" + }, + "node_modules/@types/d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-kVd74ta9eof3eJOvbNd1vGKS/XERRyQbT26Og63hIsvDO84cjD5gEOhsXf26w3FSoNlPVz84DOFcKv/oou+fMw==", + "license": "MIT", + "dependencies": { + "@types/d3-path": "*" + } + }, + "node_modules/@types/d3-time": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz", + "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==", + "license": "MIT" + }, + "node_modules/@types/d3-time-format": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-4.0.3.tgz", + "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==", + "license": "MIT" + }, + "node_modules/@types/d3-timer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz", + "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==", + "license": "MIT" + }, + "node_modules/@types/d3-transition": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz", + "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==", + "license": "MIT", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-zoom": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.9.tgz", + "integrity": "sha512-0sE1406XBYJGiqD3AusTl9ZqC//2mIXix51tbom25gDCA8ri4xnSZg28CaSE8Srl6FClqABUKfsn0qghgdepMA==", + "license": "MIT", + "dependencies": { + "@types/d3-interpolate": "*", + "@types/d3-selection": "*" + } + }, "node_modules/@types/debug": { "version": "4.1.13", "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", @@ -2212,6 +2551,12 @@ "@types/estree": "*" } }, + "node_modules/@types/geojson": { + "version": "7946.0.16", + "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz", + "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==", + "license": "MIT" + }, "node_modules/@types/hast": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", @@ -2261,6 +2606,13 @@ "undici-types": "~6.21.0" } }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "license": "MIT", + "optional": true + }, "node_modules/@types/unist": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", @@ -2273,6 +2625,16 @@ "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", "license": "ISC" }, + "node_modules/@upsetjs/venn.js": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@upsetjs/venn.js/-/venn.js-2.0.0.tgz", + "integrity": "sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==", + "license": "MIT", + "optionalDependencies": { + "d3-selection": "^3.0.0", + "d3-transition": "^3.0.1" + } + }, "node_modules/@vitest/mocker": { "version": "5.0.5", "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.5.tgz", @@ -2748,6 +3110,22 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/chevrotain": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/chevrotain/-/chevrotain-13.2.0.tgz", + "integrity": "sha512-GTouk5YzgBxlTPCaDn5q0q2EJKkrYmnPF+HmF8v0Qo4r3iyPG7HJivkN1wthCXZcm3sIcZFpGTRovLPNdJNRCA==", + "license": "Apache-2.0", + "dependencies": { + "@chevrotain/cst-dts-gen": "13.2.0", + "@chevrotain/gast": "13.2.0", + "@chevrotain/regexp-to-ast": "13.2.0", + "@chevrotain/types": "13.2.0", + "@chevrotain/utils": "13.2.0" + }, + "engines": { + "node": ">=22.0.0" + } + }, "node_modules/chokidar": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", @@ -2811,154 +3189,678 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/clsx": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", - "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", - "license": "MIT", - "engines": { - "node": ">=6" + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/collapse-white-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", + "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/commander": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", + "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/common-ancestor-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/common-ancestor-path/-/common-ancestor-path-2.0.0.tgz", + "integrity": "sha512-dnN3ibLeoRf2HNC+OlCiNc5d2zxbLJXOtiZUudNFSXZrNSydxcCsSpRzXwfu7BBWCIfHPw+xTayeBvJCP/D8Ng==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">= 18" + } + }, + "node_modules/cookie": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-2.0.1.tgz", + "integrity": "sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==", + "license": "MIT", + "engines": { + "node": ">=22" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/cookie-es": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-1.2.3.tgz", + "integrity": "sha512-lXVyvUvrNXblMqzIRrxHb57UUVmqsSWlxqt3XIjCkUP0wDAf6uicO6KMbEgYrMNtEvWgWHwe42CKxPu9MYAnWw==", + "license": "MIT" + }, + "node_modules/cose-base": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-1.0.3.tgz", + "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==", + "license": "MIT", + "dependencies": { + "layout-base": "^1.0.0" + } + }, + "node_modules/crossws": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/crossws/-/crossws-0.3.5.tgz", + "integrity": "sha512-ojKiDvcmByhwa8YYqbQI/hg7MEU0NC03+pSdEq4ZUnZR9xXpwk7E43SMNGkn+JxJGPFtNvQ48+vV2p+P1ml5PA==", + "license": "MIT", + "dependencies": { + "uncrypto": "^0.1.3" + } + }, + "node_modules/css-select": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-6.0.0.tgz", + "integrity": "sha512-rZZVSLle8v0+EY8QAkDWrKhpgt6SA5OtHsgBnsj6ZaLb5dmDVOWUDtQitd9ydxxvEjhewNudS6eTVU7uOyzvXw==", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^7.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.2", + "nth-check": "^2.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-tree": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", + "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", + "license": "MIT", + "dependencies": { + "mdn-data": "2.27.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, + "node_modules/css-what": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-7.0.0.tgz", + "integrity": "sha512-wD5oz5xibMOPHzy13CyGmogB3phdvcDaB5t0W/Nr5Z2O/agcB8YwOz6e2Lsp10pNDzBoDO9nVa3RGs/2BttpHQ==", + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/csso": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz", + "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==", + "license": "MIT", + "dependencies": { + "css-tree": "~2.2.0" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/csso/node_modules/css-tree": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz", + "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==", + "license": "MIT", + "dependencies": { + "mdn-data": "2.0.28", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/csso/node_modules/mdn-data": { + "version": "2.0.28", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz", + "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==", + "license": "CC0-1.0" + }, + "node_modules/cytoscape": { + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.35.0.tgz", + "integrity": "sha512-sMvBIXiGMnhkCaWz2R06FwF/27MNlS+Tqvi17foO9UhnUg3XGZccKjxsvEqQFAQYMSSZmN5SxYzUYlQ0DOJJ3g==", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/cytoscape-cose-bilkent": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz", + "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==", + "license": "MIT", + "dependencies": { + "cose-base": "^1.0.0" + }, + "peerDependencies": { + "cytoscape": "^3.2.0" + } + }, + "node_modules/cytoscape-fcose": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz", + "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==", + "license": "MIT", + "dependencies": { + "cose-base": "^2.2.0" + }, + "peerDependencies": { + "cytoscape": "^3.2.0" + } + }, + "node_modules/cytoscape-fcose/node_modules/cose-base": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-2.2.0.tgz", + "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==", + "license": "MIT", + "dependencies": { + "layout-base": "^2.0.0" + } + }, + "node_modules/cytoscape-fcose/node_modules/layout-base": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-2.0.1.tgz", + "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==", + "license": "MIT" + }, + "node_modules/d3": { + "version": "7.9.2", + "resolved": "https://registry.npmjs.org/d3/-/d3-7.9.2.tgz", + "integrity": "sha512-ZKb/mONPVKzaO5UlcWcwN8bS4ezvQaYu+bsou+XgNABdGC800kwH651ADTbbTxMPHW13UlvbQafdmJQDk1w7Mg==", + "license": "ISC", + "dependencies": { + "d3-array": "^3.2.5", + "d3-axis": "^3.0.1", + "d3-brush": "^3.0.1", + "d3-chord": "^3.0.2", + "d3-color": "^3.1.1", + "d3-contour": "^4.0.3", + "d3-delaunay": "^6.0.6", + "d3-dispatch": "^3.0.2", + "d3-drag": "^3.0.1", + "d3-dsv": "^3.0.2", + "d3-ease": "^3.0.2", + "d3-fetch": "^3.0.2", + "d3-force": "^3.0.1", + "d3-format": "^3.1.3", + "d3-geo": "^3.1.2", + "d3-hierarchy": "^3.1.3", + "d3-interpolate": "^3.0.2", + "d3-path": "^3.1.1", + "d3-polygon": "^3.0.2", + "d3-quadtree": "^3.0.2", + "d3-random": "^3.0.2", + "d3-scale": "^4.0.3", + "d3-scale-chromatic": "^3.1.1", + "d3-selection": "^3.0.1", + "d3-shape": "^3.2.1", + "d3-time": "^3.1.1", + "d3-time-format": "^4.1.1", + "d3-timer": "^3.0.2", + "d3-transition": "^3.0.2", + "d3-zoom": "^3.0.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-array": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.5.tgz", + "integrity": "sha512-Th8qGXoBalmWsstpkuhmBuTsBQIFqYOJtjlBvNVvBfJ8E3uYusBUwUR8HU20U0qKKQkgCvKyR1YjiozWadk5QA==", + "license": "ISC", + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-axis": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.1.tgz", + "integrity": "sha512-E5QCXfaf/uJZEHHiqoWRq+bQEm2PzoVFv2rDC7CZ3wwI0MjfMW3w83J3ubobG4IJj3lShAI5eiPJhOu/8wHofA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-brush": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.1.tgz", + "integrity": "sha512-L5Glqa/Gb7LU3ndIOMtA5mDzlJ0aXKp5ELP2X09ctWF23jO7+faIUVDbmaIi+D6k3EemXFWn1F3lkfguExoVhA==", + "license": "ISC", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "3", + "d3-transition": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-chord": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.2.tgz", + "integrity": "sha512-cGmADo5M2PTi3ewJZ2lcE32eURd4JmHtQ5JwRIUcas5L1SXqufG9yPyjWp8fW0gRi7aZi9bgbZPFZO1eyZ+1CQ==", + "license": "ISC", + "dependencies": { + "d3-path": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-color": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.1.tgz", + "integrity": "sha512-lfab8x0Bj0UO7SNsY8dZSbNIA6ipbkE3X0NG9nqjCu6CfCHZseuDnOSJY7hidKrjpP++i1M2qT+FlAdPKYRilA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-contour": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.3.tgz", + "integrity": "sha512-5DYURc8KwXPOhSUBblU0P9rVcArsSPxPOxsfO0Eud0s28oU0sB2e80aRHRL9AZW3usT8ikFKyIHpHHLNWLdRVA==", + "license": "ISC", + "dependencies": { + "d3-array": "^3.2.4" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-delaunay": { + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.6.tgz", + "integrity": "sha512-DMQIEvSJhZCB6pwedcXaAlQ+MeKU5LlM2XakKtc73b/VM+RBiI1SRXycOEOKg2jsKj4zZ9F0KGYG6nCGwwWu/g==", + "license": "ISC", + "dependencies": { + "delaunator": "5" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dispatch": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.2.tgz", + "integrity": "sha512-sAzH4Y4nsLo8eSqw5jKiZt+LU2wZmL/qS+OkxQGjhwazB/D7TY34R/QK1eshfGr7cZEKymKZ/Haem7m+lu98Sg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-drag": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.1.tgz", + "integrity": "sha512-OWeoayCq8J69hUIjvL+Mb6Q6Oaj/fyHV5XaXByEUAG+JUjIfTGDnk3qGpcXrD3VmQ3BSV96fcbM6fqq7C0tbPA==", + "license": "ISC", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-selection": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dsv": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.2.tgz", + "integrity": "sha512-FUnXhX7I4/AXyRCZzwfZTDGSq8PGZ4oR0tiCBqNGOZMsDrQ+6sIWNQnBzcCGhzJKZ6uCvCezTwflUqI209RRiQ==", + "license": "ISC", + "dependencies": { + "commander": "7", + "iconv-lite": "0.6", + "rw": "1" + }, + "bin": { + "csv2json": "bin/dsv2json.js", + "csv2tsv": "bin/dsv2dsv.js", + "dsv2dsv": "bin/dsv2dsv.js", + "dsv2json": "bin/dsv2json.js", + "json2csv": "bin/json2dsv.js", + "json2dsv": "bin/json2dsv.js", + "json2tsv": "bin/json2dsv.js", + "tsv2csv": "bin/dsv2dsv.js", + "tsv2json": "bin/dsv2json.js" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dsv/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/d3-ease": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.2.tgz", + "integrity": "sha512-B5znKqRmKROAN4oHWQ50W/qisVjA9GXh2WMsVKdFVp4DxWmcrOsweqgUOUVsv5th96kwaZlokU6SlV4J3gak1w==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-fetch": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.2.tgz", + "integrity": "sha512-1wGF62bgjMRbF6mqbD+6rRWBL2hwWVYQjFO2UP3Wm1nIAvJZKaQxXM5caVY7athoCa8wIq9lCf7g44lPWFk50g==", + "license": "ISC", + "dependencies": { + "d3-dsv": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-force": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.1.tgz", + "integrity": "sha512-kAaaHLFebBYwgi5cYBXAI8vKrQFMCD2MEswj2QuPKKbdU1wYLc8WXtS7O8F/b6POCIe3gJjY6hkDstHi1yMETQ==", + "license": "ISC", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-quadtree": "1 - 3", + "d3-timer": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-format": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.3.tgz", + "integrity": "sha512-+F+/49swqmGuQJmSKnVMIDH/QkEFV5li9QRj0xm/KhyAUBv099O5PrvpQFxBp24PYph17Mnvt9mjKQV0ii0nMA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-geo": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.2.tgz", + "integrity": "sha512-5R8ZgDQorIxmauv7R6gpE/ndz+Z0qAZssigq0aXFdvPHdY41RqtW02jrRUQAL724NdPABYXo1+gQEGBBr7uKNg==", + "license": "ISC", + "dependencies": { + "d3-array": "2.5.0 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-hierarchy": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.3.tgz", + "integrity": "sha512-GRajN5ZcnEwYFWqqdzhG1qJ3+fDg6WWzk47TJg7ePY7yvYAgRfD2r1mUx+wviBOWuCwamCUzjwMSdato43jbGA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.2.tgz", + "integrity": "sha512-IRzGU62DtxhvsnSTWMQIdnoZ6gA+BCWwBon1EJI6SjoN595799b6z/QRBzXfFhE8iupUPp3042yBNo0STPqnzQ==", + "license": "ISC", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.1.tgz", + "integrity": "sha512-jsbgV8zIT38ReB9O7X7gcLndTQRONSqNNd+oGIaTBdUug4r5jFmp0N6RY9R5GWbdUDucn0qoTGyfjapT4tDhcg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-polygon": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.2.tgz", + "integrity": "sha512-WAUvPudGU1Dn4mDPfb6+JnnbeVEV53hG/BoT+bxts6AkZsOpTEiV1jHYX+2vtwCICNFG9Wxv8QS+eW1zE/Dwfg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-quadtree": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.2.tgz", + "integrity": "sha512-9Lu9mqJKRbIk0d6mKDjpvPURaPdwHVK5CYbcdd0/4vBgz4ldz/7TIOse3kNERsByGNfld58KEco507AztJWyTQ==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-random": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.2.tgz", + "integrity": "sha512-PxJi9LNV+7mulaYO77nd+oGurXGL1fhedXjHnB3pWLUcqDnQtF4VASoqnQGHgoXLByVdv5QJ/2kfwkGn5HTS8g==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-sankey": { + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/d3-sankey/-/d3-sankey-0.12.3.tgz", + "integrity": "sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==", + "license": "BSD-3-Clause", + "dependencies": { + "d3-array": "1 - 2", + "d3-shape": "^1.2.0" } }, - "node_modules/collapse-white-space": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", - "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "node_modules/d3-sankey/node_modules/d3-array": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz", + "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==", + "license": "BSD-3-Clause", + "dependencies": { + "internmap": "^1.0.0" } }, - "node_modules/comma-separated-tokens": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", - "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "node_modules/d3-sankey/node_modules/d3-path": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", + "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==", + "license": "BSD-3-Clause" + }, + "node_modules/d3-sankey/node_modules/d3-shape": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", + "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", + "license": "BSD-3-Clause", + "dependencies": { + "d3-path": "1" } }, - "node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", - "license": "MIT", + "node_modules/d3-sankey/node_modules/internmap": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz", + "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==", + "license": "ISC" + }, + "node_modules/d3-scale": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.3.tgz", + "integrity": "sha512-66cWobCNzcMvlfoaDHCxuIv9TBUWG1BLOWdv9kHHFuCr1JdqAWPvTmsaEYDD5NRMyWZ5+7u0GqiCDfMXMqh3hg==", + "license": "ISC", + "dependencies": { + "d3-array": "2.10.0 - 3", + "d3-format": "1 - 3", + "d3-interpolate": "1.2.0 - 3", + "d3-time": "2.1.1 - 3", + "d3-time-format": "2 - 4" + }, "engines": { - "node": ">=16" + "node": ">=12" } }, - "node_modules/common-ancestor-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/common-ancestor-path/-/common-ancestor-path-2.0.0.tgz", - "integrity": "sha512-dnN3ibLeoRf2HNC+OlCiNc5d2zxbLJXOtiZUudNFSXZrNSydxcCsSpRzXwfu7BBWCIfHPw+xTayeBvJCP/D8Ng==", - "license": "BlueOak-1.0.0", + "node_modules/d3-scale-chromatic": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.1.tgz", + "integrity": "sha512-lA5gfN2yMvmChubmptnDiBfeGpHD7Yb1EbvCz0TZE0WHXhyR6W2allPuhKtzV5ILQRqeOdefF0qYtERReLUBDg==", + "license": "ISC", + "dependencies": { + "d3-color": "1 - 3", + "d3-interpolate": "1 - 3", + "d3-scale": "1 - 4" + }, "engines": { - "node": ">= 18" + "node": ">=12" } }, - "node_modules/cookie": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-2.0.1.tgz", - "integrity": "sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==", - "license": "MIT", + "node_modules/d3-selection": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.1.tgz", + "integrity": "sha512-ODSf35vqCrlCfp7hrm0eZjvOosSXSYLjqvIlhMBV9q9VOx7EBJG6pc+uXBswEZNJgCGJ+qnKYcWutbZDIxe/Xg==", + "license": "ISC", "engines": { - "node": ">=22" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" + "node": ">=12" } }, - "node_modules/cookie-es": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-1.2.3.tgz", - "integrity": "sha512-lXVyvUvrNXblMqzIRrxHb57UUVmqsSWlxqt3XIjCkUP0wDAf6uicO6KMbEgYrMNtEvWgWHwe42CKxPu9MYAnWw==", - "license": "MIT" - }, - "node_modules/crossws": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/crossws/-/crossws-0.3.5.tgz", - "integrity": "sha512-ojKiDvcmByhwa8YYqbQI/hg7MEU0NC03+pSdEq4ZUnZR9xXpwk7E43SMNGkn+JxJGPFtNvQ48+vV2p+P1ml5PA==", - "license": "MIT", + "node_modules/d3-shape": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.1.tgz", + "integrity": "sha512-dm2o+lbKdzg9tY7GEag/dB9hcbodLfwkE/DkvqbELJXaMz0yKzWWhZqhbI7CKubukA7HnRyz0avdtvi7EPxPvw==", + "license": "ISC", "dependencies": { - "uncrypto": "^0.1.3" + "d3-path": "^3.1.1" + }, + "engines": { + "node": ">=12" } }, - "node_modules/css-select": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-6.0.0.tgz", - "integrity": "sha512-rZZVSLle8v0+EY8QAkDWrKhpgt6SA5OtHsgBnsj6ZaLb5dmDVOWUDtQitd9ydxxvEjhewNudS6eTVU7uOyzvXw==", - "license": "BSD-2-Clause", + "node_modules/d3-time": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.1.tgz", + "integrity": "sha512-Ze7rjrhMzdeulh0/hjcfFj7XLAHOfowtEMfsoG6DU866HPynQNW7Wfen6hzXcqKTv8XzxvF6Hzr5XD6bMHr2ug==", + "license": "ISC", "dependencies": { - "boolbase": "^1.0.0", - "css-what": "^7.0.0", - "domhandler": "^5.0.3", - "domutils": "^3.2.2", - "nth-check": "^2.1.1" + "d3-array": "2 - 3" }, - "funding": { - "url": "https://github.com/sponsors/fb55" + "engines": { + "node": ">=12" } }, - "node_modules/css-tree": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", - "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", - "license": "MIT", + "node_modules/d3-time-format": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.1.tgz", + "integrity": "sha512-22XaqjyCjpqgda20erhsOjGmC3vvYwTNYniKAd45W5UWLDF43moeOuV9qYpRqobIlsnK0UhnKZjUUJm3VgORUA==", + "license": "ISC", "dependencies": { - "mdn-data": "2.27.1", - "source-map-js": "^1.2.1" + "d3-time": "1 - 3" }, "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + "node": ">=12" } }, - "node_modules/css-what": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-7.0.0.tgz", - "integrity": "sha512-wD5oz5xibMOPHzy13CyGmogB3phdvcDaB5t0W/Nr5Z2O/agcB8YwOz6e2Lsp10pNDzBoDO9nVa3RGs/2BttpHQ==", - "license": "BSD-2-Clause", + "node_modules/d3-timer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.2.tgz", + "integrity": "sha512-1Il1aliroVSErrv5aulRBxAY+7+DnaoLIWGd1C6SsBTWDeobWiP/V69vwb8vT6abR1kKwaNe1196pmaQ1fK90A==", + "license": "ISC", "engines": { - "node": ">= 6" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" + "node": ">=12" } }, - "node_modules/csso": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz", - "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==", - "license": "MIT", + "node_modules/d3-transition": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.2.tgz", + "integrity": "sha512-RcjCsdFgyFoDB+QXLC5m60ZkTN0k9zH+ovoLlTdJnDS1AbfbcuowiM4pCKSTOclNibS4f4J4cbv2m7O7y8NTOQ==", + "license": "ISC", "dependencies": { - "css-tree": "~2.2.0" + "d3-color": "1 - 3", + "d3-dispatch": "1 - 3", + "d3-ease": "1 - 3", + "d3-interpolate": "1 - 3", + "d3-timer": "1 - 3" }, "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", - "npm": ">=7.0.0" + "node": ">=12" + }, + "peerDependencies": { + "d3-selection": "2 - 3" } }, - "node_modules/csso/node_modules/css-tree": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz", - "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==", - "license": "MIT", + "node_modules/d3-zoom": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.1.tgz", + "integrity": "sha512-kfjD3BDQu/FOatpZ6JdMSyIoDwTxIpI29ySTI2J5ZlDaH1WbuJGQJ2Q9oJkWTEZEW98j6idezoomSD3Cn2zwiw==", + "license": "ISC", "dependencies": { - "mdn-data": "2.0.28", - "source-map-js": "^1.0.1" + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "2 - 3", + "d3-transition": "2 - 3" }, "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", - "npm": ">=7.0.0" + "node": ">=12" } }, - "node_modules/csso/node_modules/mdn-data": { - "version": "2.0.28", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz", - "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==", - "license": "CC0-1.0" + "node_modules/dagre-d3-es": { + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/dagre-d3-es/-/dagre-d3-es-7.0.14.tgz", + "integrity": "sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==", + "license": "MIT", + "dependencies": { + "d3": "^7.9.0", + "lodash-es": "^4.17.21" + } + }, + "node_modules/dayjs": { + "version": "1.11.23", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.23.tgz", + "integrity": "sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==", + "license": "MIT" }, "node_modules/debug": { "version": "4.4.3", @@ -2996,6 +3898,15 @@ "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==", "license": "MIT" }, + "node_modules/delaunator": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.1.0.tgz", + "integrity": "sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==", + "license": "ISC", + "dependencies": { + "robust-predicates": "^3.0.2" + } + }, "node_modules/dequal": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", @@ -3092,6 +4003,15 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, + "node_modules/dompurify": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.5.0.tgz", + "integrity": "sha512-LYC0ZkE8P1V42JsRYTwMdme/2ET8SpOc5AA2eOFjP/IadvRd2fwiT4TVz5vkfy0XUx12aS2UaRkTnfVPNOv9vw==", + "license": "(MPL-2.0 OR Apache-2.0)", + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } + }, "node_modules/domutils": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", @@ -3115,6 +4035,12 @@ "node": ">=4" } }, + "node_modules/elkjs": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/elkjs/-/elkjs-0.12.1.tgz", + "integrity": "sha512-IhMYKHE4S2vtx0QrhBP3lYOIKDeIiJXBrdq9MGYkuB8ZHqhrBnHNfSUndjXFewrX1CPK8chwq+2NA0K0hliYuw==", + "license": "EPL-2.0 OR GPL-3.0-or-later" + }, "node_modules/emmet": { "version": "2.4.11", "resolved": "https://registry.npmjs.org/emmet/-/emmet-2.4.11.tgz", @@ -3157,6 +4083,18 @@ "integrity": "sha512-RNq2lKJw53c7z9QRHeiKeA6Ez0oikOqiBGdmxQhKDxEiOX1g5QJR4IoFVwicn8uCZcRWNrXC3NZaJihgK7aEbg==", "license": "MIT" }, + "node_modules/es-toolkit": { + "version": "1.53.2", + "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.53.2.tgz", + "integrity": "sha512-iUqZ+NlwH4jUgRmXZUxFBsV/9762TQEa1O4IXLFBmDEjVHScBytKuseX23I0+v9ShZ5MYxEx6WKNzm6IPnex8g==", + "license": "MIT", + "workspaces": [ + "docs", + "benchmarks", + "tests/types", + "tests/browser-compat" + ] + }, "node_modules/esast-util-from-estree": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/esast-util-from-estree/-/esast-util-from-estree-2.0.0.tgz", @@ -3551,6 +4489,12 @@ "uncrypto": "^0.1.3" } }, + "node_modules/hachure-fill": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/hachure-fill/-/hachure-fill-0.5.2.tgz", + "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==", + "license": "MIT" + }, "node_modules/hast-util-from-html": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.1.0.tgz", @@ -3789,12 +4733,43 @@ "integrity": "sha512-M5t5LlJpS1UHMjvwRQVdFHvPISGeLAxNcrWuJkeGh0KxsqCHZ1O3NXZU/8x7cD0BDcGW8kapxMKTvwlqrNkHkA==", "license": "BSD-2-Clause" }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/import-meta-resolve": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", + "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/inline-style-parser": { "version": "0.2.9", "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.9.tgz", "integrity": "sha512-IttN8BqKLxzUrnTqHI+/hwAJQItBAUjdoHERCDv+oOuX48VP6bzW8+QjOXSfoevzq3YrYAwX1uLHp8TqO9yIeg==", "license": "MIT" }, + "node_modules/internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/iron-webcrypto": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz", @@ -3888,6 +4863,36 @@ "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", "license": "MIT" }, + "node_modules/katex": { + "version": "0.18.10", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.18.10.tgz", + "integrity": "sha512-/B6p9eY9DX7aHBfpkHdpirDTZ5QH9xTwL9y837PWuzuv41O5jFdqNQwVQEQsimY0/iVNkwBY4+4hMfhQ7d4Dbw==", + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^15.0.0" + }, + "bin": { + "katex": "cli.js" + } + }, + "node_modules/katex/node_modules/commander": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.1.0.tgz", + "integrity": "sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==", + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/khroma": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/khroma/-/khroma-2.1.0.tgz", + "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==" + }, "node_modules/kleur": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", @@ -3898,6 +4903,12 @@ "node": ">=6" } }, + "node_modules/layout-base": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-1.0.2.tgz", + "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==", + "license": "MIT" + }, "node_modules/lightningcss": { "version": "1.33.0", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", @@ -4147,6 +5158,12 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/lodash-es": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz", + "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", + "license": "MIT" + }, "node_modules/longest-streak": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", @@ -4208,6 +5225,18 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/marked": { + "version": "16.4.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.2.tgz", + "integrity": "sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==", + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 20" + } + }, "node_modules/mdast-util-definitions": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-6.0.0.tgz", @@ -4520,6 +5549,39 @@ "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", "license": "CC0-1.0" }, + "node_modules/mermaid": { + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-12.3.0.tgz", + "integrity": "sha512-4113TdXeLAsMruJ79OpFL5O8+LTFXhQqZ260rF3tgUmiNAtRm4Uume04I+65PRN6yZ69J4f8rVYWW8zRk65UYw==", + "license": "MIT", + "dependencies": { + "@braintree/sanitize-url": "^7.1.2", + "@iconify/utils": "^3.0.2", + "@mermaid-js/parser": "^2.0.1", + "@types/d3": "^7.4.3", + "@upsetjs/venn.js": "^2.0.0", + "chevrotain": "~13.2.0", + "cytoscape": "^3.34.0", + "cytoscape-cose-bilkent": "^4.1.0", + "cytoscape-fcose": "^2.2.0", + "d3": "^7.9.0", + "d3-sankey": "^0.12.3", + "dagre-d3-es": "7.0.14", + "dayjs": "^1.11.21", + "dompurify": "^3.4.17", + "elkjs": "^0.12.0", + "es-toolkit": "^1.45.1", + "katex": "^0.18.0", + "khroma": "^2.1.0", + "marked": "^16.3.0", + "roughjs": "^4.6.6", + "stylis": "^4.3.6", + "ts-dedent": "^2.2.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, "node_modules/micromark": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz", @@ -5517,6 +6579,12 @@ "dev": true, "license": "MIT" }, + "node_modules/path-data-parser": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/path-data-parser/-/path-data-parser-0.1.0.tgz", + "integrity": "sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==", + "license": "MIT" + }, "node_modules/piccolore": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/piccolore/-/piccolore-0.1.3.tgz", @@ -5541,6 +6609,22 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/points-on-curve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz", + "integrity": "sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==", + "license": "MIT" + }, + "node_modules/points-on-path": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/points-on-path/-/points-on-path-0.2.1.tgz", + "integrity": "sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==", + "license": "MIT", + "dependencies": { + "path-data-parser": "0.1.0", + "points-on-curve": "0.2.0" + } + }, "node_modules/postcss": { "version": "8.5.30", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.30.tgz", @@ -5950,6 +7034,12 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/robust-predicates": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", + "integrity": "sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==", + "license": "Unlicense" + }, "node_modules/rolldown": { "version": "1.2.14", "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.14.tgz", @@ -5983,6 +7073,30 @@ "@rolldown/binding-win32-x64-msvc": "1.2.14" } }, + "node_modules/roughjs": { + "version": "4.6.6", + "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.6.6.tgz", + "integrity": "sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==", + "license": "MIT", + "dependencies": { + "hachure-fill": "^0.5.2", + "path-data-parser": "^0.1.0", + "points-on-curve": "^0.2.0", + "points-on-path": "^0.2.1" + } + }, + "node_modules/rw": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", + "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==", + "license": "BSD-3-Clause" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, "node_modules/satteri": { "version": "0.10.5", "resolved": "https://registry.npmjs.org/satteri/-/satteri-0.10.5.tgz", @@ -6229,6 +7343,12 @@ "inline-style-parser": "0.2.9" } }, + "node_modules/stylis": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.4.0.tgz", + "integrity": "sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==", + "license": "MIT" + }, "node_modules/svgo": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/svgo/-/svgo-4.1.0.tgz", @@ -6330,6 +7450,15 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/ts-dedent": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.3.0.tgz", + "integrity": "sha512-JfJeIHke7y2egdGGgRAvpCwYFUsHlM2gPcrVOxFkznt/4uzQ7HFmvE63iFHVLBJNDuyDOQgijDK/tXH/f6Msjg==", + "license": "MIT", + "engines": { + "node": ">=6.10" + } + }, "node_modules/tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", diff --git a/package.json b/package.json index 6e88540..e723ac7 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "dependencies": { "@astrojs/markdown-remark": "^7.3.9", "astro": "^7.4.0", + "mermaid": "^12.3.0", "yaml": "^2.9.1", "zod": "^4.6.7" }, diff --git a/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md b/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md index e9398e0..4b9b9d0 100644 --- a/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md +++ b/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md @@ -17,7 +17,7 @@ Four currents are changing how teams approach that question. **Software-driven e **Agile development** works in small increments so a team can test an assumption while a design can still change. Traditional waterfall handoffs can make this harder when each discipline holds its information in a separate silo: before testing a change, colleagues must reconcile which versions belong together. Different disciplines still have different physical and delivery constraints. -**Model-based systems engineering (MBSE)** is an established approach that uses system models to describe relationships and explore designs. Chapter 2 introduces a traditional SysML description of the intersection; Chapter 4 connects SysML views to shared text, and Chapter 5 uses an executable model to investigate a question. +**Model-based systems engineering (MBSE)** is an established approach that uses system models to describe relationships and explore designs. The Systems Modeling Language (SysML) can describe the intersection's controller and signals in Chapter 2. Chapter 4 connects a view to its shared text, and Chapter 5 uses an executable model to investigate the fixed phases the controller selects. **AI-native engineering** brings agentic support into that workflow. Given the shared definitions and a bounded task, an AI agent can help draft an executable model, rerun an agreed check after a definition changes, and propose an update to the text from simulation findings. Engineers review its contributions and make the decisions. The combination can shorten the path from a question to feedback, provided the team maintains the information and checks on which it depends. @@ -31,7 +31,7 @@ A team that produces changes faster than it can integrate or test them moves wor A model of a physical function can be executed before hardware is ready. An interface contract can be checked when either side changes. If several product variants use the same module, recording which revision each uses tells the integration lead which teams a change affects. -An engineering decision can retain its rationale and applicable evidence. A new engineer joining the next variant can read why the team chose an interface limit and rerun its check without tracking down the original designer. Sharing modules, decisions and checks across compatible designs gives the business a way to support more variants without a proportional increase in engineering staff. +An engineering decision can retain its rationale and applicable evidence. A new engineer joining the next variant can read why the team chose an interface limit and rerun its check without tracking down the original designer. Reusing the check can avoid repeating the same investigation, provided maintaining it costs less than the work it saves. ## AI expands what engineering teams can do diff --git a/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md b/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md index dd6aef7..193aab1 100644 --- a/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md +++ b/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md @@ -46,16 +46,66 @@ Imagine joining a city workshop about a busy four-way intersection. Drivers desc The city's purpose is broad because the team has not yet agreed on all the conditions or trade-offs. In an agile approach, engineers work with the people affected while investigations and design choices reveal what a useful requirement needs to say. A queue requirement, for example, needs an identified approach, a counting period, reference conditions and a criterion for comparison. These are proposed details to agree with the city, not measurements already obtained. -## Describe the intersection and its traffic +## A system view in SysML -A traditional SysML system description can locate the parts and their relationships before the team simulates behavior. In this illustrative system, the intersection includes a controller and signal heads. The controller sends commands to the heads; drivers and people crossing respond to the indications. Road approaches bring vehicles to the intersection, while crossings identify paths pedestrians use. This compact structural description is a view of the system, not evidence that the equipment is safe or installed. +A traditional Systems Modeling Language (SysML) description can locate the parts before the team simulates behavior. This illustrative structural definition says that an intersection contains a controller, vehicle signals and crossings. The controller sends commands to the signals; drivers and people crossing respond to indications. The definition is a starting point for discussion, not evidence that equipment is installed or safe. -The traffic-flow description answers a different question: how many vehicles arrive at each approach, and when? The same total can arrive steadily or in a burst. Before combining a count with the system description, someone must identify which modeled approach it describes and the interval it covers. A queue model can then use that information; crossing safety requires additional information about people and conflicting movements. +```sysml +part def Intersection { + part controller : Controller; + part vehicleSignals : VehicleSignals; + part crossings : Crossings; +} +part def Controller; +part def VehicleSignals; +part def Crossings; +``` + +The text names the `controller` part and its type. A [structural view in Chapter 4](04-engineering-knowledge-as-code.md#one-source-several-useful-perspectives) uses the same definition. It does not yet specify crossing indications, turning priority or the physical connections. + +## Describe traffic flow + +Traffic-flow information answers a different question: how many vehicles arrive at each approach, and when? The same total can arrive steadily or in a burst. Before combining a count with the system description, someone must identify which modeled approach it describes and the interval it covers. + +For example, an invented count might record three arrivals on the north arm from 8:00 to 8:05. To use it with the two-group model, the team would relate that arm to the north–south group, combine it with the corresponding south-arm count for the same interval and establish how the interval aligns with signal phases. The current model cannot recover a north-arm count from its combined group. Its abstract slots are not those five minutes. For the first illustrative comparison, the team groups traffic north–south (NS) and east–west (EW), starts both queues empty and uses eight abstract slots, not seconds. Its fixed phase sequence, arrival counts and service rules are maintained in the [T1 inputs](../../case-study/model-inputs-v1.json). The table is generated from those inputs: both invented scenarios contain two NS and two EW arrivals, placed at different times. +## Two views maintained as text + +The following sequence shows one illustrative ordering of controller, signal and road-user interactions. The controller requests north–south green, the signal shows it, a driver arrives and proceeds if permitted, and a pedestrian checks the crossing indication. The controller then requests amber. The displayed indication and driver response are assumptions for this discussion; the queue model does not simulate a signal head or a pedestrian crossing. It has no rule for when a pedestrian may cross or a turning vehicle may proceed. + +```mermaid +sequenceDiagram + actor Driver + participant Intersection + participant Signal + participant Controller + actor Pedestrian + Controller->>Signal: Request north-south green + Signal-->>Driver: Show vehicle green (assumed) + Driver->>Intersection: Arrive and proceed if permitted + Pedestrian->>Signal: Check crossing indication + Note over Pedestrian,Signal: Crossing indication and turning priority remain open + Controller->>Signal: Request north-south amber +``` + +The flowchart focuses on the vehicle queue in one slot. Arrivals join first. If the group's phase is green and the queue is nonempty, at most one vehicle leaves; otherwise it waits. The remaining queue is recorded before the next slot. It does not represent the crossing shown in the sequence. + +```mermaid +flowchart TD + A[Add arrivals to the group queue] --> B{Green and queue nonempty?} + B -- Yes --> C[Serve at most one vehicle] + B -- No --> D[Vehicles wait] + C --> E[Record remaining queue] + D --> E + E --> F[Continue to next slot] +``` + +A conventional image handoff can make the picture easy to read, but someone must also find the definition and check its revision before changing it. These Mermaid definitions are readable, versioned text rendered as diagrams. An AI agent could read them with the other shared information and propose, for example, a note identifying a newly specified crossing indication. An engineer would compare the proposed text and rendered view with the agreed system description before accepting it. [Chapter 4](04-engineering-knowledge-as-code.md) develops that shared-information practice. + ## A prototype for the first question The drivers' accounts suggest a hypothesis about *when* cars arrive. Imagine that two patterns bring the same number of vehicles to each road over the same period. If the signals follow the same sequence, could the timing of the arrivals alone change how many vehicles are still waiting at the end? diff --git a/site/src/pages/learn/v3/[slug].astro b/site/src/pages/learn/v3/[slug].astro index 20d9486..da561dc 100644 --- a/site/src/pages/learn/v3/[slug].astro +++ b/site/src/pages/learn/v3/[slug].astro @@ -94,6 +94,35 @@ const sourceUrl = `https://github.com/And-Gu/executable-engineering-lab/blob/mai

+ diff --git a/site/src/data/v3-learning.test.ts b/site/src/data/v3-learning.test.ts index 7a2be1f..b2df8b1 100644 --- a/site/src/data/v3-learning.test.ts +++ b/site/src/data/v3-learning.test.ts @@ -8,7 +8,7 @@ describe('V3 chapter activities', () => { const slots: Record = { '01': ['investment-feedback', 'chapter-quiz'], '02': ['arrival-patterns', 'chapter-quiz'], - '04': ['change-impact-figure', 'chapter-quiz'], + '04': ['intersection-structure', 'change-impact-figure', 'chapter-quiz'], '05': ['intersection-model', 'chapter-quiz'], '06': ['two-cycle-experiment', 'chapter-quiz'], '09': ['chapter-quiz', 'digital-thread'], diff --git a/site/src/pages/learn/v3/[slug].astro b/site/src/pages/learn/v3/[slug].astro index da561dc..1c21768 100644 --- a/site/src/pages/learn/v3/[slug].astro +++ b/site/src/pages/learn/v3/[slug].astro @@ -13,10 +13,12 @@ import TwoCycleExperiment from '../../../components/learning/TwoCycleExperiment. import DigitalThread from '../../../components/learning/DigitalThread.astro'; import QueueExperiment from '../../../components/learning/QueueExperiment.astro'; import ArrivalPatterns from '../../../components/learning/ArrivalPatterns.astro'; +import IntersectionStructure from '../../../components/learning/IntersectionStructure.astro'; import SocialLinks from '../../../components/SocialLinks.astro'; import AuthorAttribution from '../../../components/AuthorAttribution.astro'; import '../../../styles/chapter-reading.css'; import '../../../styles/v3-learning.css'; +import { checkout } from '../../../../../scripts/delivery-environment.mjs'; export async function getStaticPaths() { const modules = import.meta.glob>('../../../../../project/v3/manuscripts/revised/[0-9]*.md', { eager: true }); // Build pages only for the current course registry. Historical files with @@ -44,7 +46,7 @@ const questions = chapterQuizzes.get(frontmatter.id); const activities = ['chapter-quiz']; if (frontmatter.id === 'eel-v3-ch01-new-paradigm') activities.push('investment-feedback'); if (frontmatter.id === 'eel-v3-ch02-intersection-challenge') activities.push('arrival-patterns'); -if (frontmatter.id === 'eel-v3-ch04-engineering-knowledge') activities.push('change-impact-figure'); +if (frontmatter.id === 'eel-v3-ch04-engineering-knowledge') activities.push('intersection-structure', 'change-impact-figure'); if (frontmatter.id === 'eel-v3-ch05-models-prototypes') activities.push('intersection-model'); if (frontmatter.id === 'eel-v3-ch06-engineering-data') activities.push('two-cycle-experiment'); if (frontmatter.id === 'eel-v3-ch09-reviewable-increments') activities.push('digital-thread'); @@ -59,7 +61,8 @@ const contents = questions ? sections.flatMap(section => { if (section.content === 'intersection-model') return [{ depth: 2, slug: 'arrival-experiment', text: 'Move one arrival' }]; return section.content === 'chapter-quiz' ? [{ depth: 2, slug: 'chapter-quiz', text: 'Check your understanding' }] : []; }) : headings; -const sourceUrl = `https://github.com/And-Gu/executable-engineering-lab/blob/main/project/v3/manuscripts/revised/${Astro.params.slug}.md`; +const sourceState = checkout(); +const sourceUrl = `https://github.com/And-Gu/executable-engineering-lab/blob/${sourceState.dirty ? 'main' : sourceState.revision}/project/v3/manuscripts/revised/${Astro.params.slug}.md`; --- {current.title} · Executable Engineering Lab @@ -78,6 +81,7 @@ const sourceUrl = `https://github.com/And-Gu/executable-engineering-lab/blob/mai if (section.content === 'change-impact-figure') return ; if (section.content === 'intersection-model') return ; if (section.content === 'arrival-patterns') return ; + if (section.content === 'intersection-structure') return ; if (section.content === 'two-cycle-experiment') return ; if (section.content === 'digital-thread') return ; if (section.content === 'integrated-change') return ; @@ -90,7 +94,7 @@ const sourceUrl = `https://github.com/And-Gu/executable-engineering-lab/blob/mai

{!questions && 'Published after initial author review. This fictional teaching case is not physical validation. Interactive V3 tools remain in development. '} - Chapter source + Chapter source{sourceState.dirty ? ' on main (preview changes are not included)' : ` at ${sourceState.revision.slice(0, 7)}`}

From cd03c2a666b8bfed801d0679734d16137ce2ad79 Mon Sep 17 00:00:00 2001 From: Anders Gustafsson <44322377+And-Gu@users.noreply.github.com> Date: Tue, 24 Nov 2026 21:42:08 +0100 Subject: [PATCH 5/9] Connect model learning to an initiative and course name (#103) --- project/v3/case-study/README.md | 1 + project/v3/case-study/queue-initiative.json | 14 +++++++++ .../01-the-new-engineering-paradigm.md | 2 +- ...2-introducing-the-engineering-challenge.md | 6 ++-- .../revised/03-planning-under-uncertainty.md | 2 ++ .../04-engineering-knowledge-as-code.md | 2 +- ...-learning-through-models-and-prototypes.md | 22 ++++++++++++-- .../learning/ChangeImpactFigure.astro | 6 ++-- .../learning/EngineeringLearningLoop.astro | 21 ++++++++++++++ .../components/learning/QueueInitiative.astro | 29 +++++++++++++++++++ site/src/data/v3-learning.test.ts | 2 +- site/src/layouts/ChapterLayout.astro | 6 ++-- site/src/layouts/HomeLayout.astro | 6 ++-- site/src/layouts/Layout.astro | 4 +-- site/src/pages/learn/v3/[slug].astro | 11 +++++-- 15 files changed, 113 insertions(+), 21 deletions(-) create mode 100644 project/v3/case-study/queue-initiative.json create mode 100644 site/src/components/learning/EngineeringLearningLoop.astro create mode 100644 site/src/components/learning/QueueInitiative.astro diff --git a/project/v3/case-study/README.md b/project/v3/case-study/README.md index 45b6442..36e42ed 100644 --- a/project/v3/case-study/README.md +++ b/project/v3/case-study/README.md @@ -17,6 +17,7 @@ The [interface comparison is in Chapter 10](https://and-gu.github.io/executable- | [trace-v1.csv](trace-v1.csv) | Sixteen computed state records, eight per scenario | Recomputed deterministic **toy-model calculation**, not a deployed V3 simulation or field measurement | | [two-cycle-run.json](two-cycle-run.json) | Both scenarios across the cycle boundary with source checksums | Computed by running `node project/v3/case-study/run-two-cycles.mjs` from the repository root | | [data-quality-v1.json](data-quality-v1.json) | Legitimate derived comparison and the deliberately inapplicable legacy C row | Editorial data-quality decisions | +| [queue-initiative.json](queue-initiative.json) | Before-and-after planning excerpt linked to the saved arrival-edit observation | Illustrative proposed update for team review, not an actual city or agent decision | | [DECISION-CHAIN.md](DECISION-CHAIN.md) | Controlled next increment, agent task, reviewable slice, integration mismatch, evidence, governance, release, reuse and capstone | Proposed engineering decisions, not executed project actions | | [MODEL-CHECK.md](MODEL-CHECK.md) | Exact model formula, checks and limitations for a future implementer/editor | Independent editorial recomputation record; not software/system qualification | diff --git a/project/v3/case-study/queue-initiative.json b/project/v3/case-study/queue-initiative.json new file mode 100644 index 0000000..32b05fe --- /dev/null +++ b/project/v3/case-study/queue-initiative.json @@ -0,0 +1,14 @@ +{ + "id": "INIT-QUEUE-001", + "status": "illustrative planning record", + "before": { + "initiative": "Understand how arrival timing affects vehicle queues under the fixed signal sequence." + }, + "proposed_after": { + "initiative": "Identify which arrival patterns just before and after the last green leave vehicles waiting, and under what conditions.", + "basis": "RESULT-B-NS-3-TO-2", + "reason": "Moving one arrival relative to green changed the eight-slot queue while the number of arrivals stayed the same.", + "next_increment": "Ask operations for north- and south-arm arrival records aligned to signal phase history; check whether suitable timestamps or phase-binned counts exist.", + "status": "proposed after engineer check; team review pending" + } +} diff --git a/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md b/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md index 17d53d2..ef4b058 100644 --- a/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md +++ b/project/v3/manuscripts/revised/01-the-new-engineering-paradigm.md @@ -29,7 +29,7 @@ Software development offers practices that other disciplines can adapt, includin A team that produces changes faster than it can integrate or test them moves work into a queue. A web service may deploy repeatedly, while physical design can depend on a component order or a scarce test-rig slot. Each discipline can seek earlier feedback within its own constraints. -A model of a physical function can be executed before hardware is ready. An interface contract can be checked when either side changes. If several product variants use the same module, recording which revision each uses tells the integration lead which teams a change affects. +A model of a physical function can be executed before hardware is ready. An interface contract can be checked when either side changes. If several product variants use the same module, recorded revision references identify the variants whose owners should assess a change; ownership and compatibility information determine who needs to act. An engineering decision can retain its rationale and applicable evidence. A new engineer joining the next variant can read why the team chose an interface limit and rerun its check without tracking down the original designer. Reusing the check can avoid repeating the same investigation, provided maintaining it costs less than the work it saves. diff --git a/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md b/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md index 4d2cf9e..4d774cd 100644 --- a/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md +++ b/project/v3/manuscripts/revised/02-introducing-the-engineering-challenge.md @@ -75,7 +75,7 @@ For the first illustrative comparison, the team groups traffic north–south (NS ## Two views maintained as text -The following sequence shows one illustrative ordering of controller, signal and road-user interactions. The controller requests north–south green, the signal shows it, a driver arrives and proceeds if permitted, and a pedestrian checks the crossing indication. The controller then requests amber. The displayed indication and driver response are assumptions for this discussion; the queue model does not simulate a signal head or a pedestrian crossing. It has no rule for when a pedestrian may cross or a turning vehicle may proceed. +The following sequence shows one illustrative ordering of controller, signal and road-user interactions. The controller requests north–south green, the vehicle signal shows it, and a driver arrives and proceeds if permitted. A pedestrian asks what crossing indication is available. The controller then requests amber. The displayed vehicle indication and driver response are assumptions for this discussion; the queue model does not simulate a signal head or a pedestrian crossing. It has no rule for when a pedestrian may cross or a turning vehicle may proceed. ```mermaid sequenceDiagram @@ -87,8 +87,8 @@ sequenceDiagram Controller->>Signal: Request north-south green Signal-->>Driver: Show vehicle green (assumed) Driver->>Intersection: Arrive and proceed if permitted - Pedestrian->>Signal: Check crossing indication - Note over Pedestrian,Signal: Crossing indication and turning priority remain open + Note over Pedestrian: Which crossing indication is available? + Note over Pedestrian: Crossing indication and turning priority remain open Controller->>Signal: Request north-south amber ``` diff --git a/project/v3/manuscripts/revised/03-planning-under-uncertainty.md b/project/v3/manuscripts/revised/03-planning-under-uncertainty.md index 361c08d..71de69a 100644 --- a/project/v3/manuscripts/revised/03-planning-under-uncertainty.md +++ b/project/v3/manuscripts/revised/03-planning-under-uncertainty.md @@ -96,6 +96,8 @@ The systems lead records why the next increment has changed and what would make > > The disagreement about one slot changes the next increment and its backlog; the queue initiative and city vision still make sense. If the city makes pedestrian conflicts its immediate priority, the team would revisit the initiative and bring the movement-conflict investigation forward. Both choices serve the city's long-term vision, and the decision record explains why the plan changed. +For the next worked example, suppose the modeler and operations engineer check the first row together and agree to use the documented arrival-before-service convention. They can then compare both traces before requesting field records. + diff --git a/project/v3/manuscripts/revised/04-engineering-knowledge-as-code.md b/project/v3/manuscripts/revised/04-engineering-knowledge-as-code.md index 6778e27..3bf95d4 100644 --- a/project/v3/manuscripts/revised/04-engineering-knowledge-as-code.md +++ b/project/v3/manuscripts/revised/04-engineering-knowledge-as-code.md @@ -15,7 +15,7 @@ teaching_fixture: "T1 — synthetic editorial source" **Document as Code** means maintaining information as versioned text that people, ordinary software and AI agents can read and review together. The intersection team can keep its definitions, assumptions and decisions in one shared place and record which revisions its checks use. This is the software-driven approach introduced in Chapter 1. The companion [Document-as-Code Lab](https://and-gu.github.io/document-as-code-lab/) shows a definition maintained once and used in several views. -Consider an illustrative rename of a road approach. If traffic records and system definitions live in separate discipline tools, their owners must reconcile names and revisions by hand. With a shared, identified definition, a configured generator can update dependent views; a consistency check can flag a reference that still uses the old name and record the revision it checked. An AI assistant could help interpret the flag or propose an update. The owners review the meaning and the proposed change. These are capabilities the team would configure, not claims that the teaching site performs this rename. +Consider an illustrative rename of a road approach. If traffic records and system definitions live in separate discipline tools without a maintained mapping, their owners must reconcile names and revisions by hand. With a shared, identified definition, a configured generator can update dependent views; a consistency check can flag a reference that still uses the old name and record the revision it checked. An AI assistant could help interpret the flag or propose an update. The owners review the meaning and the proposed change. These are capabilities the team would configure, not claims that the teaching site performs this rename. The teams have already agreed when an arriving vehicle joins a queue. Arrivals join first, then up to one vehicle departs on green, and the model records the remaining queues. Both teams can cite the `event_order` field in the [T1 model inputs](../../case-study/model-inputs-v1.json). That text documents the rule; changing the description alone does not change the calculation. The model code and its checks must be reviewed and updated too. diff --git a/project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md b/project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md index 9f292c7..fe4f512 100644 --- a/project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md +++ b/project/v3/manuscripts/revised/05-learning-through-models-and-prototypes.md @@ -15,11 +15,19 @@ teaching_fixture: "T1 — synthetic editorial inputs and calculated trace" The city wants traffic to flow while people can cross safely. In the Chapter 2 workshop, the team asked how queues would change if vehicles arrived at different times under fixed signal phases. Chapter 3 exposed a disagreement that could spoil the comparison. When one vehicle arrives at an empty queue on green, can it leave in that same slot? The team agreed to add arrivals before serving the queue. We can now turn that decision into a working prototype. [Intersection workshop](02-introducing-the-engineering-challenge.md) · [Planning under uncertainty](03-planning-under-uncertainty.md). +The loop below follows one proposed way of working. The agent dialogue is illustrative; the queue rows later in the chapter are calculated from the saved synthetic inputs. + + + ## Different questions demand different models In Chapter 4, an engineer reviewed the proposed adaptive strategy `INT-CHG-001`. It could affect the phase-selection function, `INT-FUN-001`. The two-queue model `INT-MOD-001` *represents* that function, so the engineer selected it for review. The graph also says which experiment examines the model and which data it uses. Its separate check for conflicting greens is still proposed. [Chapter 4 review](04-engineering-knowledge-as-code.md) · [T1 source relationships](../../case-study/source-graph-v1.json). -A Word document can explain the event-order decision, a spreadsheet can hold the counts, and a modeling tool can show the phase sequence. When people maintain them independently, someone has to reconcile the three before changing the calculation. Here the engineer can give a large language model (LLM) assistant those records together. A colleague reviewing its draft can go straight to the rule and the revision it should implement. A state diagram would show which light comes next. To answer the workshop question, the prototype also needs to keep count of who is waiting. +To investigate the queue question, an engineer can give a large language model (LLM) agent the city intent, intersection layout, pedestrian concerns and the relevant arrival, phase and event-order text. The agent can translate the selected assumptions and data into a runnable draft. A colleague reviewing it can go straight to the rule and revision it should implement. A state diagram would show which light comes next; this question also needs a count of who is waiting. + +Below is the queue initiative before the simulation, alongside the event order from the maintained T1 inputs. The excerpt is shared information for the task, not a transcript of an agent run. + + ## Define the experiment before interpreting its output @@ -34,7 +42,7 @@ The arrival-pattern experiment, `INT-EXP-001`, uses the invented arrivals in `IN ## Turn the agreed rule into a queue update -In this worked example, the engineer gives an LLM assistant T1’s phase capacities, event-order rule and the first row of scenario A and asks, “Draft one slot of the model. Return departures and the queue remaining for each direction.” A plausible draft limits departures to the vehicles waiting *at the start* of the slot, then adds new arrivals. +In this illustrative exchange, the engineer gives an agent T1’s phase capacities, event-order rule and the first row of scenario A and asks, “Draft one slot of the model. Return departures and the queue remaining for each direction.” A plausible draft limits departures to the vehicles waiting *at the start* of the slot, then adds new arrivals. This dialogue illustrates a review; it is not a recorded agent session. The engineer checks A’s first NS green by hand. Zero vehicles are waiting, one arrives and there is capacity for one departure. The draft serves zero and leaves one. The agreed rule gives **0 waiting + 1 arrival − 1 departure = 0 waiting**. The engineer asks for one correction. Compute the available vehicles as the previous queue plus arrivals, then serve the smaller of that number and the phase capacity. This gives one departure and an empty queue, exactly what the first reference row records. @@ -77,6 +85,8 @@ A total of four arrivals for the cycle fits either pattern. Which records could 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. +Suppose the city moves a crossing or changes its priority to pedestrian conflicts. The team would update the shared layout and question. An agent could propose a different model using crossing distances, indications, turning paths and pedestrian movement information; the engineer would compare its proposed behavior with those sources and identify observations still needed from people using the crossing. The two-queue model cannot answer that safety question, and no crossing simulation has been run here. + ## Record what the experiment changed Before the edit, the two baseline traces told the team how A and B behaved. A colleague looking up B would find two vehicles waiting. To preserve what the edit taught us, an assistant can draft an observation from the comparison. If it writes “traffic improved,” the engineer can replace that claim with the following entry and check it against the rows. @@ -86,6 +96,14 @@ Before the edit, the two baseline traces told the team how A and B behaved. A co The [saved T1 observation](https://github.com/And-Gu/executable-engineering-lab/blob/a1e4f49c2d3ef53e0fc895cdd197f659218a4d4f/project/v3/case-study/data-quality-v1.json#L31-L50) sits beside the original results in the maintained record. A colleague can now reconstruct the edit from its baseline and use the open question to specify a longer experiment. That experiment would need its own observation window. +In the illustrative workflow, an engineer could ask in ordinary language, “Move one north–south arrival from slot 3 to slot 2 and compare the rows.” An agent can run the model and draft an update to the technical sources. Suppose the engineer checks its account against the baseline, edited rows and saved observation, accepts that account of the calculation and decides to propose a narrower initiative for team review. + +The result gives the team a reason to sharpen the broad timing question in the [queue initiative from Chapter 3](03-planning-under-uncertainty.md#reduce-queues-during-bursts) toward arrivals just before and after the last green. The following maintained example records the proposed wording, its reason and the next field question. It is an illustrative proposal for review, not a record that the city or an agent actually made the decision. + + + +The next field increment would ask operations for north- and south-arm arrivals with timestamps or phase-binned counts and the matching signal history. Those records would help the team determine whether the timing pattern occurs in practice. The separate proposed two-cycle calculation remains a model question, and the original scenario B remains intact. + ## The data is now the next engineering problem diff --git a/site/src/components/learning/ChangeImpactFigure.astro b/site/src/components/learning/ChangeImpactFigure.astro index 4a4a2d0..6c034db 100644 --- a/site/src/components/learning/ChangeImpactFigure.astro +++ b/site/src/components/learning/ChangeImpactFigure.astro @@ -1,7 +1,9 @@ --- import graph from '../../../../project/v3/case-study/source-graph-v1.json'; +import { checkout } from '../../../../scripts/delivery-environment.mjs'; -const sourceUrl = 'https://github.com/And-Gu/executable-engineering-lab/blob/main/project/v3/case-study/source-graph-v1.json'; +const sourceState = checkout(); +const sourceUrl = `https://github.com/And-Gu/executable-engineering-lab/blob/${sourceState.dirty ? 'main' : sourceState.revision}/project/v3/case-study/source-graph-v1.json`; const titles = { proposal: 'Adaptive strategy proposal', function: 'Phase selection', model: 'Two-queue model', interface: 'Command interface', @@ -62,7 +64,7 @@ if (nodes.length !== 4) throw new Error('The Chapter 4 relationships must share )} -
Follow the incoming represents arrow back to the model to review its fixed phases. The interface owner can check whether the existing commands support the proposed strategy. {graph.revision} source graph
+
Follow the incoming represents arrow back to the model to review its fixed phases. The interface owner can check whether the existing commands support the proposed strategy. {graph.revision} source graph{sourceState.dirty ? ' on main (preview changes are not included)' : ` at ${sourceState.revision.slice(0, 7)}`}
diff --git a/site/src/components/learning/QueueInitiative.astro b/site/src/components/learning/QueueInitiative.astro new file mode 100644 index 0000000..e65960f --- /dev/null +++ b/site/src/components/learning/QueueInitiative.astro @@ -0,0 +1,29 @@ +--- +import initiative from '../../../../project/v3/case-study/queue-initiative.json'; +import inputs from '../../../../project/v3/case-study/model-inputs-v1.json'; +import results from '../../../../project/v3/case-study/data-quality-v1.json'; +import { checkout } from '../../../../scripts/delivery-environment.mjs'; + +interface Props { stage: 'before' | 'after' } +const { stage } = Astro.props; +if (initiative.proposed_after.basis !== results.scenario_edit_observation.id) { + throw new Error('Queue initiative cites a different observation'); +} +const excerpt = stage === 'before' + ? { ...initiative.before, event_order: inputs.event_order } + : initiative.proposed_after; +const sourceState = checkout(); +const sourceRef = sourceState.dirty ? 'main' : sourceState.revision; +const sourceUrl = `https://github.com/And-Gu/executable-engineering-lab/blob/${sourceRef}/project/v3/case-study/queue-initiative.json`; +--- +
+
{stage === 'before' ? 'Before the simulation: shared planning text and the T1 rule' : 'After the simulation: proposed update for team review'}
+
{JSON.stringify(excerpt, null, 2)}
+

{initiative.id} source{sourceState.dirty ? ' on main (preview changes are not included)' : ` at ${sourceRef.slice(0, 7)}`}{stage === 'before' && <> · T1 inputs and arrival table}

+
+ diff --git a/site/src/data/v3-learning.test.ts b/site/src/data/v3-learning.test.ts index b2df8b1..d5adfba 100644 --- a/site/src/data/v3-learning.test.ts +++ b/site/src/data/v3-learning.test.ts @@ -9,7 +9,7 @@ describe('V3 chapter activities', () => { '01': ['investment-feedback', 'chapter-quiz'], '02': ['arrival-patterns', 'chapter-quiz'], '04': ['intersection-structure', 'change-impact-figure', 'chapter-quiz'], - '05': ['intersection-model', 'chapter-quiz'], + '05': ['engineering-loop', 'initiative-before', 'intersection-model', 'initiative-after', 'chapter-quiz'], '06': ['two-cycle-experiment', 'chapter-quiz'], '09': ['chapter-quiz', 'digital-thread'], '11': ['integrated-change', 'chapter-quiz'], diff --git a/site/src/layouts/ChapterLayout.astro b/site/src/layouts/ChapterLayout.astro index 47628f7..b72aa62 100644 --- a/site/src/layouts/ChapterLayout.astro +++ b/site/src/layouts/ChapterLayout.astro @@ -14,7 +14,7 @@ const base = import.meta.env.BASE_URL; - {title} · Executable Engineering Lab + {title} · Executable Engineering @@ -22,7 +22,7 @@ const base = import.meta.env.BASE_URL; @@ -43,6 +43,6 @@ const base = import.meta.env.BASE_URL; - + diff --git a/site/src/layouts/HomeLayout.astro b/site/src/layouts/HomeLayout.astro index a345fc4..c94ded4 100644 --- a/site/src/layouts/HomeLayout.astro +++ b/site/src/layouts/HomeLayout.astro @@ -19,7 +19,7 @@ const isHome = path === base; - {title} · Executable Engineering Lab + {title} · Executable Engineering @@ -27,7 +27,7 @@ const isHome = path === base;