Skip to content

Commit 29f1cac

Browse files
authored
Merge branch 'main' into fix/dont-serialize-the-optimized-code
2 parents 1ef08c4 + 64a40d8 commit 29f1cac

9 files changed

+9
-9
lines changed

.github/workflows/end-to-end-test-benchmark-bubblesort.yaml renamed to .github/workflows/e2e-bubblesort-benchmark.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: end-to-end-test
1+
name: E2E - Bubble Sort Benchmark
22

33
on:
44
pull_request:

.github/workflows/end-to-end-test-bubblesort-pytest-no-git.yaml renamed to .github/workflows/e2e-bubblesort-pytest-nogit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: end-to-end-test
1+
name: E2E - Bubble Sort Pytest (No Git)
22

33
on:
44
pull_request:

.github/workflows/end-to-end-test-bubblesort-unittest.yaml renamed to .github/workflows/e2e-bubblesort-unittest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: end-to-end-test
1+
name: E2E - Bubble Sort Unittest
22

33
on:
44
pull_request:

.github/workflows/end-to-end-test-futurehouse.yaml renamed to .github/workflows/e2e-futurehouse-structure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: end-to-end-test
1+
name: E2E - Futurehouse Structure
22

33
on:
44
pull_request:

.github/workflows/end-to-end-test-init-optim.yaml renamed to .github/workflows/e2e-init-optimization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: end-to-end-test
1+
name: E2E - Init Optimization
22

33
on:
44
pull_request:

.github/workflows/end-to-end-topological-sort-test.yaml renamed to .github/workflows/e2e-topological-sort.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: end-to-end-test
1+
name: E2E - Topological Sort
22

33
on:
44
pull_request:

.github/workflows/end-to-end-test-tracer-replay.yaml renamed to .github/workflows/e2e-tracer-replay.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: end-to-end-test
1+
name: E2E - Tracer Replay
22

33
on:
44
pull_request:

codeflash/result/critic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def quantity_of_tests_critic(candidate_result: OptimizedCandidateResult) -> bool
5656

5757
if pass_count >= MIN_TESTCASE_PASSED_THRESHOLD:
5858
return True
59-
# If only one test passed, check if it's a REPLAY_TEST
60-
return bool(pass_count == 1 and report[TestType.REPLAY_TEST]["passed"] == 1)
59+
# If one or more tests passed, check if least one of them was a successful REPLAY_TEST
60+
return bool(pass_count >= 1 and report[TestType.REPLAY_TEST]["passed"] >= 1)
6161

6262

6363
def coverage_critic(original_code_coverage: CoverageData | None, test_framework: str) -> bool:

0 commit comments

Comments
 (0)