Skip to content

Commit 808ea6c

Browse files
authored
fix: wrong variable test_eval.py (#846)
1 parent bc7e4e0 commit 808ea6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdagent/scenarios/data_science/test_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def valid(self, competition: str, workspace: FBWorkspace) -> tuple[str, int]:
112112
mle_check_code = (
113113
(Path(__file__).absolute().resolve().parent / "eval_tests" / "mle_submission_format_test.txt")
114114
.read_text()
115-
.replace("<competition_id>", self.scen.competition)
115+
.replace("<competition_id>", competition)
116116
)
117117
workspace.inject_files(**{"test/mle_submission_format_test.py": mle_check_code})
118118
submission_check_out, submission_ret_code = workspace.execute_ret_code(

0 commit comments

Comments
 (0)