Skip to content

Commit 59250cc

Browse files
committed
Merge remote-tracking branch 'origin/main' into clean_concolic_tests
2 parents 9095ca5 + 680d0da commit 59250cc

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

codeflash/LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Business Source License 1.1
33
Parameters
44

55
Licensor: CodeFlash Inc.
6-
Licensed Work: Codeflash Client version 0.9.x
6+
Licensed Work: Codeflash Client version 0.10.x
77
The Licensed Work is (c) 2024 CodeFlash Inc.
88

99
Additional Use Grant: None. Production use of the Licensed Work is only permitted
@@ -13,7 +13,7 @@ Additional Use Grant: None. Production use of the Licensed Work is only permitte
1313
Platform. Please visit codeflash.ai for further
1414
information.
1515

16-
Change Date: 2029-01-06
16+
Change Date: 2029-02-25
1717

1818
Change License: MIT
1919

codeflash/github/PrComment.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ class PrComment:
2020
winning_benchmarking_test_results: TestResults
2121

2222
def to_json(self) -> dict[str, Union[dict[str, dict[str, int]], int, str]]:
23+
24+
report_table = {
25+
test_type.to_name(): result
26+
for test_type, result in self.winning_behavioral_test_results.get_test_pass_fail_report_by_type().items()
27+
if test_type.to_name()
28+
}
29+
2330
return {
2431
"optimization_explanation": self.optimization_explanation,
2532
"best_runtime": humanize_runtime(self.best_runtime),
@@ -29,10 +36,7 @@ def to_json(self) -> dict[str, Union[dict[str, dict[str, int]], int, str]]:
2936
"speedup_x": self.speedup_x,
3037
"speedup_pct": self.speedup_pct,
3138
"loop_count": self.winning_benchmarking_test_results.number_of_loops(),
32-
"report_table": {
33-
test_type.to_name(): result
34-
for test_type, result in self.winning_behavioral_test_results.get_test_pass_fail_report_by_type().items()
35-
},
39+
"report_table": report_table
3640
}
3741

3842

codeflash/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These version placeholders will be replaced by poetry-dynamic-versioning during `poetry build`.
2-
__version__ = "0.9.2"
3-
__version_tuple__ = (0, 9, 2)
2+
__version__ = "0.10.0"
3+
__version_tuple__ = (0, 10, 0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ exclude = [
6767

6868
# Versions here the minimum required versions for the project. These should be as loose as possible.
6969
[tool.poetry.dependencies]
70-
python = "^3.9"
70+
python = ">=3.9"
7171
unidiff = ">=0.7.4"
7272
pytest = ">=7.0.0"
7373
gitpython = ">=3.1.31"

0 commit comments

Comments
 (0)