Skip to content

ci: Measure's summary opens with its verdict: which exports and diagnostics moved, the scorer residue, the probe's lines and the timing ratios - #1830

Merged
DrunkOnJava merged 2 commits into
mainfrom
ci/measure-verdict
Nov 12, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
ci/measure-verdict

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Measure's run summary now opens with its verdict, so its reader no longer downloads both sides' results to learn which exports moved:

  • how many models' ifc.sha256 and diagnostics.json equal the base's, naming the ones that differ (the scorer diff leaves both files out);
  • whether the scorer diff holds anything beyond what the head side alone writes (each model's probe.txt, its probe: exit N line, and areas_across_saves*), with the first such lines;
  • with a probe, its lines counted across the models, and any model whose probe did not exit 0.

A timed run opens its timing table with a timing verdict:

  • the median, lowest and highest head / base time and peak, for the models, the samples of Revit 2023 to 2027 and those of 2015 to 2022;
  • the three longest-running files and the three with the highest peak;
  • every file more than 3% slower, or more than 2% higher in peak.

Both are also in the job log and in small artifacts (measure-verdict, and timing-verdict.md in measure-timing), for a reader without the summary page.

Motivation

Every Measure run is read for the same figures, and they were computed by hand each time: five times on 11-12 alone (#1813, #1818, #1821, #1823 and the 0.14.1 hotfix). Neither script judges a pull request's registered rows. They print what the rows are written in.

Changes

  • tools/re/measure_verdict.py: the export verdict over the merged measure-head and measure-base directories and scorer-diff.txt.
  • tools/re/timing_verdict.py: the timing verdict over the merged timing.md. It computes each ratio from the medians, not from the table's rounded ratio column.
  • .github/workflows/measure.yml:
    • the compare job checks the first script out with its other tools, makes the scorer diff before the summary, prints the verdict at its top, and uploads measure-verdict;
    • the timing job checks the second script out first and prints its verdict above the table.

Testing

Unit tests are banned here. Both scripts were run on the results of real runs and compared with what had been read by hand:

The rehearsal is run 43304266907, dispatched from this branch on two models, timed, with a probe. Its summary, job logs and both artifacts are read before this is marked ready. tools/ci/check-workflows.py: 0 errors, 0 warnings.

Breaking changes

None.

…agnostics equal the base's, what the scorer diff holds beyond the head's own output, the probe's lines counted, and the timing ratios rows are judged on
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

The rehearsal is in, and it worked end to end. Run 43304266907 was dispatched from this branch: #1821's head 6ec32fbb against main, on Einhoven and Core Interior, timed, with probe_1816_units_from_definitions and scorers=none.

  • Run summary: it opens with ### Verdict: 2 of 2 exports and 2 of 2 diagnostics identical, no scorer residue, and the probe's four distinct lines counted. The timing table opens with ### Timing verdict.
  • Artifacts: measure-verdict holds verdict.md, and measure-timing holds timing-verdict.md. Both were downloaded and read.
  • Jobs: every job green.

The figures themselves already earn their place:

Marked ready.

@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 12, 2026 20:58
…did not as missing, and counts binary and dashed content lines of the scorer diff (#1830 review)
@DrunkOnJava
DrunkOnJava merged commit ef06a19 into main Nov 12, 2026
49 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/measure-verdict branch November 12, 2026 21:25
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