Skip to content

Commit 69d2ff4

Browse files
committed
Remove unused code for pytest and combined results
Eliminates reading and handling of pytest and combined summary results in prepare_comment.py, as these features are currently not working properly.
1 parent f028254 commit 69d2ff4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/inspect-ai/scripts/prepare_comment.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,7 @@ def prepare_comment(summary_path: Union[str, Path]) -> int:
2525
with open(summary_path, "r") as f:
2626
inspect_results = json.load(f)
2727

28-
# Skip pytest results for now since they're not working properly
29-
pytest_results = None
30-
31-
# Try to read the combined summary for overall gate status
32-
combined_results = None
33-
combined_summary_path = summary_path.parent / "combined_summary.json"
34-
if combined_summary_path.exists():
35-
with open(combined_summary_path, "r") as f:
36-
combined_results = json.load(f)
28+
# Skip pytest and combined results for now since they're not working properly
3729

3830
# Build the comment
3931
comment_parts = [

0 commit comments

Comments
 (0)