Index / Computing / Database and network design and administration
TermGrade Environments
ai-and/termgrade-environments
Complete executable Linux terminal tasks in a container; a pytest verifier checks the result, with measured pass rates for six models.
Good for
- difficulty-graded terminal RL
- model comparison on terminal work
- decontamination reference
Reward
- How it is scored
- Hidden tests
- Signal
- Pass or fail
Each task ships a pytest verifier (tests/test.sh) that writes reward.txt; test files are copied in only at scoring time.
How to run it
1. From the cardcopied from the publisher's own instructions
docker build -t dsbase-venv312:local base_image/
2. Get the filesthe whole repository, to a local folder
hf download ai-and/termgrade-environments --repo-type dataset --local-dir termgrade-environments
3. Check it with Harborcommon pattern, not from this card
# the oracle agent runs the reference solution, so no model is called
harbor run --repo https://huggingface.co/datasets/ai-and/termgrade-environments --agent oracleIf every task passes, the environment works on your machine. Then swap in your own agent and model. Some repositories keep the tasks in a subfolder; the card says where.
Framework documentation: Harbor. Needs: Docker and a locally built base image.
Evidence
Pass rates measured per model over 36,144 counting trials, and each task has a reference solution checked against its verifier.
As reported by the publisher. We have not reproduced it.