|
Download README.md from ApolloTeam/fullstackbench-trajectories: direct link, hf CLI and curl.
- Browser
- Download file 3.79 kB
-
https://huggingface.co/datasets/ApolloTeam/fullstackbench-trajectories/resolve/main/README.md
- Command line
-
hf download hf://datasets/ApolloTeam/fullstackbench-trajectories/README.md
-
curl -L -o README.md https://huggingface.co/datasets/ApolloTeam/fullstackbench-trajectories/resolve/main/README.md
3.79 kB
| # fullstackbench-trajectories | |
| FullStackBench tasks and the agent trajectories that ran them. One repo, two sibling trees keyed by the same task ID. | |
| ## Layout | |
| ``` | |
| tasks/ | |
| └── <task-id>/ # task definition | |
| ├── environment/ # docker-compose, source app, fixtures | |
| ├── tests/ # verifier scripts | |
| └── solution/ # reference impl (if applicable) | |
| trajectories/ | |
| └── <task-id>/ # mirrors tasks/ key | |
| └── <contributor>_<model>_<date>/ # one harbor job run | |
| ├── config.json # job-level harbor config | |
| ├── result.json # job-level aggregate stats | |
| ├── job.log | |
| ├── trial-0/ # one per harbor `-k` replicate | |
| │ ├── config.json | |
| │ ├── result.json # per-trial reward + token totals | |
| │ ├── trial.log | |
| │ ├── agent/ | |
| │ │ ├── trajectory.json # ★ ATIF canonical | |
| │ │ └── ... # agent-native logs | |
| │ ├── verifier/ | |
| │ │ ├── test-stdout.txt | |
| │ │ └── test-stderr.txt | |
| │ └── artifacts/ # screenshots, container logs | |
| └── trial-1/ | |
| ``` | |
| Canonical task IDs (from FullStackBench) keep their original names — e.g. `screenshot2-add-expense-sparse`. Contributor-authored variants use `<author>_<descriptor>_<date>` — e.g. `eric_screenshot2-add-expense_2026-05-15`. | |
| `agent/trajectory.json` is the [ATIF](https://harborframework.com) format — full fidelity per-step `metrics` (`prompt_tokens`, `completion_tokens`, `cached_tokens`, `cost_usd`), `tool_calls`, `reasoning_content`, timestamps, multimodal `observation`. | |
| ## Browse one task's runs | |
| ```bash | |
| hf download ApolloTeam/fullstackbench-trajectories \ | |
| --repo-type dataset \ | |
| --include "trajectories/screenshot2-add-expense-sparse/**" \ | |
| --include "tasks/screenshot2-add-expense-sparse/**" \ | |
| --local-dir ./fsb | |
| ``` | |
| Compare agents on the same task: | |
| ```bash | |
| ls fsb/trajectories/screenshot2-add-expense-sparse/ | |
| # eric_claude-opus-4-7_2026-05-09 | |
| # eric_gemini-3.1-pro-preview_2026-05-09 | |
| ``` | |
| Inspect a trial: | |
| ```bash | |
| jq '.steps[] | {source, message, metrics}' \ | |
| fsb/trajectories/screenshot2-add-expense-sparse/*/trial-0/agent/trajectory.json | |
| ``` | |
| ## Convert to a queryable Dataset | |
| ```bash | |
| harbor traces export -p ./fsb/trajectories/screenshot2-add-expense-sparse \ | |
| --instruction-metadata --verifier-metadata | |
| ``` | |
| Or programmatically: | |
| ```python | |
| from harbor.utils.traces_utils import export_traces | |
| ds = export_traces(root="./fsb/trajectories/screenshot2-add-expense-sparse", | |
| include_instruction=True, include_verifier_output=True) | |
| ``` | |
| ## Add your own trajectories | |
| ```bash | |
| hf download ApolloTeam/fullstackbench-trajectories push_trajectories.py \ | |
| --repo-type dataset --local-dir . | |
| python push_trajectories.py \ | |
| --jobs-dir ./jobs/<your-run> \ | |
| --person <slug> \ | |
| --repo ApolloTeam/fullstackbench-trajectories | |
| ``` | |
| The path is derived from harbor's metadata: `trajectories/<task-id>/<person>_<model>_<date>/`. Re-pushing the same triple overwrites. | |
| ## Re-run a task | |
| ```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/my-rerun | |
| ``` | |
| Then push using the wrapper above. | |
| ## Prerequisites | |
| - `hf` CLI logged in (`hf auth login`) | |
| - Python with `huggingface_hub` (+ `harbor` for `traces export`) | |
| - For re-running: Docker daemon running locally | |