Skip to content

ci(measure): a held-out model's counts say which source drew its bodies, and keep the wall-body rows - #1536

Merged
DrunkOnJava merged 4 commits into
mainfrom
ci/held-out-body-source-counts
Nov 8, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
ci/held-out-body-source-counts

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #1534. A held-out model's counts.txt now carries two more sets of counts: body sources: <source> <n>, read from exported.body_sources, and the wall bodies: summary rows of wall_bodies_vs_ifc. The second is what kept the rows out of run 42525743981: only a temporary measuring branch had that scrub rule, which is why they appeared for Exemplo_data and modelo_bim in run 42525247402 and not for the other five.

Both carry counts and distances only: a source name is kept only if it matches [a-z0-9_]+, and the wall rows match a fixed pattern.

Testing

bash -n parses the script. Measure run 42532072920 from this branch on main's code, on the five held-out models with wall_bodies_vs_ifc: each counts.txt holds its wall bodies: rows and 3 to 5 body sources: lines (17 in all). They attribute what #1517 left open: line bodies on four of the five, 268 walls, and RE-364 now says so.

@DrunkOnJava
DrunkOnJava force-pushed the ci/held-out-body-source-counts branch from 060e9b0 to 43d1f69 Compare November 8, 2026 23:19
@DrunkOnJava
DrunkOnJava merged commit 58f6657 into main Nov 8, 2026
36 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/held-out-body-source-counts branch November 8, 2026 23:43
DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
…ts box, as one on the axis does (#1190) (RE-364) (#1539)

## Summary

RE-364 keeps a 2015 to 2023 wall along a model axis on its record box.
The test was `<= 1e-9` on the wall's unit direction, so a wall a
rounding error off the axis counted as angled and took a line body.
Warmond shows it: 6 walls take a line body while no wall there scores as
angled. The tolerance becomes `1e-6`, the one `wall_bodies_vs_ifc.py`
uses for "angled".

## Testing

Measure run 42532740851 on `840084a7` against `main` at `1e2d3de4`,
every model: of 118 exports only Warmond's moves, the one the change is
for, and the scorer diff is empty. Warmond's body-source count isn't in
that run, since main's scrub doesn't keep it until #1536 lands.
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.

Measure keeps no count of a held-out export's body sources, so a moved export can't be attributed

1 participant