-
Notifications
You must be signed in to change notification settings - Fork 19
The Scatter Plot Should Increase with the Score #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Scatter Plot Should Increase with the Score #254
Conversation
Right now when the score goes up the scatter plots go down. This is a bit confusing since a higher score is better. I think it would be clearer if the plots reflected this.
✅ Deploy Preview for webkit-jetstream-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
I guess the underlying potential confusion here is that the scatter plot shows iteration times not scores. I do like however the absolute times instead of scores for quick debugging or judging tier-up behavior. Maybe we should simply add a label below or a y-axis label mentioning "times in ms" or so (right now only shown on hover)? I am not a big fan of inverting the y-axis, that's quite unconventional for times, no? |
danleh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, now it makes more sense: The scatter plot also shows scores, where higher is better (as you wanted). One nit to show raw time on hover.
JetStreamDriver.js
Outdated
| const cx = padding + i * xRatio; | ||
| const cy = height - padding - (result - minResult) * yRatio; | ||
| const title = `Iteration ${i + 1}: ${uiFriendlyDuration(result)}`; | ||
| const title = `Iteration ${i + 1}: ${uiFriendlyScore(result)}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we print Iteration 1: x ms, score y maybe, so have both available (and it's only on hover, so not cluttering for those that only care about the quick visual impression).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call sure
I just changed it to use scores instead of times. I guess I was inverting the times rather than fixing the scores, which is silly although both are normalized anyway. |

Right now when the score goes up the scatter plots go down. This is a bit confusing since a higher score is better. I think it would be clearer if the plots reflected this.