Marquis03 commited on
Commit
cb70243
·
verified ·
1 Parent(s): 810abfc

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -0
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ProgramGym
2
+
3
+ ProgramGym is a collection of 1,624 Harbor tasks that evaluate an agent's ability to reproduce software from observed behavior. For each task, the agent receives a reference executable and documentation. It must create an original codebase and a `compile.sh` script that builds a new `./executable` with matching behavior. Copying, wrapping, or decompiling the reference executable is not allowed.
4
+
5
+ ## Task structure
6
+
7
+ Each task contains:
8
+
9
+ | Path | Purpose |
10
+ | ---------------- | ----------------------------------------------- |
11
+ | `task.toml` | Harbor task metadata and runtime settings. |
12
+ | `instruction.md` | The task requirements and rules. |
13
+ | `environment/` | The agent environment and reference executable. |
14
+ | `tests/` | The verifier and test fixtures. |
15
+ | `solution/` | Harbor's solution entry point for validation. |
16
+
17
+ ## Run with Harbor
18
+
19
+ Requires Docker, a configured model provider, and **Harbor 0.20.0 or newer**. These tasks use Harbor task schema 1.3 and phase-scoped network policies. Run it by Harbor:
20
+
21
+ ```bash
22
+ uv tool install 'harbor>=0.20.0'
23
+
24
+ harbor run \
25
+ -d ProgramGym/programgym \
26
+ -a claude-code \
27
+ -m your-provider/your-model \
28
+ -n 4
29
+ ```
30
+
31
+ Replace the model ID and provide the corresponding API credentials. The command runs the full dataset with four concurrent trials; use `-l 1` for a one-task smoke test. Results are written under `jobs/` by default.