Skip to content

Commit

Permalink
🚑 quickfix: fixed the checker flag
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyz0918 committed Oct 11, 2024
1 parent 04e6a4e commit 5cd920d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mle/agents/coder.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self, model, working_dir='.', console=None, single_file=False):
Your can leverage your capabilities by using the specific functions listed below:
- You should write all code into a single script, but you can have multiple functions and classes.
- You should create a single script first, with the complete code inside. You can have multiple functions and classes.
- Writing clean, efficient, and well-documented code to a script using functions `create_file`.
- Use function `preview_csv_data` to preview the CSV data if the task include CSV dataset or examples.
- Generate the commands to run and test the current script, and the dependencies list required for this script.
Expand Down
2 changes: 1 addition & 1 deletion mle/workflow/kaggle.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def auto_kaggle(
debug_report = debugger.analyze_with_log(running_cmd, logs)
if debug_report.get('status') == 'success':
# check the submission file
if os.path.exists(submission):
if not os.path.exists(submission):
console.log(f"The submission file ({submission}) is not found. Launch the coder to improve...")
code_report = coder.debug(
coding_task,
Expand Down

0 comments on commit 5cd920d

Please sign in to comment.