Repository navigation
ci(measure): a scorer the run names that exits non-zero on the head side fails the run, and a tool of several exports is not run per model (#1541) - #2156
Merged
Conversation
…, not only an annotation on a green one (#1541)
…t it is never reused (#1541)
… usage error on every model, and another cross-export tool named in scorers is refused (#1541)
…ore, not only by its name (#1541)
…n the failure list, so main's failure on the base side fails no run (#1541)
…il the run; the base side's are main's own (#1541)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A scorer a Measure run names, or a probe's scorer, that exits non-zero on the head side now fails the run. Before, it only raised an error annotation on a green run (#1541), so a green run could hold a crashed result that a page then cited or a change landed on. Run 45072403351 was one: its one probe scorer exited 2 on both offices, and the run finished green.
scoreintools/ci/measure-reference-models.sh. Each one is also listed inscorer-failures-<shard>.txtat the top of the shard's results: model, scorer and exit status.sys.exit(__doc__), which also exits 1. That matches the same-project gate, whose head-side failure already turns the run red (tools/ci/check-bodies-across-saves.shin the same-project gates job).rac_advanced, BIMcollab), or a pair once held out (spent), is listed as "a model kept to counts". So the list, which the keep workflow keeps with a run's outputs, names none of them, as its scan requires.exit Nline (step "Whether these results are whole"), so a run that writes a failure list never saves one for reuse.areas_across_savesnamed inscorersis taken as asking for its gate, which already runs whenever the samples are in the run, asbodies_across_savesis. Any other named scorer whose name ends_across_savesor_vs_base, or whose usage line takes three files or more, is refused at the start with what to dispatch instead, as feat(ifc): a door set in no wall is placed at its stored origin, and the doors with no opening are measured against Revit's (#1494) (RE-361) #1505 refuses a probe's scorer.The refusal names
pair_scorer, the Measure input #2151 added.Motivation
A run dispatched for a scorer's answer should be green only if that answer exists: a check that passes on a broken result is a defect of the check.
What the annotation fired on: the census read the annotations of 839 of the 1,531 dispatched Measure runs since 2026-11-08: every one from run 43152271314 (2026-11-12) to the census's start on 2026-11-22. It stopped there to leave the API's hourly budget to other work. 23 of the 839 carry the annotation.
--listand printed their usage: 45072403351; 43490409752, whosehistory_base_vs_ifcdid so on Core Interior; and 43683744673 and 44487715399, two of the eight runs whose probe scorer exited 2;No module named 'scipy');areas_across_savesnamed inscorers, which printed its usage per model (read in 44953635018; 44684313099 and 44950815664 carry the same annotation). It is now a named step.bodies_across_savesin 43330924424. On the base side main failed it on six samples, which the head passed, so that run stays green: only the head side's list fails a run.74f5cd01): the 31 models of 45002253953 it failed now pass, and empty or cut-off output still fails.changed_bodies_vs_ifctakes three files, so named per model it prints its usage. It is now refused.predefined_types_vs_ifchas no exit of its own, so its exit 1 was an uncaught exception.ceiling_pieces_vs_ifc, a research branch's scorer.Changes
tools/ci/measure-reference-models.sh:scoreappends each failure toscorer-failures-${SHARD}.txt;areas_across_savesis a step run by name;.github/workflows/measure.yml: the compare job's last step, "A scorer the run names did not fail", reads the head side's lists and fails on any line.Testing
Unit tests are banned in this repository: do not add them.
e8905590, as 45087970349). It used-f ref=82216d2c, whosewall_saved_low_vs_ifc.pydid not yet take--listand exits 2, on the as-built office.measure-headandmeasure-verdictwere still uploaded, and at this headmeasure-headholdsscorer-failures-office-as-built.txtwith that line.-f ref=ef98f444): green.areas_across_savesnamed withclass_sets_vs_ifcon RE1 Architecture (45077588273): green.class_sets_vs_ifcexited 0, and noareas_across_saves.txtor failure list was written. Run 44953635018 had exited 2 there.d12e8cc6; the start's checks have not changed since):predefined_types_vs_ifcandspaces_by_globalid_vs_ifc, outside the default set, the second with a usage line of no<...>, named on RE1 Architecture. Both ran per model and exited 0, the run is green, and it wrote no failure list. The script runs underset -uo pipefailwithout-e, so a usage line with nothing to count leaves the count at 0.readers_across_savesnamed (45077236233): refused at the start.changed_bodies_vs_ifcnamed (45082810572): refused at the start with "changed_bodies_vs_ifc is not run on one model's export and Revit's: its usage takes three files or more: run it on the kept exports". An earlier run, 45082544925, showed the first message telling it to usepair_scorer, which takes two files, so each kind now gets its own message.measure-head's lists alone, and no run at this head has a failure on the base side.tools/re: 14 match it.areas_across_savesandbodies_across_savesare listed steps and run as before, and the other 12 are refused: each takes several exports, a probe and two files, a samples folder or a VIM file. None of the 43 default per-model scorers matches.tools/ci/check-workflows.pypass.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
A run whose named scorer or probe scorer exits non-zero on the head side, for a crash or a finding, now fails, and a run that names a scorer of several exports is refused at the start. Before, both were green.
Review: rvtReview, the maintainer session, wrote this change. As rvtDevelop is not running, it re-reads the diff and approves the change itself on a green head (Griffin, 2026-11-12).