From bd37817d4bb13993866680d20824f0376d53169c Mon Sep 17 00:00:00 2001 From: abiwab Date: Tue, 29 Sep 2026 22:46:57 +0200 Subject: [PATCH 1/2] fix(kitchen): fetch an intermediate where it is used, not where it is made --- .changeset/kitchen-prep-time-intermediates.md | 5 - conformance/mise-en-place.test.ts | 7 +- packages/kitchen/src/metrics.ts | 40 ++-- .../__snapshots__/snapshots.test.ts.snap | 178 +++++++++--------- packages/kitchen/tests/mise-en-place.test.ts | 52 +++-- .../output-snapshots.test.ts.snap | 20 +- .../tests/mise-en-place-schedule.test.ts | 15 +- 7 files changed, 166 insertions(+), 151 deletions(-) delete mode 100644 .changeset/kitchen-prep-time-intermediates.md diff --git a/.changeset/kitchen-prep-time-intermediates.md b/.changeset/kitchen-prep-time-intermediates.md deleted file mode 100644 index 6e50c0ca..00000000 --- a/.changeset/kitchen-prep-time-intermediates.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@gram-lang/kitchen": patch ---- - -**Kitchen**: Fixed the preparation time counting intermediates such as `&dough`, which the recipe makes itself, as ingredients to go and fetch, so recipes with intermediates or imported bases now show a shorter, more accurate preparation time. diff --git a/conformance/mise-en-place.test.ts b/conformance/mise-en-place.test.ts index a2e47144..2717783f 100644 --- a/conformance/mise-en-place.test.ts +++ b/conformance/mise-en-place.test.ts @@ -129,12 +129,7 @@ function checkInvariants(compiled: CompilationResult): void { // Invariant 1: Σ sections == metrics.preparationTime. if (hasRealSteps) { - // Everything but the intermediates, which the recipe makes itself; a - // stocked module's leaf is not one and stays counted. - expect(gatheredIngredients).toBe( - [...registry.ingredients.values()].filter((e) => !e.is_intermediate) - .length, - ); + expect(gatheredIngredients).toBe(registry.ingredients.size); expect(gatheredCookware).toBe(registry.cookware.size); expect(mise.reduce((sum, m) => sum + m.duration, 0)).toBe( compiled.metrics.preparationTime, diff --git a/packages/kitchen/src/metrics.ts b/packages/kitchen/src/metrics.ts index 7d7d9b4e..d5cfbe8c 100644 --- a/packages/kitchen/src/metrics.ts +++ b/packages/kitchen/src/metrics.ts @@ -62,16 +62,6 @@ const collectUsageIds = (usage: Usage | StepToken, out: Set): void => { } }; -// Registry ingredients that have to be gone and fetched: everything but the -// intermediates, which the recipe makes itself. -const gatherableIngredients = (registry: Registry): number => { - let count = 0; - for (const entry of registry.ingredients.values()) { - if (!entry.is_intermediate) count++; - } - return count; -}; - /** * Splits the mise en place cost by section. Each registry ingredient/cookware * is gathered by the first section that touches it (an id never touched goes @@ -89,18 +79,26 @@ export function computeMiseEnPlace( const ingredientOwner = new Map(); const cookwareOwner = new Map(); + // The section that makes each intermediate (`->&dough`). + const producerOf = new Map(); + sections.forEach((sec, idx) => { + if (!sec.intermediate_preparation) return; + const id = slugify(sec.intermediate_preparation); + if (!producerOf.has(id)) producerOf.set(id, idx); + }); + sections.forEach((sec, idx) => { const touched = new Set(); for (const u of sec.ingredients) collectUsageIds(u, touched); - if (sec.intermediate_preparation) { - touched.add(slugify(sec.intermediate_preparation)); - } for (const step of sec.steps) { if (step.type === "step") { for (const c of step.content) collectUsageIds(c, touched); } } for (const id of touched) { + // An intermediate is fetched where it is used, not where it is made: + // the section producing it doesn't count as a use. + if (producerOf.get(id) === idx) continue; if (registry.ingredients.has(id) && !ingredientOwner.has(id)) { ingredientOwner.set(id, idx); } @@ -115,14 +113,14 @@ export function computeMiseEnPlace( } }); - // An intermediate (`&dough`, an inline module binding) is made during the - // recipe, so there is nothing to go and get. A stocked module's leaf is a - // real thing taken off the shelf and stays counted — the same line the - // shopping list draws (see `isPurchasableReference`). + // Every ingredient is gone and fetched (weighed, set on the counter) once, + // in the first section that uses it. That holds for an intermediate too — + // 100 g of `&dough` still has to be weighed out — but at the section that + // uses it, not the one that makes it. An intermediate nobody reuses stays + // with its own section, so the total never depends on how it is used. const ingredientCount = new Map(); - for (const [id, entry] of registry.ingredients) { - if (entry.is_intermediate) continue; - const owner = ingredientOwner.get(id) ?? fallbackIdx; + for (const id of registry.ingredients.keys()) { + const owner = ingredientOwner.get(id) ?? producerOf.get(id) ?? fallbackIdx; ingredientCount.set(owner, (ingredientCount.get(owner) ?? 0) + 1); } const cookwareCount = new Map(); @@ -215,7 +213,7 @@ export function calculatePreparationTime( // overhead so the total is unchanged. ingredients = Math.max( ingredients, - sections.length ? 0 : gatherableIngredients(registry), + sections.length ? 0 : registry.ingredients.size, ); cookware = Math.max(cookware, sections.length ? 0 : registry.cookware.size); diff --git a/packages/kitchen/tests/__snapshots__/snapshots.test.ts.snap b/packages/kitchen/tests/__snapshots__/snapshots.test.ts.snap index 7e5141cf..552c07da 100644 --- a/packages/kitchen/tests/__snapshots__/snapshots.test.ts.snap +++ b/packages/kitchen/tests/__snapshots__/snapshots.test.ts.snap @@ -21,11 +21,11 @@ exports[`Compiler Snapshots should compile with_warnings.gram correctly 1`] = ` "idleTime": 0, "prepBreakdown": [ { - "duration": 4, + "duration": 5, "label": "ingredients_overhead", }, ], - "preparationTime": 4, + "preparationTime": 5, "totalBreakdown": [ { "duration": 14, @@ -36,15 +36,15 @@ exports[`Compiler Snapshots should compile with_warnings.gram correctly 1`] = ` "label": "section_active:Scope Conflict", }, ], - "totalTime": 20, + "totalTime": 21, }, "miseEnPlace": [ { - "duration": 4, + "duration": 5, "items": [ { - "count": 4, - "duration": 4, + "count": 5, + "duration": 5, "kind": "gather", "target": "ingredient", }, @@ -84,138 +84,138 @@ exports[`Compiler Snapshots should compile with_warnings.gram correctly 1`] = ` "perSection": { "blocks": [ { - "end": 4, + "end": 5, "kind": "prep", "section": 0, "start": 0, }, { - "end": 6, + "end": 7, "kind": "step", "section": 0, - "start": 4, + "start": 5, "step": 0, }, { - "end": 8, + "end": 9, "kind": "step", "section": 0, - "start": 6, + "start": 7, "step": 1, }, { - "end": 10, + "end": 11, "kind": "step", "section": 0, - "start": 8, + "start": 9, "step": 2, }, { - "end": 12, + "end": 13, "kind": "step", "section": 0, - "start": 10, + "start": 11, "step": 3, }, { - "end": 14, + "end": 15, "kind": "step", "section": 0, - "start": 12, + "start": 13, "step": 4, }, { - "end": 16, + "end": 17, "kind": "step", "section": 0, - "start": 14, + "start": 15, "step": 5, }, { - "end": 18, + "end": 19, "kind": "step", "section": 0, - "start": 16, + "start": 17, "step": 6, }, { - "end": 20, + "end": 21, "kind": "step", "section": 1, - "start": 18, + "start": 19, "step": 0, }, ], "idleTime": 0, - "totalTime": 20, + "totalTime": 21, }, "upfront": { "blocks": [ { - "end": 4, + "end": 5, "kind": "prep", "section": 0, "start": 0, }, { - "end": 6, + "end": 7, "kind": "step", "section": 0, - "start": 4, + "start": 5, "step": 0, }, { - "end": 8, + "end": 9, "kind": "step", "section": 0, - "start": 6, + "start": 7, "step": 1, }, { - "end": 10, + "end": 11, "kind": "step", "section": 0, - "start": 8, + "start": 9, "step": 2, }, { - "end": 12, + "end": 13, "kind": "step", "section": 0, - "start": 10, + "start": 11, "step": 3, }, { - "end": 14, + "end": 15, "kind": "step", "section": 0, - "start": 12, + "start": 13, "step": 4, }, { - "end": 16, + "end": 17, "kind": "step", "section": 0, - "start": 14, + "start": 15, "step": 5, }, { - "end": 18, + "end": 19, "kind": "step", "section": 0, - "start": 16, + "start": 17, "step": 6, }, { - "end": 20, + "end": 21, "kind": "step", "section": 1, - "start": 18, + "start": 19, "step": 0, }, ], "idleTime": 0, - "totalTime": 20, + "totalTime": 21, }, }, "sections": [ @@ -679,7 +679,7 @@ exports[`Compiler Snapshots should compile simple_recipe.gram correctly 1`] = ` "idleTime": 62, "prepBreakdown": [ { - "duration": 10, + "duration": 12, "label": "ingredients_overhead", }, { @@ -695,7 +695,7 @@ exports[`Compiler Snapshots should compile simple_recipe.gram correctly 1`] = ` "label": "prep_frying-pan", }, ], - "preparationTime": 17, + "preparationTime": 19, "totalBreakdown": [ { "duration": 68, @@ -706,15 +706,15 @@ exports[`Compiler Snapshots should compile simple_recipe.gram correctly 1`] = ` "label": "timer_passive", }, ], - "totalTime": 147, + "totalTime": 149, }, "miseEnPlace": [ { - "duration": 13, + "duration": 14, "items": [ { - "count": 10, - "duration": 10, + "count": 11, + "duration": 11, "kind": "gather", "target": "ingredient", }, @@ -736,8 +736,14 @@ exports[`Compiler Snapshots should compile simple_recipe.gram correctly 1`] = ` "section": 0, }, { - "duration": 4, + "duration": 5, "items": [ + { + "count": 1, + "duration": 1, + "kind": "gather", + "target": "ingredient", + }, { "count": 2, "duration": 2, @@ -837,136 +843,136 @@ exports[`Compiler Snapshots should compile simple_recipe.gram correctly 1`] = ` "perSection": { "blocks": [ { - "end": 13, + "end": 14, "kind": "prep", "section": 0, "start": 0, }, { - "end": 15, + "end": 16, "kind": "step", "section": 0, - "start": 13, + "start": 14, "step": 0, }, { - "end": 17, + "end": 18, "kind": "step", "section": 0, - "start": 15, + "start": 16, "step": 1, }, { - "end": 19, + "end": 20, "kind": "step", "section": 0, - "start": 17, + "start": 18, "step": 2, }, { - "end": 21, + "end": 22, "kind": "step", "section": 0, - "start": 19, + "start": 20, "step": 3, }, { - "end": 81, + "end": 82, "kind": "step", "section": 0, - "start": 21, + "start": 22, "step": 4, }, { - "end": 141, + "end": 142, "kind": "prep", "section": 1, "start": 137, }, { - "end": 141, + "end": 142, "kind": "step", "section": 1, - "start": 141, + "start": 142, "step": 0, }, { - "end": 143, + "end": 144, "kind": "passive", "section": 1, - "start": 141, + "start": 142, "step": 0, }, ], - "idleTime": 58, - "totalTime": 143, + "idleTime": 57, + "totalTime": 144, }, "upfront": { "blocks": [ { - "end": 13, + "end": 14, "kind": "prep", "section": 0, "start": 0, }, { - "end": 17, + "end": 19, "kind": "prep", "section": 1, - "start": 13, - }, - { - "end": 19, - "kind": "step", - "section": 0, - "start": 17, - "step": 0, + "start": 14, }, { "end": 21, "kind": "step", "section": 0, "start": 19, - "step": 1, + "step": 0, }, { "end": 23, "kind": "step", "section": 0, "start": 21, - "step": 2, + "step": 1, }, { "end": 25, "kind": "step", "section": 0, "start": 23, - "step": 3, + "step": 2, }, { - "end": 85, + "end": 27, "kind": "step", "section": 0, "start": 25, + "step": 3, + }, + { + "end": 87, + "kind": "step", + "section": 0, + "start": 27, "step": 4, }, { - "end": 145, + "end": 147, "kind": "step", "section": 1, - "start": 145, + "start": 147, "step": 0, }, { - "end": 147, + "end": 149, "kind": "passive", "section": 1, - "start": 145, + "start": 147, "step": 0, }, ], "idleTime": 62, - "totalTime": 147, + "totalTime": 149, }, }, "sections": [ diff --git a/packages/kitchen/tests/mise-en-place.test.ts b/packages/kitchen/tests/mise-en-place.test.ts index 1a2c5bef..ca87ca69 100644 --- a/packages/kitchen/tests/mise-en-place.test.ts +++ b/packages/kitchen/tests/mise-en-place.test.ts @@ -52,7 +52,7 @@ describe("compiled mise en place and schedules", () => { }); }); -describe("gathering skips what the recipe makes itself", () => { +describe("an intermediate is fetched where it is used", () => { const SOURCE = `## Dough ->&dough Mix @flour{500g} and @water{300ml}. @@ -63,29 +63,45 @@ Cook @onions{200g}(finely sliced). ## Assembly -Spread &filling over &dough. +Spread &filling{100g} over &dough{200g}. `; - it("charges nothing for an intermediate", () => { - const result = compile(getAST(SOURCE)); - const gathered = result.miseEnPlace.flatMap((m) => - m.items.flatMap((i) => + const gathered = (result: ReturnType, section: number) => + result.miseEnPlace + .find((m) => m.section === section) + ?.items.flatMap((i) => i.kind === "gather" && i.target === "ingredient" ? [i.count] : [], + ) + .reduce((a, b) => a + b, 0) ?? 0; + + it("charges the section that uses it, not the one that makes it", () => { + const result = compile(getAST(SOURCE)); + expect(gathered(result, 0)).toBe(2); // flour, water + expect(gathered(result, 1)).toBe(1); // onions + expect(gathered(result, 2)).toBe(2); // &filling, &dough + }); + + it("keeps the total the same wherever the intermediates are charged", () => { + expect(compile(getAST(SOURCE)).metrics.preparationTime).toBe(7); + }); + + it("keeps an intermediate nobody reuses with the section that makes it", () => { + const result = compile( + getAST( + "## Dough ->&dough\n\nMix @flour{500g}.\n\n## Bake\n\nBake for ~{20min}.\n", ), ); - // flour, water, onions — not dough, not filling. - expect(gathered.reduce((a, b) => a + b, 0)).toBe(3); - expect(result.metrics.preparationTime).toBe(5); + expect(gathered(result, 0)).toBe(2); // flour, &dough + expect(result.metrics.preparationTime).toBe(2); }); - it("still lists the intermediates in the registry", () => { - const result = compile(getAST(SOURCE)); - expect(result.registry.ingredients.dough?.is_intermediate).toBe(true); - expect(result.registry.ingredients.filling?.is_intermediate).toBe(true); - }); - - it("keeps the section that only assembles free of any gathering", () => { - const result = compile(getAST(SOURCE)); - expect(result.miseEnPlace.map((m) => m.section)).toEqual([0, 1]); + it("does not charge the section that makes it, even if it mentions it again", () => { + const result = compile( + getAST( + "## Dough ->&dough\n\nMix @flour{500g}.\n\nShape the &dough{200g}.\n\n## Bake\n\nBake &dough for ~{20min}.\n", + ), + ); + expect(gathered(result, 0)).toBe(1); // flour + expect(gathered(result, 1)).toBe(1); // &dough }); }); diff --git a/packages/renderer/tests/__snapshots__/output-snapshots.test.ts.snap b/packages/renderer/tests/__snapshots__/output-snapshots.test.ts.snap index 9b78aa2c..5198299f 100644 --- a/packages/renderer/tests/__snapshots__/output-snapshots.test.ts.snap +++ b/packages/renderer/tests/__snapshots__/output-snapshots.test.ts.snap @@ -6,7 +6,7 @@ exports[`renderer output snapshots toHTML output is stable 1`] = `
Total Time
-
44m
+
45m
Total Time = Prep + Active + Idle
@@ -15,7 +15,7 @@ exports[`renderer output snapshots toHTML output is stable 1`] = `
Cooking - + 1m + + 2m
@@ -36,7 +36,7 @@ exports[`renderer output snapshots toHTML output is stable 1`] = `
Prep Time
-
7m (est.)
+
8m (est.)
Prep Time = Time to gather and prepare ingredients and cookware
@@ -54,6 +54,10 @@ exports[`renderer output snapshots toHTML output is stable 1`] = `
Cooking + + 2m +
+
+ Ingredients lookup (base) (1 × 1min) + 1m
@@ -122,7 +126,7 @@ egg-substitute">(alt) and whisk for Cooking
-

Mise en place

+

Mise en place

  • batter
@@ -144,9 +148,9 @@ exports[`renderer output snapshots toMarkdown output is stable 1`] = ` "# Crêpes > **Metadata** -> - **Total Time**: 44m +> - **Total Time**: 45m > - **Active Time**: 37m -> - **Prep Time**: 7m (est.) +> - **Prep Time**: 8m (est.) > - portions: 4 ## 🛒 Shopping List @@ -578,9 +582,9 @@ exports[`renderer output snapshots toPrintHTML output is stable 1`] = `

