Skip to content

ci(measure): a scorer or schema step whose inputs are unchanged takes its output from a score cache (#1237) - #1317

Merged
DrunkOnJava merged 15 commits into
mainfrom
ci/measure-score-cache
Nov 4, 2026
Merged

DrunkOnJava merged 15 commits into
mainfrom
ci/measure-score-cache

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Measure's scorers and schema checks no longer run again on a model whose inputs have not changed: each step's output is kept in a content-addressed score cache, the validation and the EXPRESS rules check share one parse of the IFC, and the three binaries the Build step makes are cached per commit. Every output is byte-identical to a run with the cache off (runs below).

Motivation

Run 41748430211 (unfiltered, 47 minutes): the Measure step was 43 of them, CPU-bound, 164 task-minutes on four cores. In a typical pull request more than 90% of the models export byte-identical to main, yet every scorer ran on head again and base re-scored main from scratch; the Build step added about 70 seconds to every job. Refs #1237.

Changes

  • tools/ci/measure-cache.py (new): lookup, store and finish. A hit writes the cached output and a <step> cached line to timings.log; a failing helper says "not cached" and the step runs as before.
  • tools/ci/measure-reference-models.sh: cscore (the scorers in the two lists, ports_vs_ifc, revit_property_sets_vs_ifc) and cached (the four schema steps) look a step up before running it. Exports, rvt-info, rvt-gltf, the witness exports, diagnostics, probes and the scorers named only through scorers always run.
  • tools/ci/ifc_validate_summary.py: --both MODEL STATEMENTS RULES.txt runs the validation and the rules check on one ifcopenshell.open; the schema function runs it as one step, schema-validate-rules.
  • .github/workflows/measure.yml: a score_cache input, a key step, actions/cache/restore before the build and finish plus actions/cache/save after the Measure step, per shard and generic in the shard's name; the binary cache (below).
  • tools/maintainer/clean_caches.py: the two new key families; docs/maintaining.md: the operator note.

What an entry hashes

One sha256 over, for each cached step:

  • the step's name, the scorer's path and every command-line argument as given;
  • the content of each file argument: the rvt-rs IFC (without its FILE_NAME and IFCOWNERHISTORY lines, which carry the export time, the lines ifc.sha256 leaves out), Revit's reference IFC, the glTF, the validation findings and the property set definitions;
  • the scorer and every tools/re and tools/ci module it reaches by import, importlib path or name, by source (the closure, read with ast), and every file under tools/re and tools/ci that is not Python (the Measure script, the requirements, the schemas);
  • the value of every environment variable the closure reads, apart from the two that only size the mesh cache: PSETS_MISSING for psets_vs_ifc and, through its import, qtos_vs_ifc;
  • the files a scorer reads that its arguments do not name (EXTRA_INPUTS): diagnostics.json beside the IFC for qtos_vs_ifc, the sibling Revit exports for unfilled_openings_vs_ifc;
  • the Python minor version, the platform and libc, the sha256 of tools/ci/requirements-ifc.txt, the installed version of every package it pins, the versions ifcopenshell and numpy report, RVT_IFC_FLAGS, and the sha256 of measure-cache.py itself (so a change to what is kept or looked up starts a cache; the format and the key prefix are at 2).

A step is not cached, and the log says why, when its closure lists a directory, takes a directory from an argument, opens a file by a literal path, runs a program, draws a number or a date, reads the IFC's export time, or reads an environment variable by a computed name, or when an argument is a directory. It is kept only when it finished with status 0 and neither its output nor any file it also wrote (the validation findings, the rules summary) is over 4 MiB or shows a failure a rerun could mend (unreadable:, a traceback, a MemoryError, a dead worker); an entry that lacks a file the step wrote is a miss. ifc_validate_summary.py --both exits 1 when a check failed, where its separate runs print the failure and exit 0, which is how a MemoryError in the rules check was once stored and replayed. In the cold run below every step of every cacheable model was cacheable: the only "not cached" lines are the held-out models'.

Custody

The held-out models and BIMcollab's carry no licence and only their counts leave the runner (tools/ci/scrub-holdout-results.sh, RE-252). The Actions cache of a public repository can be restored by a workflow that a fork's pull request changes, so none of their output is cached. I excluded those models entirely rather than caching what the scrub keeps: holdout-*, bimcollab-* and spent-* are never looked up or stored (a spent pair is measured and uploaded in full, but BIM Whale's AdvancedProject was spent and went back to held out on 2026-11-03, so a spent model's outputs are not safe either), every entry names its model in meta.json, and the end of every run removes an entry that names such a model, or none. That costs a real share: in run 41748430211 the 18 held-out models took 32.8 of the 119 task-minutes of model steps (28%); they run only with -f holdout=true, and their shard is the critical path of such a run.

The proof, from the saved caches' own report (run 41767777822, holdout=true, before spent-* was excluded): the held-out shard logged 810 lookups (18 models, 45 steps each), every one "not cached", and its cache held only the 45 spent-* entries that are now not cached either (run 41773807203, holdout=true, models core-interior spent-*, shows them "not cached"). Entries by model prefix, per shard: rest core 45, einhoven 3, nordic 90, r2025 1099, re1 180; office as built nordic 45; office at permit nordic 45; samples sample 99 and sample 72; "held out: 0 found and removed" in all six.

Poisoning

A cache entry is reached only by a run whose scorers, files and libraries hash alike, but that is not safe by construction: a build script of the measured ref could rewrite the installed IfcOpenShell, which the key names only by version. So the shared cache (measure-scores-v2-main-<shard>.*) is restored after the Build step, so no build script sees a writable cache, and is saved only where rust-cache is: the workflow dispatched from main and the side measuring main's own code. A pull request run and a run of any other ref only read it (the default path ran in this pull request's own run 41764834456: enabled=true save=false, "Save the score cache" skipped). -f score_cache=<name> is the one exception, and is how this change was proved: it reads and saves measure-scores-v2-x-<name>-<shard>.* from any ref, which GitHub scopes to that branch and which the shared cache never reads.

