Skip to content
Merged
Changes from all commits
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
7 changes: 7 additions & 0 deletions benchmarks/swebenchmultimodal/eval_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import argparse
import json
import shutil
import subprocess
import sys
from pathlib import Path
Expand Down Expand Up @@ -430,6 +431,12 @@ def main() -> None:
f" Combined Accuracy: {component_scores['combined_accuracy']:.1f}%"
)
logger.info("=" * 60)
# Copy report.json to output.report.json for consistency with other benchmarks
# SWE-Bench Multimodal creates report.json in the same directory as the predictions file
report_path = output_file.parent / "report.json"
dest_report_path = input_file.with_suffix(".report.json")
shutil.copy(str(report_path), str(dest_report_path))
logger.info(f"Copied report file to: {dest_report_path}")

# Generate cost report as final step
generate_cost_report(str(input_file))
Expand Down