Skip to content

Commit ea9878d

Browse files
committed
loosen E2E init
1 parent 49e44ee commit ea9878d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/e2e-init-optimization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
COLUMNS: 110
2020
MAX_RETRIES: 3
2121
RETRY_DELAY: 5
22-
EXPECTED_IMPROVEMENT_PCT: 30
22+
EXPECTED_IMPROVEMENT_PCT: 10
2323
CODEFLASH_END_TO_END: 1
2424
steps:
2525
- name: 🛎️ Checkout

tests/scripts/end_to_end_test_init_optimization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def run_test(expected_improvement_pct: int) -> bool:
99
file_path="remove_control_chars.py",
1010
function_name="CharacterRemover.remove_control_characters",
1111
test_framework="pytest",
12-
min_improvement_x=0.3,
12+
min_improvement_x=0.1,
1313
coverage_expectations=[
1414
CoverageExpectation(
1515
function_name="CharacterRemover.remove_control_characters", expected_coverage=100.0, expected_lines=[14]
@@ -21,4 +21,4 @@ def run_test(expected_improvement_pct: int) -> bool:
2121

2222

2323
if __name__ == "__main__":
24-
exit(run_with_retries(run_test, int(os.getenv("EXPECTED_IMPROVEMENT_PCT", 5))))
24+
exit(run_with_retries(run_test, int(os.getenv("EXPECTED_IMPROVEMENT_PCT", 10))))

0 commit comments

Comments
 (0)