Skip to content

feat(judging): live results (remove RESULTS LOCKED)#189

Merged
sacha-l merged 5 commits into
developfrom
feat/judging-live-results
Jun 17, 2026
Merged

feat(judging): live results (remove RESULTS LOCKED)#189
sacha-l merged 5 commits into
developfrom
feat/judging-live-results

Conversation

@sacha-l

@sacha-l sacha-l commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Removes the RESULTS LOCKED screen so the admin can see all submissions + their scores anytime, and the admin's own scores show up.

Changes

  • Results are never hidden: the RESULTS tab always shows the standings table. A ·LIVE banner shows coverage (X/Y scored) until every submission has a score.
  • Counts every saved score (not just finalized ballots) → live averages as judges score, and an admin's own scores appear immediately (previously wallet-admin 'preview' scores were ignored).
  • PUBLISH stays gated on full coverage (complete) — can't publish with unscored submissions; the button is disabled with a tooltip until then.
  • Admins add scores via the SCORE tab (claim batch → score) as before; they now count + show in results.

Safety

Read-path only (no scoring write-path changes). ApiLeaderboard collapsed to one always-rows shape with a complete flag. 438 server tests pass (leaderboard + sim journey updated); client build + lint clean.

Note (product)

Published final results now include every saved score, not only submitted ballots. At publish time judging is done, so this is usually equivalent/better, but flagging the semantic change.

… scores

The RESULTS tab no longer hides the standings behind a lock. The leaderboard
now counts every saved score (not only finalized ballots), so it's live as
judges score and an admin's own scores show up immediately. 'complete' (every
submission scored) is informational and gates only PUBLISH; a LIVE banner shows
coverage. Admins add scores via the SCORE tab as before; they now appear here.

438 server tests pass (leaderboard + sim journey updated for live behavior);
client build + lint clean.
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stadium Ready Ready Preview, Comment Jun 17, 2026 5:40pm

…g their ballot

The ballot-submit lock blocked claiming new batches (409), so a judge who
submitted one batch couldn't go through the rest. Since saved scores now count,
remove that lock: claiming stays open after submit, and the batch overview is
shown even when 'submitted'. Scores from later batches count on save.
…judges

My earlier 'count all saved scores' change started counting wallet/admin
sessions as a separate judge, so someone who is both an admin wallet and an
email judge (e.g. sacha@) was double-counted in the leaderboard and breakdown.
Count only email-judge scores (judgeEmail contains '@'); wallet sessions remain
admin previews that never count. Applies to the leaderboard + the live overview.
The RESULTS leaderboard rows showed only title + scores. Add inline VIDEO
(opens the review modal) and GIT links per row so they're accessible without
expanding. Links stop row-click propagation so they don't toggle the breakdown.
…e-save)

Expand a results row to get your own score inputs (pre-filled from your saved
score) and a SAVE/RE-SAVE button, so a judge can score or revise a project
straight from the final results without going back to the batch flow. Adds
myScore per leaderboard row (the viewing judge's own score).
@sacha-l sacha-l marked this pull request as ready for review June 17, 2026 17:41
@sacha-l sacha-l merged commit b69eea5 into develop Jun 17, 2026
2 checks passed
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