Skip to content

Fix vote later permanently hiding skipped images in voting rounds#378

Open
Oyelakin-Mercy wants to merge 1 commit intohatnote:masterfrom
Oyelakin-Mercy:fix/vote-later-bug
Open

Fix vote later permanently hiding skipped images in voting rounds#378
Oyelakin-Mercy wants to merge 1 commit intohatnote:masterfrom
Oyelakin-Mercy:fix/vote-later-bug

Conversation

@Oyelakin-Mercy
Copy link
Copy Markdown

Fixes #371 and #372

This PR fixes the "Vote Later" bug that hid images permanently from being attended to later in the yes/no and rating rounds. It showed "all done" on the Juror's end when it was not actually complete, and less than 100% on the organizer's end, which led to not being able to finalize the round.

This has now been fixed with the following changes:

  • montage/rdb.py: Updated skip_voting to store skipped vote IDs as a list instead of a single value, so multiple images can be skipped without replacing each other.
  • montage/rdb.py: Updated get_tasks_from_round to display the non-skipped tasks first, and only return skipped tasks when all other tasks are complete, so the skipped images are always re-queued for the juror to vote on later.

Before:
Screenshot 2026-02-22 131207
Screenshot 2026-02-22 131142

After:
Screenshot 2026-02-22 132705

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.

"Vote Later" doesn't let you vote later

1 participant