Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
0
89
[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 ==============================

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

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 — 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

hf api repos/ApolloTeam/fullstackbench-tasks/tree/main --repo-type dataset \
  | jq -r '.[] | select(.type=="directory") | .path'

Or browse in the HF file viewer.

Download one task

hf download ApolloTeam/fullstackbench-tasks \
    --repo-type dataset \
    --include "screenshot2-add-expense-sparse/*" \
    --local-dir ./tasks

Run a task with Harbor

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:

# 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 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.
Downloads last month
32