-
Notifications
You must be signed in to change notification settings - Fork 15
increase the min number of test cases passed #259
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
Conversation
I have never seen any good optimization with 5 passed test cases.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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.
I think we should double it to 10 but LGTM
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like
Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
User description
I have never seen any good optimization with 5 passed test cases.
PR Type
Enhancement
Description
Introduce MIN_TESTCASE_PASSED_THRESHOLD constant
Raise minimum test pass count to 6
Replace hardcoded threshold in critic
Changes walkthrough 📝
config_consts.py
Add minimum test-passed threshold constant
codeflash/code_utils/config_consts.py
MIN_TESTCASE_PASSED_THRESHOLD = 6
critic.py
Use constant for test pass threshold
codeflash/result/critic.py
MIN_TESTCASE_PASSED_THRESHOLD
quantity_of_tests_critic
to use new constant4
)