Skip to content

Commit b92d9db

Browse files
committed
update run_swebench_multimodal; refine logging messages for clarity on predictions file
1 parent e874288 commit b92d9db

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

run_swebench_multimodal.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def _run_instance(
195195
with file_lock:
196196
predictions_file.write(record + "\n")
197197
predictions_file.flush()
198-
logger.info(f"Patch written to {predictions_file} for %s", instance_id)
198+
logger.info("Patch written to predictions for %s", instance_id)
199199

200200

201201
def main() -> None:
@@ -240,6 +240,7 @@ def main() -> None:
240240
used_ports.add(port)
241241
instance_ports.append(port)
242242

243+
logger.info("Predictions will be written to %s", predictions_path)
243244
with predictions_path.open("a", encoding="utf-8") as predictions_file:
244245
with ThreadPoolExecutor(max_workers=args.workers) as executor:
245246
futures = {

0 commit comments

Comments
 (0)