Repository navigation
ci(measure): a scorer named in a run that exits non-zero raises an error naming the model and scorer (#1541) - #1552
Merged
Conversation
…ror naming the model and scorer (#1541)
DrunkOnJava
force-pushed
the
ci/named-scorer-exit-annotated
branch
from
November 9, 2026 00:11
243086b to
c8fd3f7
Compare
DrunkOnJava
marked this pull request as ready for review
November 9, 2026 01:16
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
Closes #1541. A scorer named through Measure's
scorersinput, or given as a probe'sprobe_scorer, that exits non-zero now raises an error annotation naming the model and the scorer. The run's outcome doesn't change, and the scorer's output and exit line stay where they were. Without this, a run could succeed with its one requested scorer having crashed, as run 42534400672 did, with only the output file showingexit 139.The default scorer set is left as it is, as the issue asks: there the annotation is not raised, since a scorer may exit 1 for a finding.
Testing
Proved by a real Measure run from a temporary branch whose extra scorer exits 3 (
129d1251, kept atrefs/archive/2026-11-08/1541-proof; that scorer isn't in this PR). Run 42538341752, withmodels=core-interiorandscorers=zz_exit_three, shows the annotation:Its output file ends
exit 3, and the run itself reports success. Run 42538807807 proves the same for a probe's scorer (1d7c12a3, kept atrefs/archive/2026-11-08/1541-proof2), withprobe=probe_re70_wall_join_listsandprobe_scorer=zz_exit_three:A first run on Einhoven (42537912068) ran no scorer, because Einhoven has no Revit export to score against.