Skip to content

Commit 3ea2dab

Browse files
you-n-gjingyuanlm
andauthored
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>
1 parent 2f78216 commit 3ea2dab

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.devcontainer/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,12 @@ export KAGGLE_KEY=
2828
1. Remotely connect to the machine and open the `RD-Agent` folder in VS Code.
2929
2. Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on Mac), type and select **"Dev Containers: Reopen in Container"**.
3030

31+
32+
33+
# How to grade your submission in the DevContainer
34+
35+
1. save your submission file in `./sumission.csv`
36+
37+
2. Run evaluation
38+
DS_COMPETITION=<your competition name>
39+
conda run -n mlebench mlebench grade-sample submission.csv $DS_COMPETITION --data-dir /tmp/kaggle/zip_files/

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"terminal.integrated.shell.linux": "/bin/bash"
1212
},
1313
"mounts": [
14-
"source=/home/shared/RD-Agent/kaggle,target=/home/shared/RD-Agent/kaggle,type=bind,consistency=cached,readonly"
14+
"source=/home/shared/RD-Agent/kaggle,target=/tmp/kaggle,type=bind,consistency=cached,readonly"
1515
],
1616
"extensions": [
1717
"ms-python.python",

0 commit comments

Comments
 (0)