Crêpes

- Total Time44m + Total Time45m Active Time37m - Prep Time7m (est.) + Prep Time8m (est.) Portions4
diff --git a/packages/renderer/tests/mise-en-place-schedule.test.ts b/packages/renderer/tests/mise-en-place-schedule.test.ts index 9a5faa33..126891fb 100644 --- a/packages/renderer/tests/mise-en-place-schedule.test.ts +++ b/packages/renderer/tests/mise-en-place-schedule.test.ts @@ -30,8 +30,9 @@ const shoppingList = (html: string) => ); describe("compiled data used below", () => { - it("has a mise en place for two of the three sections", () => { - expect(compiled.miseEnPlace.map((m) => m.section)).toEqual([0, 1]); + it("has a mise en place for each of the three sections", () => { + // Assembly makes nothing but weighs out the two intermediates it uses. + expect(compiled.miseEnPlace.map((m) => m.section)).toEqual([0, 1, 2]); }); }); @@ -39,18 +40,17 @@ describe("HTML — perSection (default)", () => { const html = toHTML(compiled); it("captions the ingredient list of each section that has a mise en place", () => { - expect(countOf(html, '

')).toBe(2); + expect(countOf(html, '

')).toBe(3); const boxes = html.match( /

[\s\S]*?<\/div>/g, )!; expect(boxes).toHaveLength(3); // The caption is the first thing in the box, before the list. - for (const box of boxes.slice(0, 2)) { + for (const box of boxes) { expect(box.indexOf("section-prep")).toBeGreaterThan(-1); expect(box.indexOf("section-prep")).toBeLessThan(box.indexOf("
    ")); expect(box).toContain("Mise en place"); } - expect(boxes[2]).not.toContain("section-prep"); }); it("shows the duration only on hover, never as visible text", () => { @@ -59,7 +59,7 @@ describe("HTML — perSection (default)", () => { /

    ([\s\S]*?)<\/span>/g, ), ]; - expect(tips).toHaveLength(2); + expect(tips).toHaveLength(3); tips.forEach((m, i) => { const minutes = fmt(compiled.miseEnPlace[i]!.duration); expect(m[1]).toContain(`: ${minutes} —`); @@ -214,9 +214,10 @@ describe("Gantt", () => { it("draws one preparation block per section with a cost, in the section colour", () => { const html = toGanttHTML(compiled); const blocks = prepBlocks(html); - expect(blocks).toHaveLength(2); + expect(blocks).toHaveLength(3); expect(blocks[0]).toContain("section-color-0"); expect(blocks[1]).toContain("section-color-1"); + expect(blocks[2]).toContain("section-color-2"); expect(blocks[0]).toContain('data-label="Mise en place"'); }); -- 2.54.0 From 104ad77cfc37e45cbaa05906052192da221c2732 Mon Sep 17 00:00:00 2001 From: abiwab Date: Tue, 29 Sep 2026 22:47:46 +0200 Subject: [PATCH 2/2] test(conformance): regenerate goldens after the intermediate gathering change --- conformance/cases/006-modifiers/analyzed.json | 46 +++++-- conformance/cases/006-modifiers/compiled.json | 46 +++++-- .../analyzed.json | 34 ++--- .../compiled.json | 34 ++--- .../analyzed.json | 60 ++++++--- .../compiled.json | 60 ++++++--- .../analyzed.json | 46 +++++-- .../compiled.json | 46 +++++-- .../analyzed.json | 40 +++--- .../compiled.json | 40 +++--- .../mod-003-section-barrier/analyzed.json | 62 +++++++--- .../mod-003-section-barrier/compiled.json | 62 +++++++--- .../analyzed.json | 70 +++++++---- .../compiled.json | 70 +++++++---- .../mod-005-yield-per-export/analyzed.json | 76 +++++++++--- .../mod-005-yield-per-export/compiled.json | 76 +++++++++--- .../analyzed.json | 48 ++++++-- .../compiled.json | 48 ++++++-- .../analyzed.json | 58 ++++++--- .../compiled.json | 58 ++++++--- .../mod-008-module-not-found/analyzed.json | 49 ++++++-- .../mod-008-module-not-found/compiled.json | 49 ++++++-- conformance/cases/mod-009-cycle/analyzed.json | 85 ++++++++++--- conformance/cases/mod-009-cycle/compiled.json | 85 ++++++++++--- .../mod-010-scope-conflict/analyzed.json | 94 +++++++------- .../mod-010-scope-conflict/compiled.json | 94 +++++++------- .../mod-012-diamond-dependency/analyzed.json | 116 ++++++++++++++---- .../mod-012-diamond-dependency/compiled.json | 116 ++++++++++++++---- .../mod-013-project-root-import/analyzed.json | 76 +++++++++--- .../mod-013-project-root-import/compiled.json | 76 +++++++++--- .../analyzed.json | 88 ++++++++++--- .../compiled.json | 88 ++++++++++--- .../analyzed.json | 46 +++++-- .../compiled.json | 46 +++++-- .../mod-019-transitive-stock/analyzed.json | 46 +++++-- .../mod-019-transitive-stock/compiled.json | 46 +++++-- .../analyzed.json | 46 +++++-- .../compiled.json | 46 +++++-- .../analyzed.json | 40 +++--- .../compiled.json | 40 +++--- .../analyzed.json | 46 +++++-- .../compiled.json | 46 +++++-- .../analyzed.json | 46 +++++-- .../compiled.json | 46 +++++-- .../analyzed.json | 82 ++++++++----- .../compiled.json | 82 ++++++++----- .../analyzed.json | 114 ++++++++++------- .../compiled.json | 114 ++++++++++------- .../analyzed.json | 40 +++--- .../compiled.json | 40 +++--- .../analyzed.json | 97 +++++++++++---- .../compiled.json | 97 +++++++++++---- .../analyzed.json | 48 ++++---- .../compiled.json | 48 ++++---- .../warn-007-scope-conflict/analyzed.json | 94 +++++++------- .../warn-007-scope-conflict/compiled.json | 94 +++++++------- .../analyzed.json | 96 +++++++-------- .../compiled.json | 96 +++++++-------- 58 files changed, 2588 insertions(+), 1190 deletions(-) diff --git a/conformance/cases/006-modifiers/analyzed.json b/conformance/cases/006-modifiers/analyzed.json index 0f65cec3..768b3063 100644 --- a/conformance/cases/006-modifiers/analyzed.json +++ b/conformance/cases/006-modifiers/analyzed.json @@ -271,7 +271,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Prep", @@ -294,11 +294,11 @@ "duration": 2 } ], - "preparationTime": 4, + "preparationTime": 5, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 4 + "duration": 5 } ], "totalMass": 260, @@ -344,11 +344,23 @@ "duration": 4 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -364,17 +376,23 @@ "start": 4, "end": 6 }, + { + "kind": "prep", + "section": 1, + "start": 6, + "end": 7 + }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -383,19 +401,25 @@ "start": 0, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 0, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/006-modifiers/compiled.json b/conformance/cases/006-modifiers/compiled.json index 7e9b6fcf..46213fce 100644 --- a/conformance/cases/006-modifiers/compiled.json +++ b/conformance/cases/006-modifiers/compiled.json @@ -225,7 +225,7 @@ ], "warnings": [], "metrics": { - "totalTime": 8, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Prep", @@ -248,11 +248,11 @@ "duration": 2 } ], - "preparationTime": 4, + "preparationTime": 5, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 4 + "duration": 5 } ] }, @@ -268,11 +268,23 @@ "duration": 4 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -288,17 +300,23 @@ "start": 4, "end": 6 }, + { + "kind": "prep", + "section": 1, + "start": 6, + "end": 7 + }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -307,19 +325,25 @@ "start": 0, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 0, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/008-intermediates-and-references/analyzed.json b/conformance/cases/008-intermediates-and-references/analyzed.json index 4270ed71..bd122bcd 100644 --- a/conformance/cases/008-intermediates-and-references/analyzed.json +++ b/conformance/cases/008-intermediates-and-references/analyzed.json @@ -180,7 +180,7 @@ } ], "metrics": { - "totalTime": 7, + "totalTime": 8, "totalBreakdown": [ { "label": "section_active:Batter", @@ -203,11 +203,11 @@ "duration": 2 } ], - "preparationTime": 3, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 }, { "label": "cookware_overhead", @@ -255,8 +255,14 @@ }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + }, { "kind": "gather", "target": "cookware", @@ -268,7 +274,7 @@ ], "schedules": { "perSection": { - "totalTime": 7, + "totalTime": 8, "idleTime": 0, "blocks": [ { @@ -288,19 +294,19 @@ "kind": "prep", "section": 1, "start": 4, - "end": 5 + "end": 6 }, { "kind": "step", "section": 1, "step": 0, - "start": 5, - "end": 7 + "start": 6, + "end": 8 } ] }, "upfront": { - "totalTime": 7, + "totalTime": 8, "idleTime": 0, "blocks": [ { @@ -313,21 +319,21 @@ "kind": "prep", "section": 1, "start": 2, - "end": 3 + "end": 4 }, { "kind": "step", "section": 0, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 }, { "kind": "step", "section": 1, "step": 0, - "start": 5, - "end": 7 + "start": 6, + "end": 8 } ] } diff --git a/conformance/cases/008-intermediates-and-references/compiled.json b/conformance/cases/008-intermediates-and-references/compiled.json index c04e014b..dc0474c5 100644 --- a/conformance/cases/008-intermediates-and-references/compiled.json +++ b/conformance/cases/008-intermediates-and-references/compiled.json @@ -150,7 +150,7 @@ ], "warnings": [], "metrics": { - "totalTime": 7, + "totalTime": 8, "totalBreakdown": [ { "label": "section_active:Batter", @@ -173,11 +173,11 @@ "duration": 2 } ], - "preparationTime": 3, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 }, { "label": "cookware_overhead", @@ -200,8 +200,14 @@ }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + }, { "kind": "gather", "target": "cookware", @@ -213,7 +219,7 @@ ], "schedules": { "perSection": { - "totalTime": 7, + "totalTime": 8, "idleTime": 0, "blocks": [ { @@ -233,19 +239,19 @@ "kind": "prep", "section": 1, "start": 4, - "end": 5 + "end": 6 }, { "kind": "step", "section": 1, "step": 0, - "start": 5, - "end": 7 + "start": 6, + "end": 8 } ] }, "upfront": { - "totalTime": 7, + "totalTime": 8, "idleTime": 0, "blocks": [ { @@ -258,21 +264,21 @@ "kind": "prep", "section": 1, "start": 2, - "end": 3 + "end": 4 }, { "kind": "step", "section": 0, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 }, { "kind": "step", "section": 1, "step": 0, - "start": 5, - "end": 7 + "start": 6, + "end": 8 } ] } diff --git a/conformance/cases/032-mise-en-place-per-section/analyzed.json b/conformance/cases/032-mise-en-place-per-section/analyzed.json index 5b71cfa8..a6dd2227 100644 --- a/conformance/cases/032-mise-en-place-per-section/analyzed.json +++ b/conformance/cases/032-mise-en-place-per-section/analyzed.json @@ -407,7 +407,7 @@ } ], "metrics": { - "totalTime": 158, + "totalTime": 160, "totalBreakdown": [ { "label": "section_active:Dough", @@ -438,11 +438,11 @@ "duration": 25 } ], - "preparationTime": 11, + "preparationTime": 13, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 5 + "duration": 7 }, { "label": "cookware_overhead", @@ -547,12 +547,24 @@ "duration": 2 } ] + }, + { + "section": 2, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] } ], "schedules": { "perSection": { "totalTime": 151, - "idleTime": 111, + "idleTime": 109, "blocks": [ { "kind": "prep", @@ -584,13 +596,19 @@ { "kind": "prep", "section": 1, - "start": 117, - "end": 124 + "start": 115, + "end": 122 }, { "kind": "step", "section": 1, "step": 0, + "start": 122, + "end": 124 + }, + { + "kind": "prep", + "section": 2, "start": 124, "end": 126 }, @@ -604,7 +622,7 @@ ] }, "upfront": { - "totalTime": 158, + "totalTime": 160, "idleTime": 118, "blocks": [ { @@ -620,39 +638,45 @@ "end": 11 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 2, "start": 11, "end": 13 }, { "kind": "step", "section": 0, - "step": 1, + "step": 0, "start": 13, - "end": 13 + "end": 15 + }, + { + "kind": "step", + "section": 0, + "step": 1, + "start": 15, + "end": 15 }, { "kind": "passive", "section": 0, "step": 1, - "start": 13, - "end": 133 + "start": 15, + "end": 135 }, { "kind": "step", "section": 1, "step": 0, - "start": 131, - "end": 133 + "start": 133, + "end": 135 }, { "kind": "step", "section": 2, "step": 0, - "start": 133, - "end": 158 + "start": 135, + "end": 160 } ] } diff --git a/conformance/cases/032-mise-en-place-per-section/compiled.json b/conformance/cases/032-mise-en-place-per-section/compiled.json index 6fc324a6..71c99b28 100644 --- a/conformance/cases/032-mise-en-place-per-section/compiled.json +++ b/conformance/cases/032-mise-en-place-per-section/compiled.json @@ -333,7 +333,7 @@ ], "warnings": [], "metrics": { - "totalTime": 158, + "totalTime": 160, "totalBreakdown": [ { "label": "section_active:Dough", @@ -364,11 +364,11 @@ "duration": 25 } ], - "preparationTime": 11, + "preparationTime": 13, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 5 + "duration": 7 }, { "label": "cookware_overhead", @@ -436,12 +436,24 @@ "duration": 2 } ] + }, + { + "section": 2, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] } ], "schedules": { "perSection": { "totalTime": 151, - "idleTime": 111, + "idleTime": 109, "blocks": [ { "kind": "prep", @@ -473,13 +485,19 @@ { "kind": "prep", "section": 1, - "start": 117, - "end": 124 + "start": 115, + "end": 122 }, { "kind": "step", "section": 1, "step": 0, + "start": 122, + "end": 124 + }, + { + "kind": "prep", + "section": 2, "start": 124, "end": 126 }, @@ -493,7 +511,7 @@ ] }, "upfront": { - "totalTime": 158, + "totalTime": 160, "idleTime": 118, "blocks": [ { @@ -509,39 +527,45 @@ "end": 11 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 2, "start": 11, "end": 13 }, { "kind": "step", "section": 0, - "step": 1, + "step": 0, "start": 13, - "end": 13 + "end": 15 + }, + { + "kind": "step", + "section": 0, + "step": 1, + "start": 15, + "end": 15 }, { "kind": "passive", "section": 0, "step": 1, - "start": 13, - "end": 133 + "start": 15, + "end": 135 }, { "kind": "step", "section": 1, "step": 0, - "start": 131, - "end": 133 + "start": 133, + "end": 135 }, { "kind": "step", "section": 2, "step": 0, - "start": 133, - "end": 158 + "start": 135, + "end": 160 } ] } diff --git a/conformance/cases/mod-001-basic-default-import/analyzed.json b/conformance/cases/mod-001-basic-default-import/analyzed.json index 02c32cef..ada28461 100644 --- a/conformance/cases/mod-001-basic-default-import/analyzed.json +++ b/conformance/cases/mod-001-basic-default-import/analyzed.json @@ -181,7 +181,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 7, "totalBreakdown": [ { "label": "section_active:Pate", @@ -204,11 +204,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 500, @@ -247,11 +247,23 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { @@ -267,17 +279,23 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 } ] }, "upfront": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { @@ -286,19 +304,25 @@ "start": 0, "end": 2 }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 4 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 } ] } diff --git a/conformance/cases/mod-001-basic-default-import/compiled.json b/conformance/cases/mod-001-basic-default-import/compiled.json index 5b29eee0..048ba92a 100644 --- a/conformance/cases/mod-001-basic-default-import/compiled.json +++ b/conformance/cases/mod-001-basic-default-import/compiled.json @@ -138,7 +138,7 @@ ], "warnings": [], "metrics": { - "totalTime": 6, + "totalTime": 7, "totalBreakdown": [ { "label": "section_active:Pate", @@ -161,11 +161,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, @@ -181,11 +181,23 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { @@ -201,17 +213,23 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 } ] }, "upfront": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { @@ -220,19 +238,25 @@ "start": 0, "end": 2 }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 4 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 } ] } diff --git a/conformance/cases/mod-002-destructured-bindings/analyzed.json b/conformance/cases/mod-002-destructured-bindings/analyzed.json index 308a724c..538fef2f 100644 --- a/conformance/cases/mod-002-destructured-bindings/analyzed.json +++ b/conformance/cases/mod-002-destructured-bindings/analyzed.json @@ -259,7 +259,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 10, "totalBreakdown": [ { "label": "section_active:Blancs", @@ -290,11 +290,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ], "totalMass": 400, @@ -336,20 +336,20 @@ }, { "section": 2, - "duration": 1, + "duration": 3, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 3, + "duration": 3 } ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -376,19 +376,19 @@ "kind": "prep", "section": 2, "start": 5, - "end": 6 + "end": 8 }, { "kind": "step", "section": 2, "step": 0, - "start": 6, - "end": 8 + "start": 8, + "end": 10 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -401,28 +401,28 @@ "kind": "prep", "section": 2, "start": 1, - "end": 2 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 2, "end": 4 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 4, "end": 6 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 6, "end": 8 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 8, + "end": 10 } ] } diff --git a/conformance/cases/mod-002-destructured-bindings/compiled.json b/conformance/cases/mod-002-destructured-bindings/compiled.json index cd61781f..dae90702 100644 --- a/conformance/cases/mod-002-destructured-bindings/compiled.json +++ b/conformance/cases/mod-002-destructured-bindings/compiled.json @@ -199,7 +199,7 @@ ], "warnings": [], "metrics": { - "totalTime": 8, + "totalTime": 10, "totalBreakdown": [ { "label": "section_active:Blancs", @@ -230,11 +230,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ] }, @@ -253,20 +253,20 @@ }, { "section": 2, - "duration": 1, + "duration": 3, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 3, + "duration": 3 } ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -293,19 +293,19 @@ "kind": "prep", "section": 2, "start": 5, - "end": 6 + "end": 8 }, { "kind": "step", "section": 2, "step": 0, - "start": 6, - "end": 8 + "start": 8, + "end": 10 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -318,28 +318,28 @@ "kind": "prep", "section": 2, "start": 1, - "end": 2 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 2, "end": 4 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 4, "end": 6 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 6, "end": 8 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 8, + "end": 10 } ] } diff --git a/conformance/cases/mod-003-section-barrier/analyzed.json b/conformance/cases/mod-003-section-barrier/analyzed.json index 38d2bd38..1933b933 100644 --- a/conformance/cases/mod-003-section-barrier/analyzed.json +++ b/conformance/cases/mod-003-section-barrier/analyzed.json @@ -237,7 +237,7 @@ } ], "metrics": { - "totalTime": 10, + "totalTime": 11, "totalBreakdown": [ { "label": "section_active:unnamed", @@ -252,11 +252,11 @@ "duration": 8 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 925, @@ -295,11 +295,23 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 10, + "totalTime": 11, "idleTime": 0, "blocks": [ { @@ -322,24 +334,30 @@ "start": 4, "end": 6 }, + { + "kind": "prep", + "section": 1, + "start": 6, + "end": 7 + }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 }, { "kind": "step", "section": 1, "step": 1, - "start": 8, - "end": 10 + "start": 9, + "end": 11 } ] }, "upfront": { - "totalTime": 10, + "totalTime": 11, "idleTime": 0, "blocks": [ { @@ -349,32 +367,38 @@ "end": 2 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 2, - "end": 4 + "end": 3 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 3, + "end": 5 }, { "kind": "step", "section": 0, "step": 1, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 }, { "kind": "step", "section": 1, "step": 1, - "start": 8, - "end": 10 + "start": 9, + "end": 11 } ] } diff --git a/conformance/cases/mod-003-section-barrier/compiled.json b/conformance/cases/mod-003-section-barrier/compiled.json index ea8dad1f..943b01a4 100644 --- a/conformance/cases/mod-003-section-barrier/compiled.json +++ b/conformance/cases/mod-003-section-barrier/compiled.json @@ -207,7 +207,7 @@ } ], "metrics": { - "totalTime": 10, + "totalTime": 11, "totalBreakdown": [ { "label": "section_active:unnamed", @@ -222,11 +222,11 @@ "duration": 8 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, @@ -242,11 +242,23 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 10, + "totalTime": 11, "idleTime": 0, "blocks": [ { @@ -269,24 +281,30 @@ "start": 4, "end": 6 }, + { + "kind": "prep", + "section": 1, + "start": 6, + "end": 7 + }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 }, { "kind": "step", "section": 1, "step": 1, - "start": 8, - "end": 10 + "start": 9, + "end": 11 } ] }, "upfront": { - "totalTime": 10, + "totalTime": 11, "idleTime": 0, "blocks": [ { @@ -296,32 +314,38 @@ "end": 2 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 2, - "end": 4 + "end": 3 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 3, + "end": 5 }, { "kind": "step", "section": 0, "step": 1, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 }, { "kind": "step", "section": 1, "step": 1, - "start": 8, - "end": 10 + "start": 9, + "end": 11 } ] } diff --git a/conformance/cases/mod-004-cross-section-no-false-cycle/analyzed.json b/conformance/cases/mod-004-cross-section-no-false-cycle/analyzed.json index 2a96200b..3dc16bb5 100644 --- a/conformance/cases/mod-004-cross-section-no-false-cycle/analyzed.json +++ b/conformance/cases/mod-004-cross-section-no-false-cycle/analyzed.json @@ -289,7 +289,7 @@ } ], "metrics": { - "totalTime": 12, + "totalTime": 13, "totalBreakdown": [ { "label": "section_active:Base", @@ -312,11 +312,11 @@ "duration": 6 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 470, @@ -355,11 +355,23 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 12, + "totalTime": 13, "idleTime": 0, "blocks": [ { @@ -382,31 +394,37 @@ "start": 4, "end": 6 }, + { + "kind": "prep", + "section": 1, + "start": 6, + "end": 7 + }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 }, { "kind": "step", "section": 1, "step": 1, - "start": 8, - "end": 10 + "start": 9, + "end": 11 }, { "kind": "step", "section": 1, "step": 2, - "start": 10, - "end": 12 + "start": 11, + "end": 13 } ] }, "upfront": { - "totalTime": 12, + "totalTime": 13, "idleTime": 0, "blocks": [ { @@ -416,39 +434,45 @@ "end": 2 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 2, - "end": 4 + "end": 3 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 3, + "end": 5 }, { "kind": "step", "section": 0, "step": 1, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 }, { "kind": "step", "section": 1, "step": 1, - "start": 8, - "end": 10 + "start": 9, + "end": 11 }, { "kind": "step", "section": 1, "step": 2, - "start": 10, - "end": 12 + "start": 11, + "end": 13 } ] } diff --git a/conformance/cases/mod-004-cross-section-no-false-cycle/compiled.json b/conformance/cases/mod-004-cross-section-no-false-cycle/compiled.json index 3833af4b..ecd616f1 100644 --- a/conformance/cases/mod-004-cross-section-no-false-cycle/compiled.json +++ b/conformance/cases/mod-004-cross-section-no-false-cycle/compiled.json @@ -289,7 +289,7 @@ } ], "metrics": { - "totalTime": 12, + "totalTime": 13, "totalBreakdown": [ { "label": "section_active:Base", @@ -312,11 +312,11 @@ "duration": 6 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, @@ -332,11 +332,23 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 12, + "totalTime": 13, "idleTime": 0, "blocks": [ { @@ -359,31 +371,37 @@ "start": 4, "end": 6 }, + { + "kind": "prep", + "section": 1, + "start": 6, + "end": 7 + }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 }, { "kind": "step", "section": 1, "step": 1, - "start": 8, - "end": 10 + "start": 9, + "end": 11 }, { "kind": "step", "section": 1, "step": 2, - "start": 10, - "end": 12 + "start": 11, + "end": 13 } ] }, "upfront": { - "totalTime": 12, + "totalTime": 13, "idleTime": 0, "blocks": [ { @@ -393,39 +411,45 @@ "end": 2 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 2, - "end": 4 + "end": 3 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 3, + "end": 5 }, { "kind": "step", "section": 0, "step": 1, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 0, - "start": 6, - "end": 8 + "start": 7, + "end": 9 }, { "kind": "step", "section": 1, "step": 1, - "start": 8, - "end": 10 + "start": 9, + "end": 11 }, { "kind": "step", "section": 1, "step": 2, - "start": 10, - "end": 12 + "start": 11, + "end": 13 } ] } diff --git a/conformance/cases/mod-005-yield-per-export/analyzed.json b/conformance/cases/mod-005-yield-per-export/analyzed.json index d1fed684..9dee0606 100644 --- a/conformance/cases/mod-005-yield-per-export/analyzed.json +++ b/conformance/cases/mod-005-yield-per-export/analyzed.json @@ -200,7 +200,7 @@ } ], "metrics": { - "totalTime": 7, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Blancs", @@ -231,11 +231,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 3 } ], "totalMass": 150, @@ -270,11 +270,35 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 2, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 7, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -290,24 +314,36 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 + }, + { + "kind": "prep", + "section": 2, + "start": 6, + "end": 7 }, { "kind": "step", "section": 2, "step": 0, - "start": 5, - "end": 7 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 7, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -317,25 +353,37 @@ "end": 1 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 1, + "end": 2 + }, + { + "kind": "prep", + "section": 2, + "start": 2, "end": 3 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 3, "end": 5 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 5, "end": 7 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/mod-005-yield-per-export/compiled.json b/conformance/cases/mod-005-yield-per-export/compiled.json index a500323c..afdd35dd 100644 --- a/conformance/cases/mod-005-yield-per-export/compiled.json +++ b/conformance/cases/mod-005-yield-per-export/compiled.json @@ -160,7 +160,7 @@ } ], "metrics": { - "totalTime": 7, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Blancs", @@ -191,11 +191,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 3 } ] }, @@ -211,11 +211,35 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 2, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 7, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -231,24 +255,36 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 + }, + { + "kind": "prep", + "section": 2, + "start": 6, + "end": 7 }, { "kind": "step", "section": 2, "step": 0, - "start": 5, - "end": 7 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 7, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -258,25 +294,37 @@ "end": 1 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 1, + "end": 2 + }, + { + "kind": "prep", + "section": 2, + "start": 2, "end": 3 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 3, "end": 5 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 5, "end": 7 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/mod-006-surplus-across-exports/analyzed.json b/conformance/cases/mod-006-surplus-across-exports/analyzed.json index 203ef225..4b92e0cc 100644 --- a/conformance/cases/mod-006-surplus-across-exports/analyzed.json +++ b/conformance/cases/mod-006-surplus-across-exports/analyzed.json @@ -223,7 +223,7 @@ } ], "metrics": { - "totalTime": 7, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Blancs", @@ -254,11 +254,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 3 } ], "totalMass": 300, @@ -293,11 +293,23 @@ "duration": 1 } ] + }, + { + "section": 2, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] } ], "schedules": { "perSection": { - "totalTime": 7, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -320,17 +332,23 @@ "start": 3, "end": 5 }, + { + "kind": "prep", + "section": 2, + "start": 5, + "end": 7 + }, { "kind": "step", "section": 2, "step": 0, - "start": 5, - "end": 7 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 7, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -340,25 +358,31 @@ "end": 1 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 2, "start": 1, "end": 3 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 3, "end": 5 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 5, "end": 7 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/mod-006-surplus-across-exports/compiled.json b/conformance/cases/mod-006-surplus-across-exports/compiled.json index bed50aef..5dea1683 100644 --- a/conformance/cases/mod-006-surplus-across-exports/compiled.json +++ b/conformance/cases/mod-006-surplus-across-exports/compiled.json @@ -177,7 +177,7 @@ } ], "metrics": { - "totalTime": 7, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Blancs", @@ -208,11 +208,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 3 } ] }, @@ -228,11 +228,23 @@ "duration": 1 } ] + }, + { + "section": 2, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] } ], "schedules": { "perSection": { - "totalTime": 7, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -255,17 +267,23 @@ "start": 3, "end": 5 }, + { + "kind": "prep", + "section": 2, + "start": 5, + "end": 7 + }, { "kind": "step", "section": 2, "step": 0, - "start": 5, - "end": 7 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 7, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -275,25 +293,31 @@ "end": 1 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 2, "start": 1, "end": 3 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 3, "end": 5 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 5, "end": 7 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/mod-007-recursive-referenced-mass/analyzed.json b/conformance/cases/mod-007-recursive-referenced-mass/analyzed.json index aa31f309..db7f5965 100644 --- a/conformance/cases/mod-007-recursive-referenced-mass/analyzed.json +++ b/conformance/cases/mod-007-recursive-referenced-mass/analyzed.json @@ -225,7 +225,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 10, "totalBreakdown": [ { "label": "section_active:Blancs", @@ -256,11 +256,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ], "totalMass": 150, @@ -302,6 +302,18 @@ }, { "section": 1, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] + }, + { + "section": 2, "duration": 1, "items": [ { @@ -315,7 +327,7 @@ ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -335,26 +347,32 @@ "kind": "prep", "section": 1, "start": 3, - "end": 4 + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 + }, + { + "kind": "prep", + "section": 2, + "start": 7, + "end": 8 }, { "kind": "step", "section": 2, "step": 0, - "start": 6, - "end": 8 + "start": 8, + "end": 10 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -367,28 +385,34 @@ "kind": "prep", "section": 1, "start": 1, - "end": 2 + "end": 3 }, { - "kind": "step", - "section": 0, - "step": 0, - "start": 2, + "kind": "prep", + "section": 2, + "start": 3, "end": 4 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 4, "end": 6 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 6, "end": 8 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 8, + "end": 10 } ] } diff --git a/conformance/cases/mod-007-recursive-referenced-mass/compiled.json b/conformance/cases/mod-007-recursive-referenced-mass/compiled.json index 32622c81..13e14d00 100644 --- a/conformance/cases/mod-007-recursive-referenced-mass/compiled.json +++ b/conformance/cases/mod-007-recursive-referenced-mass/compiled.json @@ -184,7 +184,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 10, "totalBreakdown": [ { "label": "section_active:Blancs", @@ -215,11 +215,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ] }, @@ -238,6 +238,18 @@ }, { "section": 1, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] + }, + { + "section": 2, "duration": 1, "items": [ { @@ -251,7 +263,7 @@ ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -271,26 +283,32 @@ "kind": "prep", "section": 1, "start": 3, - "end": 4 + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 + }, + { + "kind": "prep", + "section": 2, + "start": 7, + "end": 8 }, { "kind": "step", "section": 2, "step": 0, - "start": 6, - "end": 8 + "start": 8, + "end": 10 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -303,28 +321,34 @@ "kind": "prep", "section": 1, "start": 1, - "end": 2 + "end": 3 }, { - "kind": "step", - "section": 0, - "step": 0, - "start": 2, + "kind": "prep", + "section": 2, + "start": 3, "end": 4 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 4, "end": 6 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 6, "end": 8 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 8, + "end": 10 } ] } diff --git a/conformance/cases/mod-008-module-not-found/analyzed.json b/conformance/cases/mod-008-module-not-found/analyzed.json index 0a655829..63d4d4a3 100644 --- a/conformance/cases/mod-008-module-not-found/analyzed.json +++ b/conformance/cases/mod-008-module-not-found/analyzed.json @@ -72,7 +72,7 @@ } ], "metrics": { - "totalTime": 2, + "totalTime": 3, "totalBreakdown": [ { "label": "section_active:Section", @@ -87,7 +87,13 @@ "duration": 2 } ], - "preparationTime": 0, + "preparationTime": 1, + "prepBreakdown": [ + { + "label": "ingredients_overhead", + "duration": 1 + } + ], "totalMass": 0, "massStatus": "incomplete", "missingMassIngredients": [], @@ -102,31 +108,56 @@ "coverage": 0 } }, - "miseEnPlace": [], + "miseEnPlace": [ + { + "section": 0, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + } + ], "schedules": { "perSection": { - "totalTime": 2, + "totalTime": 3, "idleTime": 0, "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 1 + }, { "kind": "step", "section": 0, "step": 0, - "start": 0, - "end": 2 + "start": 1, + "end": 3 } ] }, "upfront": { - "totalTime": 2, + "totalTime": 3, "idleTime": 0, "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 1 + }, { "kind": "step", "section": 0, "step": 0, - "start": 0, - "end": 2 + "start": 1, + "end": 3 } ] } diff --git a/conformance/cases/mod-008-module-not-found/compiled.json b/conformance/cases/mod-008-module-not-found/compiled.json index cbe8b7d8..cf409922 100644 --- a/conformance/cases/mod-008-module-not-found/compiled.json +++ b/conformance/cases/mod-008-module-not-found/compiled.json @@ -61,7 +61,7 @@ } ], "metrics": { - "totalTime": 2, + "totalTime": 3, "totalBreakdown": [ { "label": "section_active:Section", @@ -76,33 +76,64 @@ "duration": 2 } ], - "preparationTime": 0 + "preparationTime": 1, + "prepBreakdown": [ + { + "label": "ingredients_overhead", + "duration": 1 + } + ] }, - "miseEnPlace": [], + "miseEnPlace": [ + { + "section": 0, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + } + ], "schedules": { "perSection": { - "totalTime": 2, + "totalTime": 3, "idleTime": 0, "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 1 + }, { "kind": "step", "section": 0, "step": 0, - "start": 0, - "end": 2 + "start": 1, + "end": 3 } ] }, "upfront": { - "totalTime": 2, + "totalTime": 3, "idleTime": 0, "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 1 + }, { "kind": "step", "section": 0, "step": 0, - "start": 0, - "end": 2 + "start": 1, + "end": 3 } ] } diff --git a/conformance/cases/mod-009-cycle/analyzed.json b/conformance/cases/mod-009-cycle/analyzed.json index 5edb91c6..a3c871f1 100644 --- a/conformance/cases/mod-009-cycle/analyzed.json +++ b/conformance/cases/mod-009-cycle/analyzed.json @@ -222,7 +222,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 8, "totalBreakdown": [ { "label": "section_active:B", @@ -253,7 +253,13 @@ "duration": 2 } ], - "preparationTime": 0, + "preparationTime": 2, + "prepBreakdown": [ + { + "label": "ingredients_overhead", + "duration": 2 + } + ], "totalMass": 0, "massStatus": "incomplete", "missingMassIngredients": [], @@ -268,59 +274,108 @@ "coverage": 0 } }, - "miseEnPlace": [], + "miseEnPlace": [ + { + "section": 0, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + } + ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 8, "idleTime": 0, "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 1 + }, { "kind": "step", "section": 0, "step": 0, - "start": 0, - "end": 2 + "start": 1, + "end": 3 + }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 }, { "kind": "step", "section": 1, "step": 0, - "start": 2, - "end": 4 + "start": 4, + "end": 6 }, { "kind": "step", "section": 2, "step": 0, - "start": 4, - "end": 6 + "start": 6, + "end": 8 } ] }, "upfront": { - "totalTime": 6, + "totalTime": 8, "idleTime": 0, "blocks": [ { - "kind": "step", + "kind": "prep", "section": 0, - "step": 0, "start": 0, + "end": 1 + }, + { + "kind": "prep", + "section": 1, + "start": 1, "end": 2 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 2, "end": 4 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 4, "end": 6 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 6, + "end": 8 } ] } diff --git a/conformance/cases/mod-009-cycle/compiled.json b/conformance/cases/mod-009-cycle/compiled.json index 393049cb..d46553db 100644 --- a/conformance/cases/mod-009-cycle/compiled.json +++ b/conformance/cases/mod-009-cycle/compiled.json @@ -207,7 +207,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 8, "totalBreakdown": [ { "label": "section_active:B", @@ -238,61 +238,116 @@ "duration": 2 } ], - "preparationTime": 0 + "preparationTime": 2, + "prepBreakdown": [ + { + "label": "ingredients_overhead", + "duration": 2 + } + ] }, - "miseEnPlace": [], + "miseEnPlace": [ + { + "section": 0, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + } + ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 8, "idleTime": 0, "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 1 + }, { "kind": "step", "section": 0, "step": 0, - "start": 0, - "end": 2 + "start": 1, + "end": 3 + }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 }, { "kind": "step", "section": 1, "step": 0, - "start": 2, - "end": 4 + "start": 4, + "end": 6 }, { "kind": "step", "section": 2, "step": 0, - "start": 4, - "end": 6 + "start": 6, + "end": 8 } ] }, "upfront": { - "totalTime": 6, + "totalTime": 8, "idleTime": 0, "blocks": [ { - "kind": "step", + "kind": "prep", "section": 0, - "step": 0, "start": 0, + "end": 1 + }, + { + "kind": "prep", + "section": 1, + "start": 1, "end": 2 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 2, "end": 4 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 4, "end": 6 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 6, + "end": 8 } ] } diff --git a/conformance/cases/mod-010-scope-conflict/analyzed.json b/conformance/cases/mod-010-scope-conflict/analyzed.json index 916680c0..3788797e 100644 --- a/conformance/cases/mod-010-scope-conflict/analyzed.json +++ b/conformance/cases/mod-010-scope-conflict/analyzed.json @@ -171,7 +171,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 7, "totalBreakdown": [ { "label": "section_active:Pastry", @@ -194,11 +194,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 210, @@ -228,13 +228,13 @@ "miseEnPlace": [ { "section": 0, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] }, @@ -253,51 +253,13 @@ ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { "kind": "prep", "section": 0, "start": 0, - "end": 1 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 1, - "end": 3 - }, - { - "kind": "prep", - "section": 1, - "start": 3, - "end": 4 - }, - { - "kind": "step", - "section": 1, - "step": 0, - "start": 4, - "end": 6 - } - ] - }, - "upfront": { - "totalTime": 6, - "idleTime": 0, - "blocks": [ - { - "kind": "prep", - "section": 0, - "start": 0, - "end": 1 - }, - { - "kind": "prep", - "section": 1, - "start": 1, "end": 2 }, { @@ -307,12 +269,50 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 + } + ] + }, + "upfront": { + "totalTime": 7, + "idleTime": 0, + "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 2 + }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 3, + "end": 5 + }, + { + "kind": "step", + "section": 1, + "step": 0, + "start": 5, + "end": 7 } ] } diff --git a/conformance/cases/mod-010-scope-conflict/compiled.json b/conformance/cases/mod-010-scope-conflict/compiled.json index 508ea46d..b0134c5b 100644 --- a/conformance/cases/mod-010-scope-conflict/compiled.json +++ b/conformance/cases/mod-010-scope-conflict/compiled.json @@ -135,7 +135,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 7, "totalBreakdown": [ { "label": "section_active:Pastry", @@ -158,24 +158,24 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, "miseEnPlace": [ { "section": 0, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] }, @@ -194,51 +194,13 @@ ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { "kind": "prep", "section": 0, "start": 0, - "end": 1 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 1, - "end": 3 - }, - { - "kind": "prep", - "section": 1, - "start": 3, - "end": 4 - }, - { - "kind": "step", - "section": 1, - "step": 0, - "start": 4, - "end": 6 - } - ] - }, - "upfront": { - "totalTime": 6, - "idleTime": 0, - "blocks": [ - { - "kind": "prep", - "section": 0, - "start": 0, - "end": 1 - }, - { - "kind": "prep", - "section": 1, - "start": 1, "end": 2 }, { @@ -248,12 +210,50 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 + } + ] + }, + "upfront": { + "totalTime": 7, + "idleTime": 0, + "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 2 + }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 3, + "end": 5 + }, + { + "kind": "step", + "section": 1, + "step": 0, + "start": 5, + "end": 7 } ] } diff --git a/conformance/cases/mod-012-diamond-dependency/analyzed.json b/conformance/cases/mod-012-diamond-dependency/analyzed.json index fd0e0bf7..8a3fe872 100644 --- a/conformance/cases/mod-012-diamond-dependency/analyzed.json +++ b/conformance/cases/mod-012-diamond-dependency/analyzed.json @@ -325,7 +325,7 @@ } ], "metrics": { - "totalTime": 11, + "totalTime": 15, "totalBreakdown": [ { "label": "section_active:D", @@ -364,11 +364,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 5, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 5 } ], "totalMass": 200, @@ -403,11 +403,47 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 3, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 4, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] } ], "schedules": { "perSection": { - "totalTime": 11, + "totalTime": 15, "idleTime": 0, "blocks": [ { @@ -423,38 +459,56 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 }, { "kind": "step", "section": 2, "step": 0, - "start": 5, - "end": 7 + "start": 6, + "end": 8 + }, + { + "kind": "prep", + "section": 3, + "start": 8, + "end": 9 }, { "kind": "step", "section": 3, "step": 0, - "start": 7, - "end": 9 + "start": 9, + "end": 11 + }, + { + "kind": "prep", + "section": 4, + "start": 11, + "end": 13 }, { "kind": "step", "section": 4, "step": 0, - "start": 9, - "end": 11 + "start": 13, + "end": 15 } ] }, "upfront": { - "totalTime": 11, + "totalTime": 15, "idleTime": 0, "blocks": [ { @@ -464,39 +518,57 @@ "end": 1 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 1, + "end": 2 + }, + { + "kind": "prep", + "section": 3, + "start": 2, "end": 3 }, { - "kind": "step", - "section": 1, - "step": 0, + "kind": "prep", + "section": 4, "start": 3, "end": 5 }, { "kind": "step", - "section": 2, + "section": 0, "step": 0, "start": 5, "end": 7 }, { "kind": "step", - "section": 3, + "section": 1, "step": 0, "start": 7, "end": 9 }, { "kind": "step", - "section": 4, + "section": 2, "step": 0, "start": 9, "end": 11 + }, + { + "kind": "step", + "section": 3, + "step": 0, + "start": 11, + "end": 13 + }, + { + "kind": "step", + "section": 4, + "step": 0, + "start": 13, + "end": 15 } ] } diff --git a/conformance/cases/mod-012-diamond-dependency/compiled.json b/conformance/cases/mod-012-diamond-dependency/compiled.json index 57d07ecc..ba3e5f8f 100644 --- a/conformance/cases/mod-012-diamond-dependency/compiled.json +++ b/conformance/cases/mod-012-diamond-dependency/compiled.json @@ -281,7 +281,7 @@ } ], "metrics": { - "totalTime": 11, + "totalTime": 15, "totalBreakdown": [ { "label": "section_active:D", @@ -320,11 +320,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 5, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 5 } ] }, @@ -340,11 +340,47 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 3, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 4, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] } ], "schedules": { "perSection": { - "totalTime": 11, + "totalTime": 15, "idleTime": 0, "blocks": [ { @@ -360,38 +396,56 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 }, { "kind": "step", "section": 2, "step": 0, - "start": 5, - "end": 7 + "start": 6, + "end": 8 + }, + { + "kind": "prep", + "section": 3, + "start": 8, + "end": 9 }, { "kind": "step", "section": 3, "step": 0, - "start": 7, - "end": 9 + "start": 9, + "end": 11 + }, + { + "kind": "prep", + "section": 4, + "start": 11, + "end": 13 }, { "kind": "step", "section": 4, "step": 0, - "start": 9, - "end": 11 + "start": 13, + "end": 15 } ] }, "upfront": { - "totalTime": 11, + "totalTime": 15, "idleTime": 0, "blocks": [ { @@ -401,39 +455,57 @@ "end": 1 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 1, + "end": 2 + }, + { + "kind": "prep", + "section": 3, + "start": 2, "end": 3 }, { - "kind": "step", - "section": 1, - "step": 0, + "kind": "prep", + "section": 4, "start": 3, "end": 5 }, { "kind": "step", - "section": 2, + "section": 0, "step": 0, "start": 5, "end": 7 }, { "kind": "step", - "section": 3, + "section": 1, "step": 0, "start": 7, "end": 9 }, { "kind": "step", - "section": 4, + "section": 2, "step": 0, "start": 9, "end": 11 + }, + { + "kind": "step", + "section": 3, + "step": 0, + "start": 11, + "end": 13 + }, + { + "kind": "step", + "section": 4, + "step": 0, + "start": 13, + "end": 15 } ] } diff --git a/conformance/cases/mod-013-project-root-import/analyzed.json b/conformance/cases/mod-013-project-root-import/analyzed.json index a294dcb4..807fb803 100644 --- a/conformance/cases/mod-013-project-root-import/analyzed.json +++ b/conformance/cases/mod-013-project-root-import/analyzed.json @@ -241,7 +241,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 10, "totalBreakdown": [ { "label": "section_active:Pate", @@ -272,11 +272,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ], "totalMass": 125, @@ -315,11 +315,35 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 2, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -335,24 +359,36 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 + }, + { + "kind": "prep", + "section": 2, + "start": 7, + "end": 8 }, { "kind": "step", "section": 2, "step": 0, - "start": 6, - "end": 8 + "start": 8, + "end": 10 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -362,25 +398,37 @@ "end": 2 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 2, + "end": 3 + }, + { + "kind": "prep", + "section": 2, + "start": 3, "end": 4 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 4, "end": 6 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 6, "end": 8 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 8, + "end": 10 } ] } diff --git a/conformance/cases/mod-013-project-root-import/compiled.json b/conformance/cases/mod-013-project-root-import/compiled.json index d3ce9317..c549c4a0 100644 --- a/conformance/cases/mod-013-project-root-import/compiled.json +++ b/conformance/cases/mod-013-project-root-import/compiled.json @@ -187,7 +187,7 @@ ], "warnings": [], "metrics": { - "totalTime": 8, + "totalTime": 10, "totalBreakdown": [ { "label": "section_active:Pate", @@ -218,11 +218,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ] }, @@ -238,11 +238,35 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 2, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -258,24 +282,36 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 + }, + { + "kind": "prep", + "section": 2, + "start": 7, + "end": 8 }, { "kind": "step", "section": 2, "step": 0, - "start": 6, - "end": 8 + "start": 8, + "end": 10 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -285,25 +321,37 @@ "end": 2 }, { - "kind": "step", - "section": 0, - "step": 0, + "kind": "prep", + "section": 1, "start": 2, + "end": 3 + }, + { + "kind": "prep", + "section": 2, + "start": 3, "end": 4 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 4, "end": 6 }, { "kind": "step", - "section": 2, + "section": 1, "step": 0, "start": 6, "end": 8 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 8, + "end": 10 } ] } diff --git a/conformance/cases/mod-015-use-level-retro-planning-multi-section/analyzed.json b/conformance/cases/mod-015-use-level-retro-planning-multi-section/analyzed.json index 7efde9d8..16838a86 100644 --- a/conformance/cases/mod-015-use-level-retro-planning-multi-section/analyzed.json +++ b/conformance/cases/mod-015-use-level-retro-planning-multi-section/analyzed.json @@ -264,7 +264,7 @@ } ], "metrics": { - "totalTime": 1457, + "totalTime": 1459, "totalBreakdown": [ { "label": "section_active:Petrissage", @@ -291,11 +291,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ], "totalMass": 500, @@ -334,12 +334,36 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 2, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 1457, - "idleTime": 1438, + "totalTime": 1458, + "idleTime": 1437, "blocks": [ { "kind": "prep", @@ -354,31 +378,43 @@ "start": 2, "end": 17 }, + { + "kind": "prep", + "section": 1, + "start": 17, + "end": 18 + }, { "kind": "step", "section": 1, "step": 0, - "start": 17, - "end": 17 + "start": 18, + "end": 18 }, { "kind": "passive", "section": 1, "step": 0, - "start": 17, - "end": 77 + "start": 18, + "end": 78 + }, + { + "kind": "prep", + "section": 2, + "start": 1455, + "end": 1456 }, { "kind": "step", "section": 2, "step": 0, - "start": 1455, - "end": 1457 + "start": 1456, + "end": 1458 } ] }, "upfront": { - "totalTime": 1457, + "totalTime": 1459, "idleTime": 1438, "blocks": [ { @@ -387,33 +423,45 @@ "start": 0, "end": 2 }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, + { + "kind": "prep", + "section": 2, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 17 + "start": 4, + "end": 19 }, { "kind": "step", "section": 1, "step": 0, - "start": 17, - "end": 17 + "start": 19, + "end": 19 }, { "kind": "passive", "section": 1, "step": 0, - "start": 17, - "end": 77 + "start": 19, + "end": 79 }, { "kind": "step", "section": 2, "step": 0, - "start": 1455, - "end": 1457 + "start": 1457, + "end": 1459 } ] } diff --git a/conformance/cases/mod-015-use-level-retro-planning-multi-section/compiled.json b/conformance/cases/mod-015-use-level-retro-planning-multi-section/compiled.json index 69e5ae0c..55097f61 100644 --- a/conformance/cases/mod-015-use-level-retro-planning-multi-section/compiled.json +++ b/conformance/cases/mod-015-use-level-retro-planning-multi-section/compiled.json @@ -216,7 +216,7 @@ ], "warnings": [], "metrics": { - "totalTime": 1457, + "totalTime": 1459, "totalBreakdown": [ { "label": "section_active:Petrissage", @@ -243,11 +243,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ] }, @@ -263,12 +263,36 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + }, + { + "section": 2, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 1457, - "idleTime": 1438, + "totalTime": 1458, + "idleTime": 1437, "blocks": [ { "kind": "prep", @@ -283,31 +307,43 @@ "start": 2, "end": 17 }, + { + "kind": "prep", + "section": 1, + "start": 17, + "end": 18 + }, { "kind": "step", "section": 1, "step": 0, - "start": 17, - "end": 17 + "start": 18, + "end": 18 }, { "kind": "passive", "section": 1, "step": 0, - "start": 17, - "end": 77 + "start": 18, + "end": 78 + }, + { + "kind": "prep", + "section": 2, + "start": 1455, + "end": 1456 }, { "kind": "step", "section": 2, "step": 0, - "start": 1455, - "end": 1457 + "start": 1456, + "end": 1458 } ] }, "upfront": { - "totalTime": 1457, + "totalTime": 1459, "idleTime": 1438, "blocks": [ { @@ -316,33 +352,45 @@ "start": 0, "end": 2 }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, + { + "kind": "prep", + "section": 2, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 17 + "start": 4, + "end": 19 }, { "kind": "step", "section": 1, "step": 0, - "start": 17, - "end": 17 + "start": 19, + "end": 19 }, { "kind": "passive", "section": 1, "step": 0, - "start": 17, - "end": 77 + "start": 19, + "end": 79 }, { "kind": "step", "section": 2, "step": 0, - "start": 1455, - "end": 1457 + "start": 1457, + "end": 1459 } ] } diff --git a/conformance/cases/mod-016-retro-planning-override-shadowed/analyzed.json b/conformance/cases/mod-016-retro-planning-override-shadowed/analyzed.json index 7b68d18f..56a19aff 100644 --- a/conformance/cases/mod-016-retro-planning-override-shadowed/analyzed.json +++ b/conformance/cases/mod-016-retro-planning-override-shadowed/analyzed.json @@ -212,7 +212,7 @@ } ], "metrics": { - "totalTime": 2882, + "totalTime": 2883, "totalBreakdown": [ { "label": "timer_passive", @@ -231,11 +231,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 200, @@ -274,12 +274,24 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { "totalTime": 2882, - "idleTime": 2878, + "idleTime": 2877, "blocks": [ { "kind": "prep", @@ -301,6 +313,12 @@ "start": 2, "end": 1442 }, + { + "kind": "prep", + "section": 1, + "start": 2879, + "end": 2880 + }, { "kind": "step", "section": 1, @@ -311,7 +329,7 @@ ] }, "upfront": { - "totalTime": 2882, + "totalTime": 2883, "idleTime": 2878, "blocks": [ { @@ -320,26 +338,32 @@ "start": 0, "end": 2 }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 2 + "start": 3, + "end": 3 }, { "kind": "passive", "section": 0, "step": 0, - "start": 2, - "end": 1442 + "start": 3, + "end": 1443 }, { "kind": "step", "section": 1, "step": 0, - "start": 2880, - "end": 2882 + "start": 2881, + "end": 2883 } ] } diff --git a/conformance/cases/mod-016-retro-planning-override-shadowed/compiled.json b/conformance/cases/mod-016-retro-planning-override-shadowed/compiled.json index 84e2c10a..b7199f69 100644 --- a/conformance/cases/mod-016-retro-planning-override-shadowed/compiled.json +++ b/conformance/cases/mod-016-retro-planning-override-shadowed/compiled.json @@ -170,7 +170,7 @@ } ], "metrics": { - "totalTime": 2882, + "totalTime": 2883, "totalBreakdown": [ { "label": "timer_passive", @@ -189,11 +189,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, @@ -209,12 +209,24 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { "totalTime": 2882, - "idleTime": 2878, + "idleTime": 2877, "blocks": [ { "kind": "prep", @@ -236,6 +248,12 @@ "start": 2, "end": 1442 }, + { + "kind": "prep", + "section": 1, + "start": 2879, + "end": 2880 + }, { "kind": "step", "section": 1, @@ -246,7 +264,7 @@ ] }, "upfront": { - "totalTime": 2882, + "totalTime": 2883, "idleTime": 2878, "blocks": [ { @@ -255,26 +273,32 @@ "start": 0, "end": 2 }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 2 + "start": 3, + "end": 3 }, { "kind": "passive", "section": 0, "step": 0, - "start": 2, - "end": 1442 + "start": 3, + "end": 1443 }, { "kind": "step", "section": 1, "step": 0, - "start": 2880, - "end": 2882 + "start": 2881, + "end": 2883 } ] } diff --git a/conformance/cases/mod-019-transitive-stock/analyzed.json b/conformance/cases/mod-019-transitive-stock/analyzed.json index c69de902..c2b8d3a9 100644 --- a/conformance/cases/mod-019-transitive-stock/analyzed.json +++ b/conformance/cases/mod-019-transitive-stock/analyzed.json @@ -175,7 +175,7 @@ ], "warnings": [], "metrics": { - "totalTime": 6, + "totalTime": 7, "totalBreakdown": [ { "label": "section_active:B Section", @@ -198,11 +198,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 100, @@ -241,11 +241,23 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { @@ -261,17 +273,23 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 } ] }, "upfront": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { @@ -280,19 +298,25 @@ "start": 0, "end": 2 }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 4 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 } ] } diff --git a/conformance/cases/mod-019-transitive-stock/compiled.json b/conformance/cases/mod-019-transitive-stock/compiled.json index 46806a2c..9deebe9a 100644 --- a/conformance/cases/mod-019-transitive-stock/compiled.json +++ b/conformance/cases/mod-019-transitive-stock/compiled.json @@ -141,7 +141,7 @@ ], "warnings": [], "metrics": { - "totalTime": 6, + "totalTime": 7, "totalBreakdown": [ { "label": "section_active:B Section", @@ -164,11 +164,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, @@ -184,11 +184,23 @@ "duration": 2 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { @@ -204,17 +216,23 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 } ] }, "upfront": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { @@ -223,19 +241,25 @@ "start": 0, "end": 2 }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 4 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 } ] } diff --git a/conformance/cases/mod-022-density-override-shadowed/analyzed.json b/conformance/cases/mod-022-density-override-shadowed/analyzed.json index 8a58768a..29b3b89a 100644 --- a/conformance/cases/mod-022-density-override-shadowed/analyzed.json +++ b/conformance/cases/mod-022-density-override-shadowed/analyzed.json @@ -151,7 +151,7 @@ } ], "metrics": { - "totalTime": 5, + "totalTime": 6, "totalBreakdown": [ { "label": "section_active:Glaze", @@ -174,11 +174,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 2, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 2 } ], "totalMass": 100, @@ -213,11 +213,23 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -233,17 +245,23 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] }, "upfront": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -252,19 +270,25 @@ "start": 0, "end": 1 }, + { + "kind": "prep", + "section": 1, + "start": 1, + "end": 2 + }, { "kind": "step", "section": 0, "step": 0, - "start": 1, - "end": 3 + "start": 2, + "end": 4 }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] } diff --git a/conformance/cases/mod-022-density-override-shadowed/compiled.json b/conformance/cases/mod-022-density-override-shadowed/compiled.json index 5e04c9b6..d4de0993 100644 --- a/conformance/cases/mod-022-density-override-shadowed/compiled.json +++ b/conformance/cases/mod-022-density-override-shadowed/compiled.json @@ -122,7 +122,7 @@ } ], "metrics": { - "totalTime": 5, + "totalTime": 6, "totalBreakdown": [ { "label": "section_active:Glaze", @@ -145,11 +145,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 2, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 2 } ] }, @@ -165,11 +165,23 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -185,17 +197,23 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] }, "upfront": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -204,19 +222,25 @@ "start": 0, "end": 1 }, + { + "kind": "prep", + "section": 1, + "start": 1, + "end": 2 + }, { "kind": "step", "section": 0, "step": 0, - "start": 1, - "end": 3 + "start": 2, + "end": 4 }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] } diff --git a/conformance/cases/mod-023-imported-bakers-dropped/analyzed.json b/conformance/cases/mod-023-imported-bakers-dropped/analyzed.json index 88a7fa4b..23ca9473 100644 --- a/conformance/cases/mod-023-imported-bakers-dropped/analyzed.json +++ b/conformance/cases/mod-023-imported-bakers-dropped/analyzed.json @@ -215,7 +215,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Pastry", @@ -238,11 +238,11 @@ "duration": 4 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 300, @@ -284,20 +284,20 @@ }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -317,26 +317,26 @@ "kind": "prep", "section": 1, "start": 3, - "end": 4 + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 1, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -349,28 +349,28 @@ "kind": "prep", "section": 1, "start": 1, - "end": 2 + "end": 3 }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 4 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 1, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/mod-023-imported-bakers-dropped/compiled.json b/conformance/cases/mod-023-imported-bakers-dropped/compiled.json index 95186109..b10ecebe 100644 --- a/conformance/cases/mod-023-imported-bakers-dropped/compiled.json +++ b/conformance/cases/mod-023-imported-bakers-dropped/compiled.json @@ -166,7 +166,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Pastry", @@ -189,11 +189,11 @@ "duration": 4 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, @@ -212,20 +212,20 @@ }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -245,26 +245,26 @@ "kind": "prep", "section": 1, "start": 3, - "end": 4 + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 1, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -277,28 +277,28 @@ "kind": "prep", "section": 1, "start": 1, - "end": 2 + "end": 3 }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 4 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 1, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/mod-024-estimated-module-yield/analyzed.json b/conformance/cases/mod-024-estimated-module-yield/analyzed.json index 66dbd651..71736c7a 100644 --- a/conformance/cases/mod-024-estimated-module-yield/analyzed.json +++ b/conformance/cases/mod-024-estimated-module-yield/analyzed.json @@ -148,7 +148,7 @@ } ], "metrics": { - "totalTime": 5, + "totalTime": 6, "totalBreakdown": [ { "label": "section_active:Batter", @@ -171,11 +171,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 2, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 2 } ], "totalMass": 206, @@ -210,11 +210,23 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -230,17 +242,23 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] }, "upfront": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -249,19 +267,25 @@ "start": 0, "end": 1 }, + { + "kind": "prep", + "section": 1, + "start": 1, + "end": 2 + }, { "kind": "step", "section": 0, "step": 0, - "start": 1, - "end": 3 + "start": 2, + "end": 4 }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] } diff --git a/conformance/cases/mod-024-estimated-module-yield/compiled.json b/conformance/cases/mod-024-estimated-module-yield/compiled.json index 31e0483e..273ff8c3 100644 --- a/conformance/cases/mod-024-estimated-module-yield/compiled.json +++ b/conformance/cases/mod-024-estimated-module-yield/compiled.json @@ -119,7 +119,7 @@ } ], "metrics": { - "totalTime": 5, + "totalTime": 6, "totalBreakdown": [ { "label": "section_active:Batter", @@ -142,11 +142,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 2, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 2 } ] }, @@ -162,11 +162,23 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -182,17 +194,23 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] }, "upfront": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -201,19 +219,25 @@ "start": 0, "end": 1 }, + { + "kind": "prep", + "section": 1, + "start": 1, + "end": 2 + }, { "kind": "step", "section": 0, "step": 0, - "start": 1, - "end": 3 + "start": 2, + "end": 4 }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] } diff --git a/conformance/cases/mod-025-unresolved-module-yield/analyzed.json b/conformance/cases/mod-025-unresolved-module-yield/analyzed.json index ea43335e..0f185f77 100644 --- a/conformance/cases/mod-025-unresolved-module-yield/analyzed.json +++ b/conformance/cases/mod-025-unresolved-module-yield/analyzed.json @@ -141,7 +141,7 @@ } ], "metrics": { - "totalTime": 5, + "totalTime": 6, "totalBreakdown": [ { "label": "section_active:Batter", @@ -164,11 +164,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 2, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 2 } ], "totalMass": 0, @@ -205,11 +205,23 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -225,17 +237,23 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] }, "upfront": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -244,19 +262,25 @@ "start": 0, "end": 1 }, + { + "kind": "prep", + "section": 1, + "start": 1, + "end": 2 + }, { "kind": "step", "section": 0, "step": 0, - "start": 1, - "end": 3 + "start": 2, + "end": 4 }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] } diff --git a/conformance/cases/mod-025-unresolved-module-yield/compiled.json b/conformance/cases/mod-025-unresolved-module-yield/compiled.json index f7723d8e..f3707ca8 100644 --- a/conformance/cases/mod-025-unresolved-module-yield/compiled.json +++ b/conformance/cases/mod-025-unresolved-module-yield/compiled.json @@ -119,7 +119,7 @@ } ], "metrics": { - "totalTime": 5, + "totalTime": 6, "totalBreakdown": [ { "label": "section_active:Batter", @@ -142,11 +142,11 @@ "duration": 2 } ], - "preparationTime": 1, + "preparationTime": 2, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 1 + "duration": 2 } ] }, @@ -162,11 +162,23 @@ "duration": 1 } ] + }, + { + "section": 1, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] } ], "schedules": { "perSection": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -182,17 +194,23 @@ "start": 1, "end": 3 }, + { + "kind": "prep", + "section": 1, + "start": 3, + "end": 4 + }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] }, "upfront": { - "totalTime": 5, + "totalTime": 6, "idleTime": 0, "blocks": [ { @@ -201,19 +219,25 @@ "start": 0, "end": 1 }, + { + "kind": "prep", + "section": 1, + "start": 1, + "end": 2 + }, { "kind": "step", "section": 0, "step": 0, - "start": 1, - "end": 3 + "start": 2, + "end": 4 }, { "kind": "step", "section": 1, "step": 0, - "start": 3, - "end": 5 + "start": 4, + "end": 6 } ] } diff --git a/conformance/cases/mod-026-deep-transitive-chain/analyzed.json b/conformance/cases/mod-026-deep-transitive-chain/analyzed.json index 3e2845f4..894f3a89 100644 --- a/conformance/cases/mod-026-deep-transitive-chain/analyzed.json +++ b/conformance/cases/mod-026-deep-transitive-chain/analyzed.json @@ -375,7 +375,7 @@ } ], "metrics": { - "totalTime": 1463, + "totalTime": 1466, "totalBreakdown": [ { "label": "section_active:D", @@ -414,11 +414,11 @@ "duration": 2 } ], - "preparationTime": 3, + "preparationTime": 6, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 3 + "duration": 6 } ], "totalMass": 318.92, @@ -464,18 +464,30 @@ }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] }, { "section": 2, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] + }, + { + "section": 3, "duration": 1, "items": [ { @@ -489,8 +501,8 @@ ], "schedules": { "perSection": { - "totalTime": 1463, - "idleTime": 1438, + "totalTime": 1465, + "idleTime": 1437, "blocks": [ { "kind": "prep", @@ -509,39 +521,45 @@ "kind": "prep", "section": 1, "start": 11, - "end": 12 + "end": 13 }, { "kind": "step", "section": 1, "step": 0, - "start": 12, - "end": 17 + "start": 13, + "end": 18 }, { "kind": "prep", "section": 2, - "start": 17, - "end": 18 + "start": 18, + "end": 20 }, { "kind": "step", "section": 2, "step": 0, - "start": 18, - "end": 23 + "start": 20, + "end": 25 + }, + { + "kind": "prep", + "section": 3, + "start": 1462, + "end": 1463 }, { "kind": "step", "section": 3, "step": 0, - "start": 1461, - "end": 1463 + "start": 1463, + "end": 1465 } ] }, "upfront": { - "totalTime": 1463, + "totalTime": 1466, "idleTime": 1438, "blocks": [ { @@ -554,41 +572,47 @@ "kind": "prep", "section": 1, "start": 1, - "end": 2 + "end": 3 }, { "kind": "prep", "section": 2, - "start": 2, - "end": 3 + "start": 3, + "end": 5 + }, + { + "kind": "prep", + "section": 3, + "start": 5, + "end": 6 }, { "kind": "step", "section": 0, "step": 0, - "start": 3, - "end": 13 + "start": 6, + "end": 16 }, { "kind": "step", "section": 1, "step": 0, - "start": 13, - "end": 18 + "start": 16, + "end": 21 }, { "kind": "step", "section": 2, "step": 0, - "start": 18, - "end": 23 + "start": 21, + "end": 26 }, { "kind": "step", "section": 3, "step": 0, - "start": 1461, - "end": 1463 + "start": 1464, + "end": 1466 } ] } diff --git a/conformance/cases/mod-026-deep-transitive-chain/compiled.json b/conformance/cases/mod-026-deep-transitive-chain/compiled.json index bb52b741..6d523345 100644 --- a/conformance/cases/mod-026-deep-transitive-chain/compiled.json +++ b/conformance/cases/mod-026-deep-transitive-chain/compiled.json @@ -297,7 +297,7 @@ ], "warnings": [], "metrics": { - "totalTime": 1463, + "totalTime": 1466, "totalBreakdown": [ { "label": "section_active:D", @@ -336,11 +336,11 @@ "duration": 2 } ], - "preparationTime": 3, + "preparationTime": 6, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 3 + "duration": 6 } ] }, @@ -359,18 +359,30 @@ }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] }, { "section": 2, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] + }, + { + "section": 3, "duration": 1, "items": [ { @@ -384,8 +396,8 @@ ], "schedules": { "perSection": { - "totalTime": 1463, - "idleTime": 1438, + "totalTime": 1465, + "idleTime": 1437, "blocks": [ { "kind": "prep", @@ -404,39 +416,45 @@ "kind": "prep", "section": 1, "start": 11, - "end": 12 + "end": 13 }, { "kind": "step", "section": 1, "step": 0, - "start": 12, - "end": 17 + "start": 13, + "end": 18 }, { "kind": "prep", "section": 2, - "start": 17, - "end": 18 + "start": 18, + "end": 20 }, { "kind": "step", "section": 2, "step": 0, - "start": 18, - "end": 23 + "start": 20, + "end": 25 + }, + { + "kind": "prep", + "section": 3, + "start": 1462, + "end": 1463 }, { "kind": "step", "section": 3, "step": 0, - "start": 1461, - "end": 1463 + "start": 1463, + "end": 1465 } ] }, "upfront": { - "totalTime": 1463, + "totalTime": 1466, "idleTime": 1438, "blocks": [ { @@ -449,41 +467,47 @@ "kind": "prep", "section": 1, "start": 1, - "end": 2 + "end": 3 }, { "kind": "prep", "section": 2, - "start": 2, - "end": 3 + "start": 3, + "end": 5 + }, + { + "kind": "prep", + "section": 3, + "start": 5, + "end": 6 }, { "kind": "step", "section": 0, "step": 0, - "start": 3, - "end": 13 + "start": 6, + "end": 16 }, { "kind": "step", "section": 1, "step": 0, - "start": 13, - "end": 18 + "start": 16, + "end": 21 }, { "kind": "step", "section": 2, "step": 0, - "start": 18, - "end": 23 + "start": 21, + "end": 26 }, { "kind": "step", "section": 3, "step": 0, - "start": 1461, - "end": 1463 + "start": 1464, + "end": 1466 } ] } diff --git a/conformance/cases/mod-027-diamond-mixed-stock-inline/analyzed.json b/conformance/cases/mod-027-diamond-mixed-stock-inline/analyzed.json index e24c9be6..2410794f 100644 --- a/conformance/cases/mod-027-diamond-mixed-stock-inline/analyzed.json +++ b/conformance/cases/mod-027-diamond-mixed-stock-inline/analyzed.json @@ -240,7 +240,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 10, "totalBreakdown": [ { "label": "section_active:D", @@ -271,11 +271,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ], "totalMass": 200, @@ -316,7 +316,7 @@ ] }, { - "section": 2, + "section": 1, "duration": 1, "items": [ { @@ -326,11 +326,23 @@ "duration": 1 } ] + }, + { + "section": 2, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -347,48 +359,9 @@ "end": 3 }, { - "kind": "step", + "kind": "prep", "section": 1, - "step": 0, "start": 3, - "end": 5 - }, - { - "kind": "prep", - "section": 2, - "start": 5, - "end": 6 - }, - { - "kind": "step", - "section": 2, - "step": 0, - "start": 6, - "end": 8 - } - ] - }, - "upfront": { - "totalTime": 8, - "idleTime": 0, - "blocks": [ - { - "kind": "prep", - "section": 0, - "start": 0, - "end": 1 - }, - { - "kind": "prep", - "section": 2, - "start": 1, - "end": 2 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 2, "end": 4 }, { @@ -398,12 +371,63 @@ "start": 4, "end": 6 }, + { + "kind": "prep", + "section": 2, + "start": 6, + "end": 8 + }, { "kind": "step", "section": 2, "step": 0, + "start": 8, + "end": 10 + } + ] + }, + "upfront": { + "totalTime": 10, + "idleTime": 0, + "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 1 + }, + { + "kind": "prep", + "section": 1, + "start": 1, + "end": 2 + }, + { + "kind": "prep", + "section": 2, + "start": 2, + "end": 4 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 4, + "end": 6 + }, + { + "kind": "step", + "section": 1, + "step": 0, "start": 6, "end": 8 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 8, + "end": 10 } ] } diff --git a/conformance/cases/mod-027-diamond-mixed-stock-inline/compiled.json b/conformance/cases/mod-027-diamond-mixed-stock-inline/compiled.json index 59313ccb..04a88e2c 100644 --- a/conformance/cases/mod-027-diamond-mixed-stock-inline/compiled.json +++ b/conformance/cases/mod-027-diamond-mixed-stock-inline/compiled.json @@ -207,7 +207,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 10, "totalBreakdown": [ { "label": "section_active:D", @@ -238,11 +238,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ] }, @@ -260,7 +260,7 @@ ] }, { - "section": 2, + "section": 1, "duration": 1, "items": [ { @@ -270,11 +270,23 @@ "duration": 1 } ] + }, + { + "section": 2, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 10, "idleTime": 0, "blocks": [ { @@ -291,48 +303,9 @@ "end": 3 }, { - "kind": "step", + "kind": "prep", "section": 1, - "step": 0, "start": 3, - "end": 5 - }, - { - "kind": "prep", - "section": 2, - "start": 5, - "end": 6 - }, - { - "kind": "step", - "section": 2, - "step": 0, - "start": 6, - "end": 8 - } - ] - }, - "upfront": { - "totalTime": 8, - "idleTime": 0, - "blocks": [ - { - "kind": "prep", - "section": 0, - "start": 0, - "end": 1 - }, - { - "kind": "prep", - "section": 2, - "start": 1, - "end": 2 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 2, "end": 4 }, { @@ -342,12 +315,63 @@ "start": 4, "end": 6 }, + { + "kind": "prep", + "section": 2, + "start": 6, + "end": 8 + }, { "kind": "step", "section": 2, "step": 0, + "start": 8, + "end": 10 + } + ] + }, + "upfront": { + "totalTime": 10, + "idleTime": 0, + "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 1 + }, + { + "kind": "prep", + "section": 1, + "start": 1, + "end": 2 + }, + { + "kind": "prep", + "section": 2, + "start": 2, + "end": 4 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 4, + "end": 6 + }, + { + "kind": "step", + "section": 1, + "step": 0, "start": 6, "end": 8 + }, + { + "kind": "step", + "section": 2, + "step": 0, + "start": 8, + "end": 10 } ] } diff --git a/conformance/cases/mod-028-relative-quantities-cross-module/analyzed.json b/conformance/cases/mod-028-relative-quantities-cross-module/analyzed.json index d2d0e956..1a2481c3 100644 --- a/conformance/cases/mod-028-relative-quantities-cross-module/analyzed.json +++ b/conformance/cases/mod-028-relative-quantities-cross-module/analyzed.json @@ -213,7 +213,7 @@ } ], "metrics": { - "totalTime": 8, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Pastry", @@ -236,11 +236,11 @@ "duration": 4 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 300, @@ -282,20 +282,20 @@ }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -315,26 +315,26 @@ "kind": "prep", "section": 1, "start": 3, - "end": 4 + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 1, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -347,28 +347,28 @@ "kind": "prep", "section": 1, "start": 1, - "end": 2 + "end": 3 }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 4 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 1, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/mod-028-relative-quantities-cross-module/compiled.json b/conformance/cases/mod-028-relative-quantities-cross-module/compiled.json index 16c00ee1..1087c3f1 100644 --- a/conformance/cases/mod-028-relative-quantities-cross-module/compiled.json +++ b/conformance/cases/mod-028-relative-quantities-cross-module/compiled.json @@ -182,7 +182,7 @@ ], "warnings": [], "metrics": { - "totalTime": 8, + "totalTime": 9, "totalBreakdown": [ { "label": "section_active:Pastry", @@ -205,11 +205,11 @@ "duration": 4 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, @@ -228,20 +228,20 @@ }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] } ], "schedules": { "perSection": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -261,26 +261,26 @@ "kind": "prep", "section": 1, "start": 3, - "end": 4 + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 1, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] }, "upfront": { - "totalTime": 8, + "totalTime": 9, "idleTime": 0, "blocks": [ { @@ -293,28 +293,28 @@ "kind": "prep", "section": 1, "start": 1, - "end": 2 + "end": 3 }, { "kind": "step", "section": 0, "step": 0, - "start": 2, - "end": 4 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 }, { "kind": "step", "section": 1, "step": 1, - "start": 6, - "end": 8 + "start": 7, + "end": 9 } ] } diff --git a/conformance/cases/mod-029-private-intermediate-display-name/analyzed.json b/conformance/cases/mod-029-private-intermediate-display-name/analyzed.json index 6ca477b4..684a15a5 100644 --- a/conformance/cases/mod-029-private-intermediate-display-name/analyzed.json +++ b/conformance/cases/mod-029-private-intermediate-display-name/analyzed.json @@ -236,7 +236,7 @@ } ], "metrics": { - "totalTime": 1444, + "totalTime": 1447, "totalBreakdown": [ { "label": "section_active:Press", @@ -275,7 +275,13 @@ "duration": 2 } ], - "preparationTime": 0, + "preparationTime": 3, + "prepBreakdown": [ + { + "label": "ingredients_overhead", + "duration": 3 + } + ], "totalMass": 200, "massStatus": "precise", "missingMassIngredients": [], @@ -296,73 +302,122 @@ ] } }, - "miseEnPlace": [], + "miseEnPlace": [ + { + "section": 0, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] + }, + { + "section": 2, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + } + ], "schedules": { "perSection": { - "totalTime": 1444, - "idleTime": 1436, + "totalTime": 1446, + "idleTime": 1435, "blocks": [ { - "kind": "step", + "kind": "prep", "section": 0, - "step": 0, "start": 0, "end": 2 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 2, "end": 4 }, + { + "kind": "step", + "section": 1, + "step": 0, + "start": 4, + "end": 6 + }, + { + "kind": "prep", + "section": 2, + "start": 1441, + "end": 1442 + }, { "kind": "step", "section": 2, "step": 0, - "start": 1440, - "end": 1442 + "start": 1442, + "end": 1444 }, { "kind": "step", "section": 3, "step": 0, - "start": 1442, - "end": 1444 + "start": 1444, + "end": 1446 } ] }, "upfront": { - "totalTime": 1444, + "totalTime": 1447, "idleTime": 1436, "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 2 + }, + { + "kind": "prep", + "section": 2, + "start": 2, + "end": 3 + }, { "kind": "step", "section": 0, "step": 0, - "start": 0, - "end": 2 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 2, - "end": 4 + "start": 5, + "end": 7 }, { "kind": "step", "section": 2, "step": 0, - "start": 1440, - "end": 1442 + "start": 1443, + "end": 1445 }, { "kind": "step", "section": 3, "step": 0, - "start": 1442, - "end": 1444 + "start": 1445, + "end": 1447 } ] } diff --git a/conformance/cases/mod-029-private-intermediate-display-name/compiled.json b/conformance/cases/mod-029-private-intermediate-display-name/compiled.json index c8cea210..f3fc4c22 100644 --- a/conformance/cases/mod-029-private-intermediate-display-name/compiled.json +++ b/conformance/cases/mod-029-private-intermediate-display-name/compiled.json @@ -202,7 +202,7 @@ ], "warnings": [], "metrics": { - "totalTime": 1444, + "totalTime": 1447, "totalBreakdown": [ { "label": "section_active:Press", @@ -241,75 +241,130 @@ "duration": 2 } ], - "preparationTime": 0 + "preparationTime": 3, + "prepBreakdown": [ + { + "label": "ingredients_overhead", + "duration": 3 + } + ] }, - "miseEnPlace": [], + "miseEnPlace": [ + { + "section": 0, + "duration": 2, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 2, + "duration": 2 + } + ] + }, + { + "section": 2, + "duration": 1, + "items": [ + { + "kind": "gather", + "target": "ingredient", + "count": 1, + "duration": 1 + } + ] + } + ], "schedules": { "perSection": { - "totalTime": 1444, - "idleTime": 1436, + "totalTime": 1446, + "idleTime": 1435, "blocks": [ { - "kind": "step", + "kind": "prep", "section": 0, - "step": 0, "start": 0, "end": 2 }, { "kind": "step", - "section": 1, + "section": 0, "step": 0, "start": 2, "end": 4 }, + { + "kind": "step", + "section": 1, + "step": 0, + "start": 4, + "end": 6 + }, + { + "kind": "prep", + "section": 2, + "start": 1441, + "end": 1442 + }, { "kind": "step", "section": 2, "step": 0, - "start": 1440, - "end": 1442 + "start": 1442, + "end": 1444 }, { "kind": "step", "section": 3, "step": 0, - "start": 1442, - "end": 1444 + "start": 1444, + "end": 1446 } ] }, "upfront": { - "totalTime": 1444, + "totalTime": 1447, "idleTime": 1436, "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 2 + }, + { + "kind": "prep", + "section": 2, + "start": 2, + "end": 3 + }, { "kind": "step", "section": 0, "step": 0, - "start": 0, - "end": 2 + "start": 3, + "end": 5 }, { "kind": "step", "section": 1, "step": 0, - "start": 2, - "end": 4 + "start": 5, + "end": 7 }, { "kind": "step", "section": 2, "step": 0, - "start": 1440, - "end": 1442 + "start": 1443, + "end": 1445 }, { "kind": "step", "section": 3, "step": 0, - "start": 1442, - "end": 1444 + "start": 1445, + "end": 1447 } ] } diff --git a/conformance/cases/mod-030-mise-en-place-across-module/analyzed.json b/conformance/cases/mod-030-mise-en-place-across-module/analyzed.json index 5d78411e..f31b0eaa 100644 --- a/conformance/cases/mod-030-mise-en-place-across-module/analyzed.json +++ b/conformance/cases/mod-030-mise-en-place-across-module/analyzed.json @@ -420,7 +420,7 @@ } ], "metrics": { - "totalTime": 104, + "totalTime": 106, "totalBreakdown": [ { "label": "section_active:Pate", @@ -451,11 +451,11 @@ "duration": 30 } ], - "preparationTime": 12, + "preparationTime": 14, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 5 + "duration": 7 }, { "label": "cookware_overhead", @@ -561,13 +561,13 @@ }, { "section": 2, - "duration": 3, + "duration": 5, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 3, + "duration": 3 }, { "kind": "prepare", @@ -583,7 +583,7 @@ "schedules": { "perSection": { "totalTime": 97, - "idleTime": 51, + "idleTime": 49, "blocks": [ { "kind": "prep", @@ -615,20 +615,20 @@ { "kind": "prep", "section": 1, - "start": 58, - "end": 62 + "start": 56, + "end": 60 }, { "kind": "step", "section": 1, "step": 0, - "start": 62, - "end": 64 + "start": 60, + "end": 62 }, { "kind": "prep", "section": 2, - "start": 64, + "start": 62, "end": 67 }, { @@ -641,7 +641,7 @@ ] }, "upfront": { - "totalTime": 104, + "totalTime": 106, "idleTime": 58, "blocks": [ { @@ -660,42 +660,42 @@ "kind": "prep", "section": 2, "start": 9, - "end": 12 + "end": 14 }, { "kind": "step", "section": 0, "step": 0, - "start": 12, - "end": 14 + "start": 14, + "end": 16 }, { "kind": "step", "section": 0, "step": 1, - "start": 14, - "end": 14 + "start": 16, + "end": 16 }, { "kind": "passive", "section": 0, "step": 1, - "start": 14, - "end": 74 + "start": 16, + "end": 76 }, { "kind": "step", "section": 1, "step": 0, - "start": 72, - "end": 74 + "start": 74, + "end": 76 }, { "kind": "step", "section": 2, "step": 0, - "start": 74, - "end": 104 + "start": 76, + "end": 106 } ] } diff --git a/conformance/cases/mod-030-mise-en-place-across-module/compiled.json b/conformance/cases/mod-030-mise-en-place-across-module/compiled.json index 046f6feb..0649cac5 100644 --- a/conformance/cases/mod-030-mise-en-place-across-module/compiled.json +++ b/conformance/cases/mod-030-mise-en-place-across-module/compiled.json @@ -334,7 +334,7 @@ ], "warnings": [], "metrics": { - "totalTime": 104, + "totalTime": 106, "totalBreakdown": [ { "label": "section_active:Pate", @@ -365,11 +365,11 @@ "duration": 30 } ], - "preparationTime": 12, + "preparationTime": 14, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 5 + "duration": 7 }, { "label": "cookware_overhead", @@ -438,13 +438,13 @@ }, { "section": 2, - "duration": 3, + "duration": 5, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 3, + "duration": 3 }, { "kind": "prepare", @@ -460,7 +460,7 @@ "schedules": { "perSection": { "totalTime": 97, - "idleTime": 51, + "idleTime": 49, "blocks": [ { "kind": "prep", @@ -492,20 +492,20 @@ { "kind": "prep", "section": 1, - "start": 58, - "end": 62 + "start": 56, + "end": 60 }, { "kind": "step", "section": 1, "step": 0, - "start": 62, - "end": 64 + "start": 60, + "end": 62 }, { "kind": "prep", "section": 2, - "start": 64, + "start": 62, "end": 67 }, { @@ -518,7 +518,7 @@ ] }, "upfront": { - "totalTime": 104, + "totalTime": 106, "idleTime": 58, "blocks": [ { @@ -537,42 +537,42 @@ "kind": "prep", "section": 2, "start": 9, - "end": 12 + "end": 14 }, { "kind": "step", "section": 0, "step": 0, - "start": 12, - "end": 14 + "start": 14, + "end": 16 }, { "kind": "step", "section": 0, "step": 1, - "start": 14, - "end": 14 + "start": 16, + "end": 16 }, { "kind": "passive", "section": 0, "step": 1, - "start": 14, - "end": 74 + "start": 16, + "end": 76 }, { "kind": "step", "section": 1, "step": 0, - "start": 72, - "end": 74 + "start": 74, + "end": 76 }, { "kind": "step", "section": 2, "step": 0, - "start": 74, - "end": 104 + "start": 76, + "end": 106 } ] } diff --git a/conformance/cases/warn-007-scope-conflict/analyzed.json b/conformance/cases/warn-007-scope-conflict/analyzed.json index 8b40c436..c4942868 100644 --- a/conformance/cases/warn-007-scope-conflict/analyzed.json +++ b/conformance/cases/warn-007-scope-conflict/analyzed.json @@ -154,7 +154,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 7, "totalBreakdown": [ { "label": "section_active:First", @@ -177,11 +177,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ], "totalMass": 200, @@ -213,13 +213,13 @@ "miseEnPlace": [ { "section": 0, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] }, @@ -238,51 +238,13 @@ ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { "kind": "prep", "section": 0, "start": 0, - "end": 1 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 1, - "end": 3 - }, - { - "kind": "prep", - "section": 1, - "start": 3, - "end": 4 - }, - { - "kind": "step", - "section": 1, - "step": 0, - "start": 4, - "end": 6 - } - ] - }, - "upfront": { - "totalTime": 6, - "idleTime": 0, - "blocks": [ - { - "kind": "prep", - "section": 0, - "start": 0, - "end": 1 - }, - { - "kind": "prep", - "section": 1, - "start": 1, "end": 2 }, { @@ -292,12 +254,50 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 + } + ] + }, + "upfront": { + "totalTime": 7, + "idleTime": 0, + "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 2 + }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 3, + "end": 5 + }, + { + "kind": "step", + "section": 1, + "step": 0, + "start": 5, + "end": 7 } ] } diff --git a/conformance/cases/warn-007-scope-conflict/compiled.json b/conformance/cases/warn-007-scope-conflict/compiled.json index 62c6cf40..fdf88faf 100644 --- a/conformance/cases/warn-007-scope-conflict/compiled.json +++ b/conformance/cases/warn-007-scope-conflict/compiled.json @@ -125,7 +125,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 7, "totalBreakdown": [ { "label": "section_active:First", @@ -148,24 +148,24 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 3, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 3 } ] }, "miseEnPlace": [ { "section": 0, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] }, @@ -184,51 +184,13 @@ ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 7, "idleTime": 0, "blocks": [ { "kind": "prep", "section": 0, "start": 0, - "end": 1 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 1, - "end": 3 - }, - { - "kind": "prep", - "section": 1, - "start": 3, - "end": 4 - }, - { - "kind": "step", - "section": 1, - "step": 0, - "start": 4, - "end": 6 - } - ] - }, - "upfront": { - "totalTime": 6, - "idleTime": 0, - "blocks": [ - { - "kind": "prep", - "section": 0, - "start": 0, - "end": 1 - }, - { - "kind": "prep", - "section": 1, - "start": 1, "end": 2 }, { @@ -238,12 +200,50 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 5 + }, { "kind": "step", "section": 1, "step": 0, - "start": 4, - "end": 6 + "start": 5, + "end": 7 + } + ] + }, + "upfront": { + "totalTime": 7, + "idleTime": 0, + "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 2 + }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 3 + }, + { + "kind": "step", + "section": 0, + "step": 0, + "start": 3, + "end": 5 + }, + { + "kind": "step", + "section": 1, + "step": 0, + "start": 5, + "end": 7 } ] } diff --git a/conformance/cases/warn-016-circular-reference-indirect-intermediates/analyzed.json b/conformance/cases/warn-016-circular-reference-indirect-intermediates/analyzed.json index 0978b72a..2d12cc5d 100644 --- a/conformance/cases/warn-016-circular-reference-indirect-intermediates/analyzed.json +++ b/conformance/cases/warn-016-circular-reference-indirect-intermediates/analyzed.json @@ -210,7 +210,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 8, "totalBreakdown": [ { "label": "section_active:Make Batter", @@ -233,11 +233,11 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ], "totalMass": 300, @@ -267,76 +267,38 @@ "miseEnPlace": [ { "section": 0, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] } ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 8, "idleTime": 0, "blocks": [ { "kind": "prep", "section": 0, "start": 0, - "end": 1 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 1, - "end": 3 - }, - { - "kind": "prep", - "section": 1, - "start": 3, - "end": 4 - }, - { - "kind": "step", - "section": 1, - "step": 0, - "start": 4, - "end": 6 - } - ] - }, - "upfront": { - "totalTime": 6, - "idleTime": 0, - "blocks": [ - { - "kind": "prep", - "section": 0, - "start": 0, - "end": 1 - }, - { - "kind": "prep", - "section": 1, - "start": 1, "end": 2 }, { @@ -346,12 +308,50 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 6 + }, { "kind": "step", "section": 1, "step": 0, + "start": 6, + "end": 8 + } + ] + }, + "upfront": { + "totalTime": 8, + "idleTime": 0, + "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 2 + }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 4 + }, + { + "kind": "step", + "section": 0, + "step": 0, "start": 4, "end": 6 + }, + { + "kind": "step", + "section": 1, + "step": 0, + "start": 6, + "end": 8 } ] } diff --git a/conformance/cases/warn-016-circular-reference-indirect-intermediates/compiled.json b/conformance/cases/warn-016-circular-reference-indirect-intermediates/compiled.json index d1322ffe..afdd6dd0 100644 --- a/conformance/cases/warn-016-circular-reference-indirect-intermediates/compiled.json +++ b/conformance/cases/warn-016-circular-reference-indirect-intermediates/compiled.json @@ -174,7 +174,7 @@ } ], "metrics": { - "totalTime": 6, + "totalTime": 8, "totalBreakdown": [ { "label": "section_active:Make Batter", @@ -197,87 +197,49 @@ "duration": 2 } ], - "preparationTime": 2, + "preparationTime": 4, "prepBreakdown": [ { "label": "ingredients_overhead", - "duration": 2 + "duration": 4 } ] }, "miseEnPlace": [ { "section": 0, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] }, { "section": 1, - "duration": 1, + "duration": 2, "items": [ { "kind": "gather", "target": "ingredient", - "count": 1, - "duration": 1 + "count": 2, + "duration": 2 } ] } ], "schedules": { "perSection": { - "totalTime": 6, + "totalTime": 8, "idleTime": 0, "blocks": [ { "kind": "prep", "section": 0, "start": 0, - "end": 1 - }, - { - "kind": "step", - "section": 0, - "step": 0, - "start": 1, - "end": 3 - }, - { - "kind": "prep", - "section": 1, - "start": 3, - "end": 4 - }, - { - "kind": "step", - "section": 1, - "step": 0, - "start": 4, - "end": 6 - } - ] - }, - "upfront": { - "totalTime": 6, - "idleTime": 0, - "blocks": [ - { - "kind": "prep", - "section": 0, - "start": 0, - "end": 1 - }, - { - "kind": "prep", - "section": 1, - "start": 1, "end": 2 }, { @@ -287,12 +249,50 @@ "start": 2, "end": 4 }, + { + "kind": "prep", + "section": 1, + "start": 4, + "end": 6 + }, { "kind": "step", "section": 1, "step": 0, + "start": 6, + "end": 8 + } + ] + }, + "upfront": { + "totalTime": 8, + "idleTime": 0, + "blocks": [ + { + "kind": "prep", + "section": 0, + "start": 0, + "end": 2 + }, + { + "kind": "prep", + "section": 1, + "start": 2, + "end": 4 + }, + { + "kind": "step", + "section": 0, + "step": 0, "start": 4, "end": 6 + }, + { + "kind": "step", + "section": 1, + "step": 0, + "start": 6, + "end": 8 } ] } -- 2.54.0