Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: narrow scope to stdout restoration only
Remove OSError narrowing and bulk_info_summary addition from the previous
commit to focus solely on fixing the stdout restoration bug described in
issue #385.
  • Loading branch information
hippi345 committed Oct 15, 2026
commit afc1b0c8cb5d1522118bbe98fc42a63ff06eb25d
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def print_confusion_matrix(
if output_file:
try:
f = open(output_file, "w", encoding="utf-8")
except OSError as e:
except Exception as e:
print(f"Error opening output file: {e}")
return

Expand All @@ -356,10 +356,6 @@ def print_confusion_matrix(
# Print overall summary
_print_overall_summary(results, use_color)

# Print bulk evaluation info if available
if "bulk_info" in results:
_print_bulk_info_summary(results, use_color)

# Print field-level metrics if requested
if show_details:
_print_field_details(
Expand Down
Loading