Souravdanyal commited on
Commit
6464b1f
Β·
1 Parent(s): d87f227

Fix README metadata

Browse files
Files changed (1) hide show
  1. README.md +6 -26
README.md CHANGED
@@ -1,4 +1,3 @@
1
- # Code Debug Environment
2
  ---
3
  title: Code Debug Env
4
  emoji: πŸ›
@@ -7,6 +6,9 @@ colorTo: green
7
  sdk: docker
8
  pinned: false
9
  ---
 
 
 
10
  An [OpenEnv](https://github.com/meta-pytorch/OpenEnv)-compatible RL environment where an LLM agent diagnoses and fixes buggy Python code across three difficulty levels.
11
 
12
  ---
@@ -112,10 +114,9 @@ Explanation is scored by matching key algorithmic concepts. Partial credit is gi
112
 
113
  ### Install
114
  ```bash
115
- git clone https://github.com/YOUR_USERNAME/code-debug-env
116
  cd code-debug-env
117
  pip install -e .
118
- # Also clone OpenEnv for PYTHONPATH
119
  git clone https://github.com/meta-pytorch/OpenEnv.git
120
  export PYTHONPATH=$PYTHONPATH:OpenEnv:OpenEnv/src:.
121
  ```
@@ -170,32 +171,11 @@ python inference.py --url http://localhost:7860 --difficulty hard
170
 
171
  ## Pre-Submission Validation
172
 
173
- Run before submitting to catch any disqualifying issues:
174
-
175
  ```bash
176
- # Start the environment first, then:
177
  python validator/pre_submit_check.py --url http://localhost:7860
178
 
179
  # Or against your HF Space:
180
- python validator/pre_submit_check.py --url https://YOUR_SPACE.hf.space
181
- ```
182
-
183
- ---
184
-
185
- ## Deploy to Hugging Face Spaces
186
-
187
- ```bash
188
- # Login
189
- huggingface-cli login
190
-
191
- # Create space and push
192
- huggingface-cli repo create code-debug-env --type space --space_sdk docker
193
- cd code-debug-env
194
- git init
195
- git remote add origin https://huggingface.co/spaces/YOUR_USERNAME/code-debug-env
196
- git add .
197
- git commit -m "Initial commit"
198
- git push origin main
199
  ```
200
 
201
  ---
@@ -226,4 +206,4 @@ code-debug-env/
226
  β”‚ └── Dockerfile
227
  └── validator/
228
  └── pre_submit_check.py
229
- ```
 
 
1
  ---
2
  title: Code Debug Env
3
  emoji: πŸ›
 
6
  sdk: docker
7
  pinned: false
8
  ---
9
+
10
+ # Code Debug Environment
11
+
12
  An [OpenEnv](https://github.com/meta-pytorch/OpenEnv)-compatible RL environment where an LLM agent diagnoses and fixes buggy Python code across three difficulty levels.
13
 
14
  ---
 
114
 
115
  ### Install
116
  ```bash
117
+ git clone https://github.com/Souravdanyal/code-debug-env
118
  cd code-debug-env
119
  pip install -e .
 
120
  git clone https://github.com/meta-pytorch/OpenEnv.git
121
  export PYTHONPATH=$PYTHONPATH:OpenEnv:OpenEnv/src:.
122
  ```
 
171
 
172
  ## Pre-Submission Validation
173
 
 
 
174
  ```bash
 
175
  python validator/pre_submit_check.py --url http://localhost:7860
176
 
177
  # Or against your HF Space:
178
+ python validator/pre_submit_check.py --url https://Souravdanyal-code-debug-env.hf.space
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  ```
180
 
181
  ---
 
206
  β”‚ └── Dockerfile
207
  └── validator/
208
  └── pre_submit_check.py
209
+ ```