-
Notifications
You must be signed in to change notification settings - Fork 93
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
sorted confidence level in decending order #775
Conversation
✅ Deploy Preview for mozilla-perfcompare ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hi, check the README doc to check and run the validators and tests if you're facing issues with it |
Thank you @hibaa03. I am currently working on it. |
@Carla-Moz I have successfully made the change and below is the result locally. However my tests are failing locally. I think there is type mismatch, not sure. This might be because of my change, specifically adding filtering logic to the confidence column. Is there anything I could be doing wrong? I'd really appreciate your guidance. |
@Carla-Moz my tests are still failing, I'd really appreciate your help. |
I believe that the test issues come from the fact that now that the "high" confidence value is selected by default, this filters out the results. If you look at the test data we're using in our tests (src/tests/utils/fixtures.ts), you'll see that some of the results are using I think the easiest fix would be to change the first result in |
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.
The initial issue incorrectly mentioned to sort the values, but we really just want to filter them. Sorting is too complex with our current structure. Thanks for your understanding.
Can you please make these changes?
Sure |
@julienw it seems just changing the first result in |
|
Hey @mercybassey, I'm gonna close this PR now, because some recent changes in our codebase made this change less useful and we'd like to gather feedback before doing it. But thanks again for your work! |
This PR displays results in descending order based on confidence levels, from high to medium and then to low.
Issue: #766