Skip to content

Commit 5d3db0f

Browse files
authored
Merge pull request #1474 from codeflash-ai/bump-coverage-threshold-to-60
minimum coverage threshold of 60
2 parents fbd632c + 3864a6c commit 5d3db0f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

codeflash/code_utils/config_consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
MAX_CUMULATIVE_TEST_RUNTIME_NANOSECONDS = 100e6 # 100ms
88
N_TESTS_TO_GENERATE = 2
99
TOTAL_LOOPING_TIME = 10.0 # 10 second candidate benchmarking budget
10-
COVERAGE_THRESHOLD = 50.0
10+
COVERAGE_THRESHOLD = 60.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ unittest-xml-reporting = ">=3.2.0"
8181
junitparser = ">=3.1.0"
8282
pydantic = ">=1.10.1"
8383
humanize = ">=4.0.0"
84-
posthog = ">=3.0.0"
84+
posthog = ">=3.0.0,<=3.11.0"
8585
click = ">=8.1.0"
8686
inquirer = ">=3.0.0"
8787
sentry-sdk = ">=1.40.6,<3.0.0"

tests/test_critic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def test_coverage_critic() -> None:
367367

368368
border_coverage = CoverageData(
369369
file_path=Path("test_file.py"),
370-
coverage=50.0,
370+
coverage=60.0,
371371
function_name="test_function",
372372
functions_being_tested=["function1", "function2"],
373373
graph={},

0 commit comments

Comments
 (0)