From c28fe11bcaa24509064fcf6d3925ead6d81e7665 Mon Sep 17 00:00:00 2001 From: you-n-g Date: Thu, 10 Jul 2025 16:48:25 +0800 Subject: [PATCH] docs: add submission grading steps to devcontainer README (#1054) * docs: add submission grading steps to devcontainer README * add change --------- Co-authored-by: jingyuanlm <842442862@qq.com> --- .devcontainer/README.md | 9 +++++++++ .devcontainer/devcontainer.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.devcontainer/README.md b/.devcontainer/README.md index b48a4e09..1020eb75 100644 --- a/.devcontainer/README.md +++ b/.devcontainer/README.md @@ -28,3 +28,12 @@ export KAGGLE_KEY= 1. Remotely connect to the machine and open the `RD-Agent` folder in VS Code. 2. Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on Mac), type and select **"Dev Containers: Reopen in Container"**. + + +# How to grade your submission in the DevContainer + +1. save your submission file in `./sumission.csv` + +2. Run evaluation +DS_COMPETITION= +conda run -n mlebench mlebench grade-sample submission.csv $DS_COMPETITION --data-dir /tmp/kaggle/zip_files/ \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 44ab731a..80e19d8e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,7 +11,7 @@ "terminal.integrated.shell.linux": "/bin/bash" }, "mounts": [ - "source=/home/shared/RD-Agent/kaggle,target=/home/shared/RD-Agent/kaggle,type=bind,consistency=cached,readonly" + "source=/home/shared/RD-Agent/kaggle,target=/tmp/kaggle,type=bind,consistency=cached,readonly" ], "extensions": [ "ms-python.python",