Skip to content

Shared report shell, components and message catalog #331

Done

Description

@lanyue-llk

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

Problem

Every track renders reports with its own shell.

  • Seven renderers of 1.9k-6.2k lines (web_extract/report.py 6,167; web_fetch/report.py 4,684; web_search/report.py 4,315; browser_use/report.py 4,261; trajectory_replay/webarena_report.py 2,290; lexbench/report.py 2,132; public_webarena/report.py 1,903), each with its own CSS and JS; reporting/ has none.
  • table is defined three times (web_fetch/report.py:751, web_extract/report.py:163, web_search/report.py:114).
  • Message catalogs have four APIs (trajectory_replay/messages.py:9, web_extract/messages.py:11, web_search/messages.py:21, the two report_i18n.py) beside reporting/locales.py.
  • trajectory_replay/report.py and public_webarena/report.py share 21 same-named functions, several 96-100% identical; the same-task explorer exists three times (trajectory_replay/report.py:1006, public_webarena/report.py:1598, browser_use/report.py:907).

Direction

In order: one message catalog API on reporting/locales.py; shared page shell, navigation, theme, table and evidence-link components in reporting/; one data-driven same-task explorer. Reports are hash-bound, so migrate one track at a time and keep published packages intact.

Done when

  • One catalog API and one page shell used by every track.
  • One same-task explorer generated from the participant registry.

Paths are relative to src/harness/ unless prefixed; 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

    Done: shared shell (reporting/shell.py), one message catalog API (reporting/locales.py) and one data-driven same-task explorer (reporting/explorer.py) used by Web Search (#366), Web Extract (#370), Browser Use (#373), Trajectory Replay (#376) and Web Fetch (#375).

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