Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions rdagent/scenarios/data_science/dev/runner/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def evaluate(
user_prompt = T(".prompts:DSCoSTEER_eval.user").r(
code=implementation.all_codes,
stdout=shrink_text(stdout),
score=score_df.to_string() if score_ret_code == 0 else None,
time_spent=f"{implementation.running_info.running_time:.2f} seconds",
timeout=f"{env.conf.running_timeout_period} seconds",
percent_of_timeout_used=f"{time_spent_ratio * 100:.2f}%",
Expand Down
3 changes: 3 additions & 0 deletions rdagent/scenarios/data_science/dev/runner/prompts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ DSCoSTEER_eval:
## Stdout of code execution and testing
{{ stdout }}

## The valid score of the generated submission.csv
{{ score }}

# The time spend on code execution and timeout
{{ time_spent }}

Expand Down