Repository navigation
ci(measure): a scorer that reads a probe's output is refused when named without its probe - #1537
Merged
Merged
Conversation
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
MEASURE_SCORERSruns anytools/rescript it names, outside the scorer lists, as an IFC scorer,<model.ifc> <revit.ifc>. A scorer that takes a probe's output then gets the IFC instead, finds no probe rows and reports zeros with the step and run green: Measure run 42522552972 on #1505 did exactly that, on every model, and only reading the numbers showed it. The script now stops with an error naming the right flags when a scorer named this way documents a<probe output>argument.Testing
bash -nparses the script. The refusal is matched on a usage line of<probe...>in any spelling (\.py +<probe[- ._a-z0-9]*>), which catches 67 of the scorers intools/reand none ofIFC_SCORERSorGLB_SCORERS. Measure run 42532321384, namingport_directions_vs_ifcinscorers, stopped at the start with exit 2 and the error "port_directions_vs_ifc reads a probe's output: dispatch it with -f probe= -f probe_scorer=port_directions_vs_ifc, not in scorers".