Repository navigation
The analyzer corpus drives namespace.inventory with one fill value - #173
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
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.
Related: #160
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
None: a test-corpus fix.
Why
tests/analyzer/test_corpus.py::test_every_axis_moves_a_shapefails onmain:handlers.namespace_inventoryhas afilledaxis that renders the same statements for both values. The inventory handler's optional input fields (read_scope,user_id,session_id,population_limit) reach no statement text: the read scope is bound from the request at admission, and the population limit is a bound parameter. So the filled input renders exactly the empty one's shapes, as for the other modules in_FILL_INERT.Scope and risk
namespace_inventoryjoins_FILL_INERTintests/analyzer/cases/planes.py, with the reason beside it.shapes.txtis unchanged (the shapes were already the same for both values).Compatibility, rollout and rollback
Tests
tests/analyzeragainst a private ClickHouse: 12 passed (it failedtest_every_axis_moves_a_shapebefore).AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Claude Code. Checked against the failing CI log and a local analyzer run.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; the integration suite passes if server behaviour changed. (Test-only change; the analyzer suite passes.)shapes.txtregenerated, unchanged.)main; no merged migration is edited. (No migration.)npm --prefix frontend run build) and its tests pass, iffrontend/changed. (No frontend change.)docs/describe the system as it now is, and this description names any operator steps and wire changes. (No docs change.)git commit -s), as CONTRIBUTING.md asks.🤖 Generated with Claude Code