Report candidate paths for ambiguous camera state labels #120
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!120
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/120/head"
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?
@descent81 on GitHub · 2026-11-21 16:34 UTC · original
descent81:contribution/report-ambiguous-camera-states→main· +83 −33 · 2 files · 1 commits · merged 2026-11-21 17:55 UTCRelated to #19 and #102.
Two state nodes can share a label while pointing to different camera settings. In a synthetic archive with priorities 9 and 17, the probe reported 9. Reversing only the node order made it report 17. Both results passed the literal hash checks, so the output gave no indication that the lookup was ambiguous.
This change preserves the existing result for a unique match. When multiple states match, it leaves the top-level example empty and reports each candidate’s record index, node path, and first verified camera example. It also rejects duplicate label-ID attributes on a single state, consistent with the path replay tool.
Ran
python -B tests/script_state_check.py -v: all six tests passed, including both node orders and a label shared across two records. The fixtures are generated from synthetic data. This diagnoses ambiguity in the static lookup; runtime event selection and precedence remain open.@R0Y00 on GitHub · 2026-11-21 17:16 UTC · original
Please rebase the candidate-path changes after #123, which handles duplicate id attributes. Keep both regressions: duplicate attributes on one node, and distinct nodes sharing a label with reversed ordering.