Skip to content

Trajectory Replay: one pipeline for the curated, catalog and public WebArena benchmarks #339

Done

Description

@lanyue-llk

Part of #336, the convergence on the repository specification (#313). Rules: 1, 3. Size: L.

Problem

The fixed-action replay track runs three benchmarks through four runner loops and three report builders.

Benchmark Runner Evaluator Report
Curated public-web suite trajectory_replay/runner.py (304 lines) core/executor.py:45 trajectory_replay/report.py (1,236)
WebArena-Verified catalog catalog_runner.py (832), webarena_replay.py (1,657), remote_execution.py (1,581) catalog_acceptance.py, retrieval_acceptance.py webarena_report.py (2,290)
Public WebArena recordings public_webarena/runner.py (908) public_webarena/evaluators.py public_webarena/report.py (1,903)
  • core/ (1,378 lines) is shared by the curated and public replays only.
  • _reset_state and _prepare_page are about 84% similar between runner.py and public_webarena/runner.py.
  • report.py and public_webarena/report.py share 21 same-named functions, several 96-100% identical; the curated suite has no release check.
  • The only evaluator interface is public_webarena/evaluators.py:35-134 (TaskEvaluator protocol and registry).

The public replay keeps its own report target and denominator by rule; that is a property of the report instance and does not require separate code.

Direction

One replay pipeline on trajectory_replay/core/: a single runner loop and report builder, with each benchmark as an adapter that supplies its task loading, input environment (live web, deployed WebArena, network replay), evaluator and views. Promote the evaluator protocol to the track level. Local and remote execution become execution backends of the same runner. Depends on the benchmark adapter interface task, #321 (browser adapter) and #325 (site adapters).

Done when

  • One runner loop and one report builder serve the three replay benchmarks.
  • Each benchmark is an adapter with a registered evaluator.
  • The public replay and the curated suite keep separate profiles, targets and denominators.
  • Existing replay results and published reports still verify.

Paths are relative to src/harness/; line numbers are from main at 997a228.

Activity

  1. added
    refactor
    on Nov 24, 2026
  2. lanyue-llk commented on Nov 24, 2026

    @lanyue-llk
    ContributorAuthor

    Status after #372 and #376: one replay runner loop (core/runner.py, ReplayBenchmark) for the curated and public benchmarks, an evaluator kind registry, one track template with four report variants and the shared explorer. Remaining and deliberately not done offline: turning the WebArena-Verified catalog loops (webarena_replay, catalog_runner, remote_execution) into execution backends of the shared runner and registering catalog_acceptance / retrieval_acceptance as evaluator kinds. This is live execution code with no offline coverage of real WebArena runs, so it should change together with a live validation run rather than blind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions