Replace raw cosine similarity with percentile rank for guess scores#39
Merged
FlorentPoinsaut merged 3 commits intomainfrom Mar 25, 2026
Merged
Replace raw cosine similarity with percentile rank for guess scores#39FlorentPoinsaut merged 3 commits intomainfrom
FlorentPoinsaut merged 3 commits intomainfrom
Conversation
…ore percentage Co-authored-by: FlorentPoinsaut <1256948+FlorentPoinsaut@users.noreply.github.com> Agent-Logs-Url: https://github.com/solution-libre/streamantix/sessions/95687f34-0e82-4965-aba7-d33678bda4bf
Copilot
AI
changed the title
[WIP] Fix percentage score calculation to reflect real percentage
Replace raw cosine similarity with percentile rank for guess scores
Mar 24, 2026
…splay as 100% Co-authored-by: FlorentPoinsaut <1256948+FlorentPoinsaut@users.noreply.github.com> Agent-Logs-Url: https://github.com/solution-libre/streamantix/sessions/6134cfc2-e503-43d8-a2e8-18e0568e8d60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bot/bot.py: changeround(score * 100)→math.floor(score * 100)in all 3 places (guess,hint,statuscommands)overlay/static/index.html: changeMath.round(score * 100)→Math.floor(score * 100)inpct()tests/test_commands.py: replacedtest_guess_percentage_uses_rounding_not_truncationwithtest_guess_percentage_uses_floor_not_round(0.998 → 99%, not 100%) andtest_guess_percentage_uses_floor_truncation(0.475 → 47%)Original prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.