Skip to content

Commit 9685312

Browse files
committed
recalibrating expected improvement with new tests
1 parent 842f571 commit 9685312

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/end-to-end-test-init-optim.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
COLUMNS: 110
2121
MAX_RETRIES: 3
2222
RETRY_DELAY: 5
23-
EXPECTED_IMPROVEMENT_PCT: 300
23+
EXPECTED_IMPROVEMENT_PCT: 30
2424
CODEFLASH_END_TO_END: 1
2525
steps:
2626
- name: 🛎️ Checkout

tests/scripts/end_to_end_test_init_optimization.py

Lines changed: 1 addition & 1 deletion
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=1.0,
12+
min_improvement_x=0.3,
1313
coverage_expectations=[
1414
CoverageExpectation(
1515
function_name="CharacterRemover.remove_control_characters", expected_coverage=100.0, expected_lines=[14]

0 commit comments

Comments
 (0)