← all tasks / browser-automation / browser-agent-workflows
browser-agent-workflows · browser-automation · ranked by pass rate ↓
Share

Browser agent workflows

runs
36
36 self-reported
solutions
36
spend · est.
$1.24
$1.24 CLI-priced · 3 unknown · not a bill

36 cases

Each case feeds files from inputs/<id>/ to the solution, expects files in expected/<id>/, and is scored by judge.py then aggregated by grader.py.

traptask.yaml · source on GitHub

cases (36)

▸extract_4231Return only the tracking reference for Willow-563.

input

question.txt

Return only the tracking reference for Willow-563.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/extract_4231

Submit only the requested value.

expected output

answer.json

{
  "id": "extract_4231",
  "family": "extract",
  "answer": "T3898"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸extract_4328Return only the tracking reference for Elm-261.

input

question.txt

Return only the tracking reference for Elm-261.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/extract_4328

Submit only the requested value.

expected output

answer.json

{
  "id": "extract_4328",
  "family": "extract",
  "answer": "T7823"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸extract_4425Return only the tracking reference for Cedar-660.

input

question.txt

Return only the tracking reference for Cedar-660.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/extract_4425

Submit only the requested value.

expected output

answer.json

{
  "id": "extract_4425",
  "family": "extract",
  "answer": "T4748"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸inventory_4242Return only the number of units of Maple in stock.

input

question.txt

Return only the number of units of Maple in stock.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/inventory_4242

Submit only the requested value.

expected output

answer.json

{
  "id": "inventory_4242",
  "family": "inventory",
  "answer": "7"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸inventory_4339Return only the number of units of Ash in stock.

input

question.txt

Return only the number of units of Ash in stock.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/inventory_4339

Submit only the requested value.

expected output

answer.json

{
  "id": "inventory_4339",
  "family": "inventory",
  "answer": "4"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸inventory_4436Return only the number of units of Yew in stock.

input

question.txt

Return only the number of units of Yew in stock.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/inventory_4436

Submit only the requested value.

expected output

answer.json

{
  "id": "inventory_4436",
  "family": "inventory",
  "answer": "9"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸invoice_4253Return only the line total for Pine (units multiplied by unit price).

input

question.txt

Return only the line total for Pine (units multiplied by unit price).

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/invoice_4253

Submit only the requested value.

expected output

answer.json

{
  "id": "invoice_4253",
  "family": "invoice",
  "answer": "198"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸invoice_4350Return only the line total for Birch (units multiplied by unit price).

input

question.txt

Return only the line total for Birch (units multiplied by unit price).

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/invoice_4350

Submit only the requested value.

expected output

answer.json

{
  "id": "invoice_4350",
  "family": "invoice",
  "answer": "42"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸invoice_4447Return only the line total for Willow (units multiplied by unit price).

input

question.txt

Return only the line total for Willow (units multiplied by unit price).

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/invoice_4447

Submit only the requested value.

expected output

answer.json

{
  "id": "invoice_4447",
  "family": "invoice",
  "answer": "152"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸ticket_4264Create a ticket with subject Elm-229 and priority High.

input

question.txt

Create a ticket with subject Elm-229 and priority High.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/ticket_4264

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "ticket_4264",
  "family": "ticket"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸ticket_4361Create a ticket with subject Cedar-628 and priority High.

input

question.txt

Create a ticket with subject Cedar-628 and priority High.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/ticket_4361

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "ticket_4361",
  "family": "ticket"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸ticket_4458Create a ticket with subject Maple-326 and priority High.

input

question.txt

Create a ticket with subject Maple-326 and priority High.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/ticket_4458

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "ticket_4458",
  "family": "ticket"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸catalog_4275Reserve two units of Ash for pickup. Stop when reserved.

input

question.txt

Reserve two units of Ash for pickup. Stop when reserved.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/catalog_4275

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "catalog_4275",
  "family": "catalog"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸catalog_4372Reserve two units of Yew for pickup. Stop when reserved.

input

question.txt

Reserve two units of Yew for pickup. Stop when reserved.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/catalog_4372

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "catalog_4372",
  "family": "catalog"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸catalog_4469Reserve two units of Pine for pickup. Stop when reserved.

input

question.txt

Reserve two units of Pine for pickup. Stop when reserved.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/catalog_4469

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "catalog_4469",
  "family": "catalog"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸calendar_4286Schedule visit T6773 for 2026-12-15 and confirm it.

input

question.txt

Schedule visit T6773 for 2026-12-15 and confirm it.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/calendar_4286

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "calendar_4286",
  "family": "calendar"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸calendar_4383Schedule visit T3698 for 2026-12-12 and confirm it.

input

question.txt

Schedule visit T3698 for 2026-12-12 and confirm it.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/calendar_4383

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "calendar_4383",
  "family": "calendar"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸calendar_4480Schedule visit T7623 for 2026-12-26 and confirm it.

input

question.txt

Schedule visit T7623 for 2026-12-26 and confirm it.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/calendar_4480

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "calendar_4480",
  "family": "calendar"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸locale_4297Return the ISO date (YYYY-MM-DD) of the Cedar shipment. Dates use DD/MM/YYYY.

input

question.txt

Return the ISO date (YYYY-MM-DD) of the Cedar shipment. Dates use DD/MM/YYYY.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/locale_4297

Submit only the requested value.

expected output

answer.json

{
  "id": "locale_4297",
  "family": "locale",
  "answer": "2026-12-25"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸locale_4394Return the ISO date (YYYY-MM-DD) of the Maple shipment. Dates use DD/MM/YYYY.

input

question.txt

Return the ISO date (YYYY-MM-DD) of the Maple shipment. Dates use DD/MM/YYYY.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/locale_4394

Submit only the requested value.

expected output

answer.json

{
  "id": "locale_4394",
  "family": "locale",
  "answer": "2026-12-22"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸locale_4491Return the ISO date (YYYY-MM-DD) of the Ash shipment. Dates use DD/MM/YYYY.

input

question.txt

Return the ISO date (YYYY-MM-DD) of the Ash shipment. Dates use DD/MM/YYYY.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/locale_4491

Submit only the requested value.

expected output

answer.json

{
  "id": "locale_4491",
  "family": "locale",
  "answer": "2026-12-19"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸handoff_4308In the signed-in demo workspace, open Yew and assign ticket T2323 to Cedar.

input

question.txt

In the signed-in demo workspace, open Yew and assign ticket T2323 to Cedar.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/handoff_4308

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "handoff_4308",
  "family": "handoff"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸handoff_4405In the signed-in demo workspace, open Pine and assign ticket T6248 to Maple.

input

question.txt

In the signed-in demo workspace, open Pine and assign ticket T6248 to Maple.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/handoff_4405

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "handoff_4405",
  "family": "handoff"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸handoff_4502In the signed-in demo workspace, open Birch and assign ticket T3173 to Ash.

input

question.txt

In the signed-in demo workspace, open Birch and assign ticket T3173 to Ash.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/handoff_4502

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "handoff_4502",
  "family": "handoff"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸frame_4319Enter T7098 in the embedded partner form and submit.

input

question.txt

Enter T7098 in the embedded partner form and submit.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/frame_4319

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "frame_4319",
  "family": "frame"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸frame_4416Enter T4023 in the embedded partner form and submit.

input

question.txt

Enter T4023 in the embedded partner form and submit.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/frame_4416

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "frame_4416",
  "family": "frame"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸frame_4513Enter T7948 in the embedded partner form and submit.

input

question.txt

Enter T7948 in the embedded partner form and submit.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/frame_4513

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "frame_4513",
  "family": "frame"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸shadow_4330In the address widget, change the delivery city to Maple.

input

question.txt

In the address widget, change the delivery city to Maple.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/shadow_4330

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "shadow_4330",
  "family": "shadow"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸shadow_4427In the address widget, change the delivery city to Ash.

input

question.txt

In the address widget, change the delivery city to Ash.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/shadow_4427

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "shadow_4427",
  "family": "shadow"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸shadow_4524In the address widget, change the delivery city to Yew.

input

question.txt

In the address widget, change the delivery city to Yew.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/shadow_4524

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "shadow_4524",
  "family": "shadow"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸dynamic_4341Load pending shipments and release shipment Pine-618.

input

question.txt

Load pending shipments and release shipment Pine-618.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/dynamic_4341

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "dynamic_4341",
  "family": "dynamic"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸dynamic_4438Load pending shipments and release shipment Birch-316.

input

question.txt

Load pending shipments and release shipment Birch-316.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/dynamic_4438

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "dynamic_4438",
  "family": "dynamic"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸dynamic_4535Load pending shipments and release shipment Willow-133.

input

question.txt

Load pending shipments and release shipment Willow-133.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/dynamic_4535

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "dynamic_4535",
  "family": "dynamic"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸correction_4352Correct the draft quantity for Elm-273 from 1 to 5 and approve the corrected draft.

input

question.txt

Correct the draft quantity for Elm-273 from 1 to 5 and approve the corrected draft.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/correction_4352

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "correction_4352",
  "family": "correction"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸correction_4449Correct the draft quantity for Cedar-672 from 1 to 2 and approve the corrected draft.

input

question.txt

Correct the draft quantity for Cedar-672 from 1 to 2 and approve the corrected draft.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/correction_4449

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "correction_4449",
  "family": "correction"
}

Scored by judge.py — see Scoring logic below for the full rule.

▸correction_4546Correct the draft quantity for Maple-489 from 1 to 7 and approve the corrected draft.

input

question.txt

Correct the draft quantity for Maple-489 from 1 to 7 and approve the corrected draft.

Open https://a7z227rou7.execute-api.eu-central-1.amazonaws.com/case/correction_4546

After the change is saved, submit only the complete receipt shown in the workspace.

expected output

answer.json

{
  "id": "correction_4546",
  "family": "correction"
}

Scored by judge.py — see Scoring logic below for the full rule.

scoring logic

judge.py runs once per case and prints a score per case. grader.py runs once at the end and folds case scores into a run-level summary.

▸judge.py50 lines · view on GitHub
"""Grade an exact read or an AWS-signed receipt without a network dependency."""
import base64
import hashlib
import hmac
import json
import os
from pathlib import Path
import re

HERE = Path(__file__).resolve().parent
# ASN.1 DigestInfo for SHA-256 in the PKCS #1 v1.5 encoded message.
SHA256_PREFIX = bytes.fromhex("3031300d060960864801650304020105000420")


def valid_receipt(answer, case_id, public_key):
    match = re.fullmatch(r"(browser-workflows-v1\.([a-z]+_[0-9]+)\.[0-9a-f]{32})\.([A-Za-z0-9_-]{342})", answer)
    if not match or match[2] != case_id:
        return False
    signature = base64.urlsafe_b64decode(match[3] + "==")
    if base64.urlsafe_b64encode(signature).decode().rstrip("=") != match[3]:
        return False
    n = int(public_key["n"], 16)
    value = int.from_bytes(signature, "big")
    if value >= n:
        return False
    size = (n.bit_length() + 7) // 8
    decoded = pow(value, public_key["e"], n).to_bytes(size, "big")
    digest = SHA256_PREFIX + hashlib.sha256(match[1].encode("ascii")).digest()
    encoded = b"\x00\x01" + b"\xff" * (size - len(digest) - 3) + b"\x00" + digest
    return hmac.compare_digest(decoded, encoded)


def main():
    manifest = json.loads(os.environ["TRAPTASK_MANIFEST"])
    reference = json.loads((Path(manifest["expected_dir"]) / "answer.json").read_text())
    stdout = Path(manifest["run"]["stdout"])
    exited = json.loads(Path(manifest["run"]["meta"]).read_text()).get("exit_code") == 0
    answer = stdout.read_text(errors="replace").strip() if stdout.stat().st_size <= 4096 else ""
    if "answer" in reference:
        passed = answer == reference["answer"]
    else:
        key = json.loads((HERE / "public-key.json").read_text())
        passed = valid_receipt(answer, reference["id"], key)
    passed = passed and exited
    print(json.dumps({"passed":passed, "score":int(passed), "family":reference["family"]}))


if __name__ == "__main__":
    main()
▸grader.py18 lines · view on GitHub
"""Aggregate the 36-case task. Missing cases earn no credit."""
import json
import os
from pathlib import Path


def main():
    rows = json.loads(os.environ["TRAPTASK_MANIFEST"])
    total = len(list((Path(__file__).resolve().parent / "expected").glob("*/answer.json")))
    successes = sum((row.get("metrics") or {}).get("passed") is True for row in rows)
    rate = successes / total
    print(json.dumps({"passed":successes == total, "pass_rate":rate, "score":rate,
                      "n_passed":successes, "n_total":total}))


if __name__ == "__main__":
    main()