Skip to content

Vary end-of-quiz headlines by score band - #50

Merged
jsolly merged 2 commits into
mainfrom
cursor/quiz-summary-phrases-d529
Jul 19, 2026
Merged

Vary end-of-quiz headlines by score band#50
jsolly merged 2 commits into
mainfrom
cursor/quiz-summary-phrases-d529

Conversation

@jsolly

@jsolly jsolly commented Jul 18, 2026

Copy link
Copy Markdown
Owner

End-of-quiz summaries used four fixed lines, so high scores almost always showed “Clean audit.” The score ring also always used the unit’s color.

Headlines

Adds eight GovCon-themed headline bands (100 / 90 / 80 / 70 / 60 / 50 / 30 / 0) with eight phrases each. A phrase is picked once when the session finishes, so the same score can still vary across runs without re-rolling on re-render.

Score ring color

The summary ring now maps score percent through a traffic-light hue: red (low) → orange → yellow (mid) → green (100%).

Verification

  • 88% → “Defensible position.” (not “Clean audit.”)
  • 100% ring → green; 22% ring → orange/red
  • Console clean

100% green score ring
22% orange score ring
88% summary headline

Open in Web Open in Cursor 

Pick a GovCon/FAR-themed phrase once at session finish from
eight descending score bands so the same score can show different
headlines across sessions without re-rolling on re-render.

Co-authored-by: John Solly <jsolly@users.noreply.github.com>
Map the end-of-quiz ring from red through orange and yellow to green based on score percent, so a perfect run reads clearly green instead of always using the unit hue.

Co-authored-by: John Solly <jsolly@users.noreply.github.com>
@jsolly
jsolly marked this pull request as ready for review July 19, 2026 00:07
@jsolly
jsolly merged commit 3273748 into main Jul 19, 2026
4 checks passed
@jsolly
jsolly deleted the cursor/quiz-summary-phrases-d529 branch July 19, 2026 00:13
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.

2 participants