Skip to content

Commit c2c505f

Browse files
RolandMinruiXu
andauthored
fix coder bug (#868)
Co-authored-by: Xu <[email protected]>
1 parent 8b2f22c commit c2c505f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

rdagent/components/coder/data_science/pipeline/prompts.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ pipeline_eval:
115115
{% if is_sub_enabled %}
116116
## Evaluation Scope
117117
Your focus is to check whether the workflow code:
118-
Step 1: Executes successfully, correctly generating a final submission.
118+
Step 1: Executes successfully without any errors. Please distinguish between the errors and warnings.
119119
120-
Step 2: Generates predictions in the correct format, ensuring: they align with the submission structure, the index and column names should match the sample, and the content should not be empty or apparently incorrect.
120+
Step 2: Correctly generates a final submission in the correct format, ensuring: they align with the submission structure, the index names and column names should match the sample, and the items should not be empty or apparently incorrect.
121121
122122
Step 3: Aligns with the competition requirements. This includes:
123123
- CAREFULLY ANALYZE WHETHER THE EXPERIMENTAL SETUP AND CODE MAY CAUSE MISALIGNMENT BETWEEN VALIDATION AND TEST PERFORMANCE.

rdagent/scenarios/data_science/share.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,9 @@ component_spec:
258258
{% endraw %}
259259
260260
Pipeline: |-
261-
0. Program Running:
262-
- The program will be runned using python main.py **without any parameters**. Ensure no optional parameters are used in main.py.
261+
0. Program Execution:
262+
- The workflow will be executed by running `python main.py` with no command-line arguments. Ensure that `main.py` does not require or expect any parameters.
263+
- The working directory will only contain `main.py`. Any additional files required for execution must be downloaded or generated by `main.py` itself.
263264
264265
1. File Handling:
265266
- Handle file encoding and delimiters appropriately.

0 commit comments

Comments
 (0)