Skip to content

Commit c6d34d6

Browse files
SunsetWolfyou-n-gXianBWWinstonLiyt
authored
fix: main bug (#938)
* feat: parameterize cache paths with USER to avoid conflicts * guide for missing training_hyperparameters * guidance for KeyError: 'concise_reason' * fixed three bugs in the test * fix general_model task bug * fixed some bugs in the med_model scenario * delete comments * format with black * fix mypy error * fix ruff error * fix isort error * sync code * revert cache_path code * revert cache_path code * delete data mining scenario * fix factor report loop * fix LiteLLMAPIBackend log_llm_chat_content setting * refine fin factor report scenario * remove unused LogColors * fix UI * remove medical scenario docs * change **kaggle** to **data_science** * remove default dataset_path in create_debug_data * remove KAGGLE_SETTINGS in kaggle_crawler * limit litellm versions * reformat with black * change README * fix_data_science_docs * make hypothesis observations string * Hiding old versions of kaggle docs * hidding kaggle agent docs --------- Co-authored-by: Young <[email protected]> Co-authored-by: Bowen Xian <[email protected]> Co-authored-by: yuanteli <[email protected]>
1 parent 8d27eae commit c6d34d6

File tree

39 files changed

+125
-1178
lines changed

39 files changed

+125
-1178
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ You can learn more details about **RD-Agent(Q)** through the [paper](https://arx
7171
| MLE-Bench Results Released | R&D-Agent currently leads as the [top-performing machine learning engineering agent](#-the-best-machine-learning-engineering-agent) on MLE-bench |
7272
| Support LiteLLM Backend | We now fully support **[LiteLLM](https://github.com/BerriAI/litellm)** as a backend for integration with multiple LLM providers. |
7373
| General Data Science Agent | [Data Science Agent](https://rdagent.readthedocs.io/en/latest/scens/data_science.html) |
74-
| Kaggle Scenario release | We release **[Kaggle Agent](https://rdagent.readthedocs.io/en/latest/scens/kaggle_agent.html)**, try the new features! |
74+
| Kaggle Scenario release | We release **[Kaggle Agent](https://rdagent.readthedocs.io/en/latest/scens/data_science.html)**, try the new features! |
7575
| Official WeChat group release | We created a WeChat group, welcome to join! (🗪[QR Code](https://github.com/microsoft/RD-Agent/issues/880)) |
7676
| Official Discord release | We launch our first chatting channel in Discord (🗪[![Chat](https://img.shields.io/badge/chat-discord-blue)](https://discord.gg/ybQ97B6Jjy)) |
7777
| First release | **R&D-Agent** is released on GitHub |
@@ -249,22 +249,20 @@ The **[🖥️ Live Demo](https://rdagent.azurewebsites.net/)** is implemented b
249249
> 3. Join the competition: Click `Join the competition` -> `I Understand and Accept` at the bottom of the [competition details page](https://www.kaggle.com/competitions/sf-crime/data).
250250
```bash
251251
# Generally, you can run the Kaggle competition program with the following command:
252-
rdagent kaggle --competition <your competition name>
252+
rdagent data_science --competition <your competition name>
253253
254254
# Specifically, you need to create a folder for storing competition files (e.g., competition description file, competition datasets, etc.), and configure the path to the folder in your environment. In addition, you need to use chromedriver when you download the competition descriptors, which you can follow for this specific example:
255255
256256
# 1. Install chromedriver.
257257
258258
# 2. Add the competition description file path to the `.env` file.
259259
mkdir -p ./git_ignore_folder/kaggle_data
260-
dotenv set KG_LOCAL_DATA_PATH "$(pwd)/git_ignore_folder/kaggle_data"
260+
dotenv set DS_LOCAL_DATA_PATH "$(pwd)/git_ignore_folder/kaggle_data"
261+
dotenv set DS_IF_USING_MLE_DATA True
261262
262263
# 3. run the application
263-
rdagent kaggle --competition sf-crime
264+
rdagent data_science --competition sf-crime
264265
```
265-
> **Description of the above example:** <br />
266-
> - Kaggle competition data is roughly divided into three sections: competition description file (json file) and complete dataset for the competition and simplified dataset for the competition. <br />
267-
> - The Kaggle competition data will be downloaded automatically, the download process depends on `chromedriver`, installation instructions can be found in the [documentation](https://rdagent.readthedocs.io/en/latest/scens/kaggle_agent.html#example-guide). <br />
268266
269267
### 🖥️ Monitor the Application Results
270268
- You can run the following command for our demo program to see the run logs.
@@ -310,7 +308,7 @@ The supported scenarios are listed below:
310308
| **🩺 Medical** | 🤖 [Iteratively Proposing Ideas & Evolving](https://rdagent.azurewebsites.net/dmm)[▶️YouTube](https://www.youtube.com/watch?v=VIaSTZuoZg4) | - |
311309
| **🏭 General** | 🦾 [Auto paper reading & implementation](https://rdagent.azurewebsites.net/report_model)[▶️YouTube](https://www.youtube.com/watch?v=BiA2SfdKQ7o) <br/> 🤖 Auto Kaggle Model Tuning | 🤖Auto Kaggle feature Engineering |
312310
313-
- **[RoadMap](https://rdagent.readthedocs.io/en/latest/scens/kaggle_agent.html#roadmap)**: Currently, we are working hard to add new features to the Kaggle scenario.
311+
- **[RoadMap](https://rdagent.readthedocs.io/en/latest/scens/data_science.html#roadmap)**: Currently, we are working hard to add new features to the Kaggle scenario.
314312
315313
Different scenarios vary in entrance and configuration. Please check the detailed setup tutorial in the scenarios documents.
316314

constraints/3.10.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ psutil==6.1.0
55
rich==13.9.2
66
scipy==1.14.1
77
tqdm==4.66.5
8+
litellm==1.72.4

constraints/3.11.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ psutil==6.1.0
55
rich==13.9.2
66
scipy==1.14.1
77
tqdm==4.66.5
8+
litellm==1.72.4

docs/scens/catalog.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,10 @@ The supported scenarios are listed below:
2626
:ref:`🦾Auto reports reading & implementation <data_copilot_fin>`
2727

2828
:ref:`🤖Iteratively Proposing Ideas & Evolving <data_agent_fin>`
29-
* - 🩺 Medical
30-
- :ref:`🤖Iteratively Proposing Ideas & Evolving <model_agent_med>`
31-
- *(no data yet)*
3229
* - 🏭 General
3330
- :ref:`🦾Auto paper reading & implementation <model_copilot_general>`
3431

35-
:ref:`🤖Auto Kaggle Model Tuning <kaggle_agent>`
36-
- :ref:`🤖Auto Kaggle feature Engineering <kaggle_agent>`
37-
38-
:ref:`🤖 Data Science <data_science_agent>`
32+
- :ref:`🤖 Data Science <data_science_agent>`
3933

4034

4135
.. toctree::
@@ -47,8 +41,5 @@ The supported scenarios are listed below:
4741
data_agent_fin
4842
data_copilot_fin
4943
model_agent_fin
50-
model_agent_med
5144
model_copilot_general
52-
kaggle_agent
5345
data_science
54-

docs/scens/data_science.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The Data Science Agent is an agent that can automatically perform feature engine
128128

129129
.. code-block:: sh
130130
131-
rdagent kaggle --competition <Competition ID>
131+
rdagent data_science --competition <Competition ID>
132132
133133
- 📥 **Visualize the R&D Process**
134134

docs/scens/kaggle_agent.rst

Lines changed: 0 additions & 236 deletions
This file was deleted.

0 commit comments

Comments
 (0)