|
Download tasks/README.md from ApolloTeam/fullstackbench-trajectories: direct link, hf CLI and curl.
- Browser
- Download file 3.95 kB
-
https://huggingface.co/datasets/ApolloTeam/fullstackbench-trajectories/resolve/main/tasks/README.md
- Command line
-
hf download hf://datasets/ApolloTeam/fullstackbench-trajectories/tasks/README.md
-
curl -L -o README.md https://huggingface.co/datasets/ApolloTeam/fullstackbench-trajectories/resolve/main/tasks/README.md
3.95 kB
| # fullstackbench-tasks | |
| Harbor task definitions used to benchmark coding agents in the FullStackBench / Loki research program. Each top-level directory is one self-contained task — Dockerfile, golden app, verifier, instruction — runnable via `harbor run`. | |
| ## Prerequisites | |
| - `hf` CLI logged in to an ApolloTeam-member account (`hf auth login`) | |
| - Working install of [Harbor](https://github.com/laude-institute/harbor) — provides the `harbor` CLI (ask the Loki team if you don't already have it set up) | |
| - Docker daemon running locally | |
| - ~4 GB free disk per task for the container image | |
| > This repo is **private** — open the URL in a browser only if you're logged in to HF as an ApolloTeam member. For programmatic README fetch use `hf download ApolloTeam/fullstackbench-tasks README.md --repo-type dataset --local-dir .`. | |
| ## Layout | |
| ``` | |
| <task-name>/ | |
| task.toml # identity, timeouts, resource limits | |
| instruction.md # what the agent is asked to do | |
| environment/ | |
| Dockerfile # builds golden app + verifier + agent workdir | |
| app/ # golden backend + frontend (the reference impl) | |
| pristine/ # ablated component(s) — the gap the agent must fill | |
| reference.png # screenshot baseline (for visual tasks) | |
| tests/ | |
| test.sh # boots app, seeds DB, runs verifier | |
| test_*.py # Playwright structural checks | |
| seed.py # test data fixture | |
| solution/ | |
| solve.sh # oracle solution (writes the golden file in-place) | |
| ``` | |
| Tasks are fully self-contained — the Dockerfile bakes everything needed; no host-path dependencies. | |
| ## List tasks | |
| ```bash | |
| hf api repos/ApolloTeam/fullstackbench-tasks/tree/main --repo-type dataset \ | |
| | jq -r '.[] | select(.type=="directory") | .path' | |
| ``` | |
| Or browse in the [HF file viewer](https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks/tree/main). | |
| ## Download one task | |
| ```bash | |
| hf download ApolloTeam/fullstackbench-tasks \ | |
| --repo-type dataset \ | |
| --include "screenshot2-add-expense-sparse/*" \ | |
| --local-dir ./tasks | |
| ``` | |
| ## Run a task with Harbor | |
| ```bash | |
| harbor run -p ./tasks/screenshot2-add-expense-sparse \ | |
| --agent claude-code \ | |
| -m anthropic/claude-opus-4-7 \ | |
| -k 2 -n 2 \ | |
| --jobs-dir ./jobs/screenshot2-claude-rerun \ | |
| --job-name screenshot2-claude-rerun | |
| ``` | |
| - `-k N` — trials per task | |
| - `-n N` — concurrent docker containers | |
| - `--job-name` — should match the value you'll pass to `push_trajectories.py` later, since it becomes the config_name suffix | |
| After the run finishes, push the trajectories to the sister repo: | |
| ```bash | |
| # Grab the bundled wrapper from the trajectories repo | |
| hf download ApolloTeam/fullstackbench-trajectories \ | |
| --repo-type dataset --include "push_trajectories.py" --local-dir . | |
| # Push your job's trajectories — becomes its own config in the dataset | |
| ~/Local/harbor-spike/.venv/bin/python push_trajectories.py \ | |
| --jobs-dir ./jobs/screenshot2-claude-rerun \ | |
| --person <your-slug> --project fullstackbench \ | |
| --experiment-group screenshot-deltas \ | |
| --job-name screenshot2-claude-rerun --date 20260520 \ | |
| --repo ApolloTeam/fullstackbench-trajectories | |
| ``` | |
| See [ApolloTeam/fullstackbench-trajectories](https://huggingface.co/datasets/ApolloTeam/fullstackbench-trajectories) for the full schema and query patterns. | |
| ## Task identifier convention | |
| `task.toml` declares `name = "loki/<task-name>"`. That string becomes the `task` column on every trajectory row, so it's the join key between this repo and the trajectories repo. | |
| ## Current tasks | |
| - `screenshot2-add-expense-sparse` — Implement an AddExpense route from a sparse spec + screenshot reference. Tests visual-prior overrides (gemini ignores image, claude reads it). | |
| - `screenshot42-taskmanager-projectdetail` — Rebuild a 377-line Kanban ProjectDetail component from a screenshot. Tests multi-axis layout + interaction reproduction. | |