Repository navigation
Browser Use report on the shared report template with a shared same-task explorer - #373
Merged
Merged
Conversation
…ell options Add one data-driven same-task explorer (participants from the caller's registry, a baseline selector, multi-select comparisons and explicit outcome relations) so tracks stop keeping their own matrices. The release gate gains check_template_pages, which compares every edition's registered pages with the recorded template variant. The shell page accepts linked assets and a pre-rendered heading, the table takes an id, caption and classes, and evidence links can open a shared viewer page. The catalog API reads named sections.
Browser Use becomes a track template whose pages fill the base roles; each page writer returns slot fills, every page uses the shared shell, navigation, tables and evidence links, and the same-task matrix is the shared explorer. The manifest records the template variant and the report check verifies page roles and section order in every edition. The navigation comes from the template, so the English edition no longer keeps its own copy. Candidate-benchmark facts move to the adoption research record, the evaluator version comes from the recorded environment, and the check drops campaign-specific phrases. The report no longer imports the Web Fetch stylesheet; it carries the rules its pages use.
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Port the Browser Use report onto the shared report template (spec "Report templates"), the second track after Web Search. Part of #337, #331 and #330.
New structure
flowchart TB BT["reporting/templates.py<br/>page roles, slot order, Variant"] --> TT["browser_use/template.py<br/>TEMPLATE: standard variant<br/>(interpretation declared absent)"] TT --> R["browser_use/report.py<br/>page writers return slot fills → compose(role, fills)"] SH["reporting/shell.py<br/>page, navigation, table, evidence_link"] --> R EX["reporting/explorer.py<br/>same-task explorer + SCRIPT"] --> R LC["reporting/locales.py<br/>catalog_text, catalog_section"] --> R RD["research/browser-use-benchmark-adoption.json<br/>candidate_benchmarks"] --> R R --> M["report-data.json<br/>template: base, track, variant, versions"] M --> RC["browser_use/report_check.py"] RC --> G["reporting/release_check.check_template_pages<br/>roles + section order, every edition"]What moved or was removed
browser_use/template.py): onestandardvariant. Home → home; Dataset → datasets; Methodology, Browsers tested, Accounts → methodology; Results analysis → results; Review, Fix log → review; Environment and reproduction → reproduce; Changes → changes. The report has no separate interpretation page, sointerpretationis declared absent. Detail routes (task, result, browser, evidence viewer, fix record) take the role of the page that links them.compose. The home article is split into lead / core-comparison / summary / findings / coverage. The report manifest (report-data.json,data/summary.json) now recordsbase,track_template,variantand their versions.shell.page(the extensions are instance-neutral: optional linkedheadassets, a pre-renderedheading_html, and inline style/script left out when empty),shell.navigation,shell.table(newtable_id,caption,classes,header_html) andshell.evidence_link(newviewermode for a shared viewer page). Removed: the Browser Use_page/_nav/_hero, the hand-built task, result and matrix tables, and the Web Fetch stylesheet import (reporting.style).report.cssnow carries only the shared rules its pages use (found by matching selectors against the built pages and the renderer source).report_i18n.NAVand the English header rewrite are removed; the English pass renders its own navigation, andlocalize_htmlonly keeps the onehreflanglink pointing back to the Chinese route.report_i18n.report_textis removed in favour oflocales.catalog_text; frozen rationale translations are read through the newlocales.catalog_section.reporting/explorer.py): one data-driven component. Columns come from the caller's participant registry. It has a baseline selector, multi-select compared participants and explicit relations (outcomes differ, baseline passes while a comparison fails, baseline fails while a comparison passes, all pass, all fail), plus row filters. Every outcome links to its full result. Browser Use passes model × browser configurations. The API (Participant,Outcome,Task,Filter,Labels) carries no Browser Use knowledge, so Trajectory Replay can reuse it;trajectory_replay/is not touched.filterMatrixis removed fromreport.js.report.py~3040-3062, with "136 live websites", "100 mixed tasks", "200 … tasks") moves tocandidate_benchmarksinresearch/browser-use-benchmark-adoption.jsonwith en/zh text. Its 27 catalog entries are removed. The evaluator version comes from the recorded environment (webarena_verified_version) instead of the literal "1.2.3". The two campaign-specific "179-task" forbidden phrases are removed fromreport_check.py, along with their catalog entries. The required-pages list in the check is derived from the template.release_check.check_template_pages(root, record, template)verifies, in every generated edition, that each registered page exists, fills its role and keeps the base slot order. The Browser Use check runs it for profile-bound reports. Legacy unbound reports keep their shape, the same rulecheck_template_identityuses.Baselines
tests/baselines/browser-use.jsonandbrowser-use-pass.jsonchanged. Scored results and table values are unchanged, with one exception noted below:inventory) now comes before the same-task matrix and BrowserTool latency (comparison). On Reproduce the public entry points (commands) now come before identity, deployment and isolation (notes).webarena_verified_version, and the old text was a hard-coded literal. The Reproduce identity table already showed "—" for the same field.assets/style.css,assets/report.jsanddata/summary.jsonchanged. The causes are the shared shell skeleton (<nav>/<main data-page-role>with slot wrappers, the heading outside the lead section), the shared table wrapper, the explorer markup and script, the stylesheet without the Web Fetch import, and the template record in the manifest.Web Search baselines are unchanged, so the shell extensions are backward compatible.
Allowlists
Instance-literal: 1 → 1. Layering: 0 → 0. Browser Use modules are outside the scanned shared scope.
Verification
uv run --frozen --all-extras python -m pytest tests -n 8 --dist worksteal: 21600 passed, 78 skippedmake lint-check: passed.node tests/browser_use/test_report_ui.mjs: passedtests/test_report_explorer.pycovers rendering and refusals.test_check_verifies_template_pages_and_section_orderis the negative control. It covers swapped slots, a wrong page role, a wrong role in the English edition, a missing page and a manifest without a variant.uv run --frozen lexbench-webfetch version: scoring-source hash unchanged (no scorer sources touched).Breaking changes
None. No command was renamed or removed. Python API removals:
harness.browser_use.report_i18n.report_textandNAV.Remaining
check_template_pagescan replace.Part of #337
Part of #331
Part of #330