Skip to content

Commit 5224a28

Browse files
[PB] Pass run_dir as str not Path
1 parent 350d6c8 commit 5224a28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • project/paperbench/paperbench/nano

project/paperbench/paperbench/nano/eval.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ async def grade(
400400
judge_output = await self.grade_submission(
401401
submission_to_grade_path,
402402
self.paper_id,
403-
Path(self.run_dir),
403+
self.run_dir,
404404
)
405405

406406
ctx_logger.info(
@@ -566,7 +566,7 @@ async def grade_submission(
566566
self,
567567
submission_path: str,
568568
paper_id: str,
569-
run_dir: Path,
569+
run_dir: str,
570570
) -> Optional[JudgeOutput]:
571571
ctx_logger = logger.bind(
572572
run_group_id=self.run_group_id,

0 commit comments

Comments
 (0)