Skip to content

Base report template, track templates and default reports built from data alone #337

Done

Description

@lanyue-llk

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

Problem

"Template" today means a registry of pointers plus a reference report to imitate. No base template defines the pages, section order or slots of a report, so each track, and several variants within a track, decide their own shape.

  • configs/report-templates.json records, per track, a renderer path, command strings, tests and a pinned example report (example_version); reporting/templates.py:39-61 validates five keys and supplies a shared metric contract (:12-31). The presentation contract is prose in .agents/skills/benchmark-report/references/report-and-release.md:95-113, enforced on markup attributes by reporting/presentation.py.
  • Page sets differ per track. Web Fetch renders home, datasets, methodology, analysis, review, guide, reproduce, changes and accounts (web_fetch/report.py); Browser Use renders a similar set with its own code; Web Search, Web Extract, Trajectory Replay, the public WebArena replay and the headless report each define their own routes.
  • Variants are separate generators or modes, not selections over one template: Web Fetch registers six (certified, wcxb, local-audit, diagnostic-cohorts, published-snapshot-audit, saved-matrix), Web Extract five, Web Search three. WCXB, WebMainBench, the public WebArena replay and the headless report have no template entry of their own.
  • A default build is not always possible from data alone. Web Extract's report requires an authored --content file (web_extract/cli.py:118, 137, 156); WCXB requires a bound report-content.json and has no generated fallback (docs/architecture.md, "Restore report content"); Trajectory Replay's build takes a review input.
  • The result is that a new report tends to add a renderer mode or a variant, and two reports of the same track can differ in structure.

Direction

  1. Define the base template in src/harness/reporting/: the page roles (home, datasets, methodology, results, interpretation, review, reproduce, changes), the section order on each, the slots, and the generated default for every slot.
  2. Express each track's report as a track template that fills those slots and declares its metric set, comparison columns and result-detail layout. Benchmark-specific views become section hooks.
  3. Express each existing variant as registered data: a selection of slots and labels over the track template, with its runnable example. Remove the variant-specific generators as they are replaced.
  4. Make every track build a complete report from scored results and a profile with no authored content. Authored interpretation fills content slots when bound.
  5. Record base template, track template, variant and versions in the report manifest, and have the release gate verify the page roles and section order against the template.

This task defines the template contract and the defaults; #328 supplies the Web Fetch report model, #331 the shared shell and components, and #330 moves instance prose into content slots.

Done when

  • Every track's default report command produces the same page roles and section order from data alone, with no authored input required.
  • Every registered variant is a data entry over a track template, with an example and tests; no variant has its own generator.
  • The release gate fails a report whose pages or section order differ from its recorded template.
  • A new report instance needs no new template, renderer mode or generator.

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: the base template with eight page roles and slots (#366), track templates for Web Search, Web Extract, Browser Use, Trajectory Replay and Web Fetch, variants as registered data, default reports built from data alone, manifests recording template/variant, and release checks verifying page roles and section order (#366, #370, #373, #375, #376, #377).

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