Skip to content

Fix off-by-one shot resolution; /fix sends the chart photo#29

Merged
AlexNly merged 1 commit into
mainfrom
fix/shot-resolution
Jul 9, 2026
Merged

Fix off-by-one shot resolution; /fix sends the chart photo#29
AlexNly merged 1 commit into
mainfrom
fix/shot-resolution

Conversation

@AlexNly

@AlexNly AlexNly commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Field bug (morning of 2026-07-09): a shot index entry is only flagged completed after extended recording (up to ~1min of scale settling), while older completed-but-unclaimed entries (e.g. an aborted 8s shot) already sit in the index — so newest-completed resolution returned the PREVIOUS shot, and every questionnaire ran one shot behind. Resolution now requires the candidate to match the observed shot duration (±10s), keeps waiting for the real entry, and only falls back to newest-completed (loudly) when the budget expires. Resolved ids are logged at INFO. Also: /fix now renders and sends the shot chart like a live questionnaire.

@AlexNly AlexNly merged commit 08bb2f9 into main Jul 9, 2026
3 checks passed
@AlexNly AlexNly deleted the fix/shot-resolution branch July 9, 2026 06:01
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.

1 participant