We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6795a5c commit 02f96e7Copy full SHA for 02f96e7
codeflash/result/critic.py
@@ -106,7 +106,7 @@ def quantity_of_tests_critic(candidate_result: OptimizedCandidateResult | Origin
106
if pass_count >= MIN_TESTCASE_PASSED_THRESHOLD:
107
return True
108
# If one or more tests passed, check if least one of them was a successful REPLAY_TEST
109
- return bool(pass_count >= 1 and report[models.TestType.REPLAY_TEST]["passed"] >= 1)
+ return bool(pass_count >= 1 and report[models.TestType.REPLAY_TEST]["passed"] >= 1) # type: ignore # noqa: PGH003
110
111
112
def coverage_critic(original_code_coverage: CoverageData | None, test_framework: str) -> bool:
0 commit comments