fix(kitchen): stop name collisions in the mise en place split (audit B2) #58
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram!58
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/audit-b2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Audit B2. A step token gives no hint whether
{ id: "moule" }is an ingredient or a piece of cookware, so three collisions happened:#moulein one section made it the owner of the@mouleingredient used in anothera|bgroup was read as an ingredient calledalternativeFix: classify by
_usageId(unique per usage, shared by the step token and the section's ingredients/cookware lists) instead of guessing from the registry, and ignore the group's own id. No golden changes (conformance 98/98); the three new tests fail on the previous code. The audit fuzzer (5000 recipes) only reports I9c, i.e. the known pre-existing C1.