text stringlengths 0 133 |
|---|
[test.sh] starting backend (Flask :5101)... |
[test.sh] starting frontend (Vite :5273)... |
[test.sh] backend up after 2s |
[test.sh] frontend up after 1s |
[test.sh] seeding... |
[seed] alice=1 bob=2 urgent=1 backend=2 apollo=1 mercury=2 |
[test.sh] running pytest... |
============================= test session starts ============================== |
platform linux -- Python 3.11.2, pytest-8.4.1, pluggy-1.6.0 |
rootdir: /tests |
plugins: json-ctrf-0.3.5 |
collected 12 items |
../tests/test_dashboard.py ...........F [100%] |
=================================== FAILURES =================================== |
____________________ test_add_user_posts_and_count_updates _____________________ |
page = <Page url='http://127.0.0.1:5273/'> |
def test_add_user_posts_and_count_updates(page): |
"""Fill Add User name+email, submit → POST /api/users AND 'Users (3)' appears.""" |
captured = [] |
def on_request(req): |
if req.method == "POST" and req.url.endswith("/api/users"): |
captured.append(req.post_data or "") |
page.on("request", on_request) |
# Fill the first text input (Name) and the email input (Email). |
name_in = page.locator('input[type="text"]').first |
email_in = page.locator('input[type="email"]').first |
name_in.click(timeout=5_000) |
name_in.press_sequentially("Carol", delay=20, timeout=5_000) |
email_in.click(timeout=5_000) |
email_in.press_sequentially("carol@example.com", delay=20, timeout=5_000) |
page.wait_for_timeout(200) |
# Submit by clicking the Add User button (label match) — fall back to |
# pressing Enter in the email input. |
add_btn = [ |
b for b in page.get_by_role("button").all() |
if (b.inner_text() or "").strip().lower() == "add user" |
] |
if add_btn: |
add_btn[0].click(timeout=5_000) |
else: |
email_in.press("Enter", timeout=5_000) |
page.wait_for_timeout(2000) |
> assert captured, "no POST to /api/users observed after Add User submit" |
E AssertionError: no POST to /api/users observed after Add User submit |
E assert [] |
/tests/test_dashboard.py:185: AssertionError |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED ../tests/test_dashboard.py::test_no_page_errors |
PASSED ../tests/test_dashboard.py::test_h1_dashboard |
PASSED ../tests/test_dashboard.py::test_new_project_link |
PASSED ../tests/test_dashboard.py::test_projects_render |
PASSED ../tests/test_dashboard.py::test_users_render |
PASSED ../tests/test_dashboard.py::test_tags_render |
PASSED ../tests/test_dashboard.py::test_users_count_badge |
PASSED ../tests/test_dashboard.py::test_tags_count_badge |
PASSED ../tests/test_dashboard.py::test_add_user_form_fields |
PASSED ../tests/test_dashboard.py::test_add_tag_form_color_picker |
PASSED ../tests/test_dashboard.py::test_delete_tag_sends_delete_and_removes |
FAILED ../tests/test_dashboard.py::test_add_user_posts_and_count_updates - As... |
========================= 1 failed, 11 passed in 7.19s ========================= |
[test.sh] starting backend (Flask :5101)... |
[test.sh] starting frontend (Vite :5273)... |
[test.sh] backend up after 2s |
[test.sh] frontend up after 1s |
[test.sh] seeding... |
[seed] alice=1 bob=2 urgent=1 backend=2 apollo=1 mercury=2 |
[test.sh] running pytest... |
============================= test session starts ============================== |
platform linux -- Python 3.11.2, pytest-8.4.1, pluggy-1.6.0 |
rootdir: /tests |
plugins: json-ctrf-0.3.5 |
collected 12 items |
../tests/test_dashboard.py ............ [100%] |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED ../tests/test_dashboard.py::test_no_page_errors |
PASSED ../tests/test_dashboard.py::test_h1_dashboard |
PASSED ../tests/test_dashboard.py::test_new_project_link |
PASSED ../tests/test_dashboard.py::test_projects_render |
PASSED ../tests/test_dashboard.py::test_users_render |
PASSED ../tests/test_dashboard.py::test_tags_render |
PASSED ../tests/test_dashboard.py::test_users_count_badge |
PASSED ../tests/test_dashboard.py::test_tags_count_badge |
PASSED ../tests/test_dashboard.py::test_add_user_form_fields |
PASSED ../tests/test_dashboard.py::test_add_tag_form_color_picker |
PASSED ../tests/test_dashboard.py::test_delete_tag_sends_delete_and_removes |
PASSED ../tests/test_dashboard.py::test_add_user_posts_and_count_updates |
============================== 12 passed in 7.15s ============================== |
[test.sh] starting backend (Flask :5001)... |
[test.sh] starting frontend (Vite :5173)... |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
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 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
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:
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:
jq '.steps[] | {source, message, metrics}' \
fsb/trajectories/screenshot2-add-expense-sparse/*/trial-0/agent/trajectory.json
Convert to a queryable Dataset
harbor traces export -p ./fsb/trajectories/screenshot2-add-expense-sparse \
--instruction-metadata --verifier-metadata
Or programmatically:
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
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
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
hfCLI logged in (hf auth login)- Python with
huggingface_hub(+harborfortraces export) - For re-running: Docker daemon running locally
- Downloads last month
- 21