Binary cache

rvt-bin-v1-<full SHA>-<OS>-<arch>-<toolchain hash>-ci holds rvt-ifc, rvt-gltf and rvt-info. What it holds is a function of its key (that commit's code built by that toolchain), only a run of that commit restores it, so a run of any ref may save it; a pull request's run does not (its caches are its own). A ref that is not a full SHA is built each time and the probe examples always are. One hit: run 41766966558 missed and saved it (11.04 MiB, Build step 43 s), run 41767281433 on the same commit restored it ("rvt-ifc, rvt-gltf and rvt-info restored from the binary cache", Build step 0 s). clean_caches.py keeps the newest sixteen.

Testing

No changelog fragment (the earlier ci(measure) pull requests, #1285 and #1295, carry none); tools/check-local.sh and tools/bench.sh are not applicable, no Rust changed and nothing is built or measured on this Mac. Every run below is pinned to main 46aa05f (-f ref=46aa05f36652a95478da199bc3b2d36daee546d9 -f base=none), unfiltered runs with -f nordic=true -f r2025=true -f samples=true -f holdout=true, and compared with diff -r -x '*.log' -x commit.txt -x 'runner*.txt' (diagnostics.json is compared too: it is byte-identical across these runs, and qtos_vs_ifc reads it) over the merged measure-head artifacts (the held-out models' counts.txt and ifc.sha256 included).

Run What Wall Task-minutes (steps run) Steps cached
41763751267 cache off, 4 shards 19.0 min 123.9 0 of 1,872
41763754352 cold cache, 4 shards 15.6 min 118.8 0
41767777822 cold cache, 6 shards 12.4 min 101.7 0
41769277902 warm cache, 6 shards 11.6 min 34.7 1,579 of 1,872

Output identity: cache off against cold (4 shards) 0 lines of difference; cache off against cold (6 shards) 0; cold against warm 0; cache off against warm 0.

The task-minutes are the sums of timings.log, and the runs are on different runners (the same code ran 123.9, 118.8 and 101.7 task-minutes in the cache-off and the two cold runs, none with a hit), so the cold runs show no cost of the cache that the runner spread does not hide, and only the warm drop is a finding. The held-out models' timings are scrubbed from the artifact, so these leave out their share.

The warm run is not the best case, and I say why. Four of its six shards hit every step (rest 1,417 of 1,417: Measure step 5.7 to 1.4 min; office at permit 45 of 45: 9.2 to 1.0 min; samples 2024 and later 72 of 72: 4.8 to 1.6 min; the held-out shard's 45 spent-* steps of 45) and two missed every step (office as built 0 of 45, samples to 2023 0 of 99, 33 of the 34.7 task-minutes). Those two jobs landed on a newer runner image (20261028.624 against 20261021.618) whose Python was 3.12.16, not 3.12.15, and the key held the full sys.version and, because numpy.version is a submodule, a path with the patch in it. The last commit holds the minor version and the versions the packages report instead; it has not been proved at unfiltered scale (d5e0b7c). The four fully hit shards cost 1.7 of the 34.7 task-minutes.

Wall time of the unfiltered warm run stays 11.6 minutes because the held-out shard (never cached, 10.2 min) is its critical path; without -f holdout=true there is no such shard.

The discriminating checks: a filtered run (runs 41769281348 cold, 41770605090 with -f psets_missing=Pset_WallCommon.Reference, core-interior, einhoven, re1-architecture) hit 89 steps and missed 4: psets_vs_ifc and qtos_vs_ifc on the two models that have a reference, nothing else. The first smoke proof, before sharding: cache off 8.48 task-minutes, cold 9.48 with identical output, warm 0.28 (130 of 130 steps cached) with identical output.

Commit 2 (one parse for validation and rules), same smoke models: schema-validate-rules 3.13 task-minutes against 3.91 for schema-validate plus schema-rules in the cache-off run; on the office at permit it is 4.67 against 4.8 in run 41748430211, about 3%: the parse is a small part of an 82 MB file's checks.

A changed input misses and an unchanged one hits (head with the review fixes; filtered runs, models core-interior, einhoven and re1-architecture, one cache name): run 41773809976 filled the cache at main 706f22d (93 steps run and kept); run 41774389501 then measured cebe163 (#1308, which moves the IFC of models with doors and windows) with that cache and diffs to 0 lines against run 41773812555, cache off at cebe163. ifc.sha256 moved for core-interior and re1-architecture and not for einhoven. The cache missed on exactly those two, 40 steps each (every step keyed on the IFC), and hit on einhoven's 3 of 3 steps; on the two moved models it also hit the 5 glTF scorers each (wall_bodies_vs_ifc, wall_ends_cv_vs_ifc, wall_layers_vs_ifc, slab_layers_vs_ifc, glb_material_colours_vs_ifc), whose inputs, the glTF and Revit's export, #1308 does not change. That is 13 hits and 80 misses.

A spent pair is not cached (run 41773807203, holdout=true, models core-interior spent-*, on the head with the review fixes): core-interior's 45 steps were kept (45 misses, 45 entries, all core), and the spent pair's 45 steps were each logged "not cached: held out now or once" with no hit, miss or kept line; the cache report says "held out (holdout-, bimcollab-, spent-*): 0 found and removed".

Cache size: the six shards' saved caches are 343, 46, 45, 32, 25 and 19 KiB compressed (0.5 MiB, 1,723 entries).

Mesh cache (not extended)

Every scorer that meshes, read for what it passes to IfcOpenShell and keeps (mesh_parts keeps the vertices and faces of create_shape(settings, element) under the default settings with use-world-coords, keyed by element):

Scorers Meshing Shares with the meshes task?
stair_bodies_vs_ifc, roof_bodies_vs_ifc, column_bodies_vs_ifc the same call and settings rvt-rs's file: mesh_bodies_vs_ifc meshes only saved_graphics_mesh bodies, and stair flights, roofs and sectioned columns are other body sources, so nothing to share; Revit's file only where rvt-rs holds that source
wall_heights_vs_ifc, wall_ends_list, wall_bodies_vs_ifc create_shape(settings, wall, Body), an explicit representation the cache key lacks no
wall_layers_vs_ifc, wall_ends_cv_vs_ifc, layer_sets_vs_ifc, slab_layers_vs_ifc read the shape's materials and material ids, which the cache does not keep no
door_bodies_vs_ifc, box_bodies_vs_ifc ifcopenshell.geom.iterator no
openings_vs_ifc, opening_boxes_vs_ifc, unfilled_openings_vs_ifc, plan_profiles_vs_ifc, oriented_boxes_vs_ifc, space_overlaps_vs_ifc, frames_vs_ifc, duct_bodies_vs_ifc the same call, on element sets no other scorer meshes (the three opening scorers overlap each other, about 30 s of the office's 1,800 task-seconds) no

No scorer meshes both what the cache's key can name and what the meshes task has meshed, so extending the cache would lengthen the office's critical path (saved_meshes_vs_ifc then mesh_bodies_vs_ifc) for nothing shared; no commit made. What a conversion could save is parsing: stair_bodies_vs_ifc opens each file once per class (six parses) and column_bodies_vs_ifc opens ours twice.

After merge

The first dispatch from main is cold: it runs everything, as today, and saves each shard's cache. Later dispatches from main and every pull request's base side hit on every model whose export has not moved since the last save; a pull request's head side hits on the models its change leaves alone once a save covers that export. The measured SHA in the save key names the code that produced a cache, and a hit never depends on it. The real check is the first pull request after merge that moves an export: its changed models miss and the rest hit.

Breaking changes

None.

Related issues

Refs #1237.

… its output from a score cache, output unchanged (#1237)

Measure re-ran every scorer and schema check on every model for head and for base, though most pull requests move the export of a few models. tools/ci/measure-cache.py keys each step on its name and arguments, the content of its file arguments (the rvt-rs IFC without the FILE_NAME and IFCOWNERHISTORY lines that carry the export time), the scorer and every tools/re and tools/ci module it reaches, the environment variables they read, the files they read beside their arguments, the Python, platform and pinned package versions and RVT_IFC_FLAGS, and keeps the output of a step that finished with status 0. A step whose closure does something the key cannot see is not cached, and the held-out models and BIMcollab's are never looked up or stored. Every run restores the newest cache; only the workflow dispatched from main on main's own code saves it, and score_cache=<name> gives a run of any ref a cache of its own.
…s before (#1237)

An exception in the helper exited 1, which the Measure script reads as a miss and would then store under a stale key. A failed lookup now says not cached (2), a failed store keeps nothing, and a lookup forgets its key file first.
…ne parse of the IFC, output unchanged (#1237)

ifc_validate_summary.py --both MODEL STATEMENTS RULES.txt runs the default validation and the rules check on one ifcopenshell.open and writes each exactly as its own run does, an unreadable file or a failing check being the finding of both or of that one as before. The schema function runs it as one step, schema-validate-rules, cached with the validation findings and the rules summary.
…y that names a held-out one, and the key adds the library versions IfcOpenShell and numpy report (#1237)

The Actions cache of a public repository can be restored by a workflow that a fork's pull request changes, so nothing tools/ci/scrub-holdout-results.sh removes may be in it. holdout-* and bimcollab-* were never looked up or stored; now store refuses them as well, every entry carries its model in meta.json, and finish removes an entry that names a held-out model or none and prints the entries by model prefix. The key also hashes requirements-ifc.txt and the versions ifcopenshell and numpy report, worked out once a run.
Resolves measure.yml against the sharded layout (#1311): the score cache is keyed per shard and by the measured SHA, a run given models restores the other shards' caches too, and each shard writes its own score-cache-<shard>.log.
… is, and a run given models restores only its own (#1237)

The shard names are the plan job's to choose, so no step lists them. A shard's prefix ends in a dot that no shard name holds, so one shard's prefix is never another's, and the extra restores of the four fixed shards for a run given models are gone: that run keeps a cache of its own, built by earlier runs of its kind.
…HA, the toolchain and the profile (#1237)

The shards of a run, and every run that measures main's commit as its base, built the same three binaries (about 70 seconds of each job). rvt-bin-v1-<SHA>-<OS>-<arch>-<toolchain>-ci holds rvt-ifc, rvt-gltf and rvt-info; a hit skips their cargo build, a ref that is not a full SHA is built each time, the probe examples always are, a run of a pull request saves nothing, and clean_caches.py keeps the newest sixteen.
…its patch, and the versions IfcOpenShell and numpy report (#1237)

In warm run 41769277902 two of six shards missed every step: their jobs landed on a newer runner image (20261028.624 against 20261021.618) whose Python was 3.12.16, not 3.12.15, and the key held sys.version and, through numpy.version being the submodule, a path with the patch in it. The libraries that decide a scorer's output are pinned by hash in requirements-ifc.txt and hashed in the key by their installed versions, so the patch only costs hits.
…r that was ever held out, and restores after the build (#1237)

A check that raised (a MemoryError in the rules) wrote 'unreadable:' into schema-rules.part and exited 0, so the entry was stored and replayed until the export changed. ifc_validate_summary.py --both now exits 1 when any check failed, store scans every file the step wrote for the markers and the size cap, an entry that lacks a file is a miss, and the format and the key prefix go to 2 (the helper's own hash joins the key as well). spent-* joins holdout-* and bimcollab-* as never cached: BIM Whale's AdvancedProject went spent and back to held out on 2026-11-03. The key also holds every non-Python file of tools/re and tools/ci, a directory argument is not cached, validation.jsonl is kept for models only, and the score cache is restored after the Build step so a build script never sees it.
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 4, 2026 04:41
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 4, 2026 04:41
@DrunkOnJava
DrunkOnJava merged commit 458540e into main Nov 4, 2026
35 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/measure-score-cache branch November 4, 2026 04:55
DrunkOnJava added a commit that referenced this pull request Nov 4, 2026
…r own, so marking a draft ready no longer cancels its fast run (#1237) (#1323)

## Summary

Marking a draft ready started its full run, and `ci-pr.yml`'s single
concurrency group cancelled the draft's fast run still in flight. That
left eight CANCELLED `fast / ...` checks and a failed `fast / CI passed`
on the head, beside the full run's green: #1317 at 8b4bbfe, run
41774698189. Neither is the required check, so GitHub blocks nothing.
But the pr-queue mod reads any CANCELLED or FAILED check as a failing PR
and passes it over (`queue.ts` 41-46, 68, 75-76).

Fast and full pull-request runs now have concurrency groups of their
own, `ci-pr-<ref>-fast` and `ci-pr-<ref>-full`, each still cancelling an
older run of its own kind:
- **Marking a draft ready** starts the full run at once and leaves the
fast run to finish.
- **A new push while a draft** cancels the older fast run. A new push
while ready cancels the older full run. In both cases the cancelled run
was on the previous head.

`ci.yml` is unchanged. The first version of this PR changed its `CI
passed` condition instead. A second read showed that left the eight
cancelled checks in place, so that change is dropped.

## Testing

- actionlint: nothing new.
- A second read walked the cases: two quick draft pushes, ready while a
fast run is in flight, two quick ready pushes, converted to draft and
back on the same SHA, and a push while an older SHA's fast run is in
flight. It also checked `ci.yml`'s own concurrency inside the called
workflow. Results: in the PR's review.

## Legal and contribution hygiene

- [x] Apache-2.0.

## Related issues

Refs #1237, #1319, #1317.
DrunkOnJava added a commit that referenced this pull request Nov 4, 2026
…e and head on one runner (#1343)

## Summary

Measure's `timing` job is sharded by file. The build runs once, then
four shards of about equal time each time base and head on a runner of
their own, and a merge job puts their tables into the one table the
single job wrote. A change in the shards' numbers is the proof run's.

## Motivation

With `-f timing=true` the single "Timing (one runner)" job built both
refs and exported every model, office file and sample three times each
with both builds, in turn, on one runner. On run 41793618569 the other
shards finished in 12.4 minutes and that job took 37 (07:37:59 to
08:14:57), so it was the long pole of every perf PR's Measure run. From
run 41255129905's medians the files take about 44 minutes (base plus
head, three rounds), the offices 12 of them and the 2024 samples 11.

The rule that keeps a ratio honest stays: base and head of a file are
timed in turn on the same runner (runner CPUs differ by up to about a
quarter), so each shard times both for its own files.

## Changes

- `.github/workflows/measure.yml`
- `plan` outputs `timing`: the files as units with seconds that are
their files' medians, base plus head, times three rounds, summed from
the proof run 41797994751's table (the reference models 71, the four
office files 329 when `nordic`, the samples as year ranges: to 2023 461,
2024 559, 2025 286, 2026 216, 2027 on 207, each cut to `sample_years`),
packed into at most four shards largest first. With the inputs of a full
run the shards weigh 559, 532, 536 and 502 s of 2,129. The proof run's
four shards ran on four CPUs and no runner's rows skew clearly (its
units took 0.98 to 1.21 of their time on run 41793618569's one runner),
so the weights are not normalised.
- `timing-build` builds `rvt-ifc` at both refs once (the cache,
checkouts and build of the old job, unchanged) and uploads the two
binaries as `timing-bin`.
- `timing` is a matrix of the shards: it downloads the binaries
(artifacts do not keep the executable bit, so it sets it), fetches only
its files, runs `tools/ci/measure-timing.sh` on them and uploads
`measure-timing-shard-N` (its table and its runner's CPU).
- `timing-merge` puts the shards' rows into one table in the old format
and order (the models, then the samples by name), writes the step
summary with each shard's CPU, and uploads `measure-timing` with
`timing.md` as before, plus `timing-runners.txt`. A shard that left no
table fails this job after the others are merged.
  - The `timing` input's description says what it now does.
- `CONTRIBUTING.md`: the Measure paragraph says the files are timed in
shards and to compare ratios, not times, between rows.
- No change to `tools/ci/measure-timing.sh`, which times what it is
given.

## Testing

Unit tests are banned in this repository: none added.

- [x] `yaml` parses (`YAML.safe_load`), `actionlint` reports the one
finding `main` has (`uses: $/.github/actions/fetch-corpus`, line 630
here, 588 there) and none new; file modes unchanged (100644).
- [x] The planner, extracted from the workflow and run with seven input
combinations (full, no offices, models only, `sample_years` 2015 2023 /
2026 2027 / 2025, timing off): every sample year and file is in exactly
one shard, a range is cut to `sample_years`, and timing off gives the
placeholder row.
- [x] Proof, Measure run 41797994751 (`-f base=main -f samples=true -f
nordic=true -f timing=true -f models="-" -f scorers=none`, dispatched
from this branch, whose code differs from `main`'s by this workflow
alone). Every job succeeded.
- Shape: `timing.md` has the old header, 68 rows (the 10 models and
offices and the 58 samples, the same 68 files as the old single job's
table in run 41793618569) and the same order; the artifact is still
`measure-timing`.
- Ratios: head / base 0.96 to 1.02, mean 1.002, the totals 354.6 s and
355.2 s (1.002); 67 of 68 files within 0.97 to 1.03, the exception
`Terrain_Concrete_BuildingPermit`, 0.96 (a small export). Peak memory
0.98 to 1.04 (`2015-rme_basic` 1.04: the same code on both sides).
- Time: from the first job's start to the merge job's end 14 min 39 s,
against the old single job's 36 min 58 s in run 41793618569 (0.40).
Timing build 175 s; shards 356 s (offices), 572 s (samples 2024), 589 s
(samples 2025 and 2026 and the reference models), 690 s (samples to 2023
and 2027 on); merge 6 s.

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR:
`CONTRIBUTING.md` is updated.
- [x] Not a user-visible change: no changelog fragment (as #1317,
#1319).
- [x] No emojis, no private paths.

## Legal and contribution hygiene

- [x] I agree this work is licensable under Apache-2.0 (see
`CONTRIBUTING.md`).
- [x] No Autodesk proprietary source, decompiled internals, or NDA'd SDK
content.
- [x] No fixtures.

## Breaking changes

None to the code. The `measure-timing` artifact keeps its name and
`timing.md` keeps its table; the job named "Timing (one runner)" is now
"Timing", with "Timing N (what)" shards and "Timing build" beside it.

## Screenshots or output samples

The step summary names each shard's runner, and `timing-runners.txt` in
the artifact has them:

```
- shard 1 (offices): Intel(R) Xeon(R) 6975P-C
- shard 2 (samples 2024): Intel(R) Xeon(R) 6973P-C
- shard 3 (samples to 2023, samples 2027 on): AMD EPYC 7763 64-Core Processor
- shard 4 (samples 2025, samples 2026, reference models): INTEL(R) XEON(R) PLATINUM 8573C
```

The four CPUs differ, which is what a ratio taken on one runner for each
file is for: the same code reads 0.96 to 1.02 on all of them.

First rows of the merged table:

```
| file | base (ms) | head (ms) | head / base | base peak (MiB) | head peak (MiB) | peak head / base |
|---|---:|---:|---:|---:|---:|---:|
| 2024_Core_Interior | 5891 | 5933 | 1.01 | 309 | 308 | 1.00 |
| ARK_NordicLCA_Office_Concrete_As-Built | 26916 | 26859 | 1.00 | 919 | 919 | 1.00 |
```

The proof run's first weights (from run 41255129905) were off: the
planner weighed the four office files at 720 s and they took 356, and
the shard of samples to 2023 and 2027 on ran on the slower AMD runner,
690 s. The weights are now the proof run's own per-file times, which
pack to 559, 532, 536 and 502 s (the planner run locally for the full,
no-offices and `sample_years` cases: every unit lands in exactly one
shard, one shard has the reference models and one the offices). No
second proof run: only the weights changed, not the shapes; this PR's
own Measure run checks that the workflow parses.

## Related issues

None. Found while running #1333's unfiltered Measure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant