Spaces:
Sleeping
Sleeping
Mihirkumar Mungara commited on
Remove Troubleshooting section from README
Browse filesRemoved the Troubleshooting section from the README.
README.md
CHANGED
|
@@ -31,7 +31,6 @@
|
|
| 31 |
- [Inference Script](#-inference-script)
|
| 32 |
- [Data Models](#-data-models)
|
| 33 |
- [Datasets](#-datasets)
|
| 34 |
-
- [Troubleshooting](#-troubleshooting)
|
| 35 |
- [Baseline Scores](#-baseline-scores)
|
| 36 |
- [License](#-license)
|
| 37 |
|
|
@@ -635,46 +634,6 @@ Each task has a paired `dirty.csv` and `gold.csv`. The dirty file is loaded at r
|
|
| 635 |
|
| 636 |
---
|
| 637 |
|
| 638 |
-
## π οΈ Troubleshooting
|
| 639 |
-
|
| 640 |
-
### β Phase 2 Task Validation: "score out of range"
|
| 641 |
-
|
| 642 |
-
The Scaler platform rejects any score that is exactly `0.0` or `1.0`.
|
| 643 |
-
|
| 644 |
-
- **`environment.py`** β all `Reward` fields must go through `_sc()` clamping at return
|
| 645 |
-
- **`inference.py`** β `[END]` line must include `score=` field; all rewards via `_clamp()`
|
| 646 |
-
- **`inference.py`** β fallback/exception reward must be `0.01`, not `0.0`
|
| 647 |
-
- **Format** β use `:.2f` (per spec), not `:.4f`
|
| 648 |
-
|
| 649 |
-
---
|
| 650 |
-
|
| 651 |
-
### β Output Parsing failure
|
| 652 |
-
|
| 653 |
-
- Ensure `[START]`, `[STEP]`, `[END]` lines use `flush=True`
|
| 654 |
-
- No newlines within a single log line
|
| 655 |
-
- `done` and `success` must be lowercase `true`/`false`
|
| 656 |
-
- `[END]` must include the `score=` field β this is the most common cause of Task Validation failure
|
| 657 |
-
|
| 658 |
-
---
|
| 659 |
-
|
| 660 |
-
### β Environment not initialized error
|
| 661 |
-
|
| 662 |
-
- Always call `POST /reset/{task_id}` before `POST /step/{task_id}`
|
| 663 |
-
- Each `task_id` has its own independent environment instance
|
| 664 |
-
|
| 665 |
-
---
|
| 666 |
-
|
| 667 |
-
### β LLM returns invalid JSON
|
| 668 |
-
|
| 669 |
-
`parse_action()` handles these cases automatically:
|
| 670 |
-
- Strips markdown code fences (` ```json ` and ` ``` `)
|
| 671 |
-
- Falls back to regex `{...}` extraction
|
| 672 |
-
- Default fallback: `{"operation": "finish", "parameters": {}}`
|
| 673 |
-
|
| 674 |
-
If the model consistently fails, try increasing `MAX_TOKENS` in `inference.py`.
|
| 675 |
-
|
| 676 |
-
---
|
| 677 |
-
|
| 678 |
## π Baseline Scores
|
| 679 |
|
| 680 |
Baseline agent: **gpt-4o-mini** (from `openenv.yaml`)
|
|
@@ -702,4 +661,4 @@ Built for the **Scaler Γ OpenEnv Hackathon**
|
|
| 702 |
|
| 703 |
*CleanifyAI β making data clean, one step at a time.*
|
| 704 |
|
| 705 |
-
</div>
|
|
|
|
| 31 |
- [Inference Script](#-inference-script)
|
| 32 |
- [Data Models](#-data-models)
|
| 33 |
- [Datasets](#-datasets)
|
|
|
|
| 34 |
- [Baseline Scores](#-baseline-scores)
|
| 35 |
- [License](#-license)
|
| 36 |
|
|
|
|
| 634 |
|
| 635 |
---
|
| 636 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 637 |
## π Baseline Scores
|
| 638 |
|
| 639 |
Baseline agent: **gpt-4o-mini** (from `openenv.yaml`)
|
|
|
|
| 661 |
|
| 662 |
*CleanifyAI β making data clean, one step at a time.*
|
| 663 |
|
| 664 |
+
</div>
|