Skip to content

Reports: redesign detail pages and visualization for efficient case review #405

Backlog

Description

@lanyue-llk

Part of #395. Follow-up design work, deliberately not done in the convergence session. Builds on #397 (shared inventory, home charts, prev/next on some detail pages, merged in #400): this issue covers what #397 did not — how a reviewer reads one case and moves between cases efficiently.

Reviewed the published Web Fetch report https://yours.lexmount.cn/artifact-site/s/jGXOOJwkdBK_ (430 tasks × 6 methods, zh) at 1440/390 px, light and dark. It predates #400, but most items below still apply to main: main has ranked_bars/dumbbell and a sessionStorage-based detail_navigation, but no aligned comparison, no keyboard navigation, no same-category navigation and no failure-category or latency charts.

Problem

Detail page (e.g. attempts/moli-fixed__dynamic-107-redoc-cafe-api__r001.html)

  1. The verdict says only "任务规则未满足"; the actual causes (16/18 required texts missing, 0/5 coverage segments above the floor) are not in the first screen.
  2. Reference and output sit in two independent scroll panes: reference items carry no hit/miss state, the output has no highlighting, the panes do not scroll together, and two SHA-256 lines head the output pane. On a passed case 22,952 characters sit in a 558 px pane with no marker of where the required texts matched.
  3. Rule results are 18 cards of ~170 px each further down, mostly "未找到可供定位的连续原文", followed by the coverage table; none anchor to positions in the text.
  4. Noise such as "至少 0 条记录" is shown as a requirement.
  5. At 390 px the panes stack and the sticky nav takes 138 of 844 px.

Navigation
6. To see the next case the reader returns to the inventory. On main, prev/next fills only from a sessionStorage trail, so a deep link has none; there are no keyboard shortcuts and no "next failure of the same category / family".
7. Comparing the same case across methods takes three hops (detail → dataset page with reference only → analysis explorer with a query).

Home / inventory
8. The home page had 15 tables and no charts; family cards say only "本地诊断结果,不提供名次。"; there is no failure-category breakdown and no latency distribution.
9. The inventory page is 3.2 MB, renders all 2,580 rows and is 129k px tall; "未通过" wraps one character per line and run ids are clipped.
10. Labels disagree across pages ("普通网页正文/图片获取/视频获取" vs "静态网站正文/网页内嵌媒体/直接媒体文件"); the 20 failure categories include duplicates ("任务规则未满足" vs "规则不满足").

Goal

A reviewer understands why a case failed within the first viewport, and reaches the next failure of the same kind with one keystroke.

Proposed design (shared src/harness/reporting/, track adapters supply the data)

  • Verdict header: failed rules as counted chips (e.g. "Required text 2/18 · Coverage 0/5"), each linked to its evidence.
  • Aligned evidence view: reference/rules beside the output; matched spans highlighted and missing items marked in place; clicking a rule scrolls to its match; a coverage strip over the reference; synced scrolling on desktop, tabs at 390 px; long text virtualised; hashes move to the evidence section.
  • Case navigator: prev/next within the current filter plus "next with the same failure category / family"; the order travels in the URL or page data so deep links work; j/k, [/], Esc back to the list; a "12 / 952" position indicator.
  • Same-case method strip: one verdict chip per participant (from the registry) on every detail page, linking to that method's detail.
  • Charts (reporting/charts.py): per-family pass bars, failure categories stacked per method from one category registry, latency strip/box per method with its population stated.
  • Evidence/log viewer: one shared on-demand viewer for all tracks.

Keep

Full real reference and output with bytes and hashes; per-rule hit/miss data; the failure-first filterable inventory; the same-task combination explorer; source links and log downloads.

Acceptance criteria

  • Every failed rule is counted in the verdict and links to a highlight or a "missing" marker; check_presentation has negative controls for both.
  • Prev/next, same-category navigation and keyboard shortcuts work from a deep link and keep filters; verified in a hosted Yours preview.
  • Family, failure-category and latency charts appear with exact values as text and stay readable at 390 px.
  • Inventories render at most 100 rows at a time and no cell wraps one character per line.
  • One label registry for task families and failure categories, used by every page.
  • The report follows system dark mode and the theme choice persists across pages.
  • This report is rebuilt on the new template and republished through its profile.

Out of scope

Scoring or verdict changes, new measurements, and generating an English edition for this report.

Activity

  1. added
    enhancement
    on Nov 25, 2026
  2. lanyue-llk commented on Nov 25, 2026

    @lanyue-llk
    ContributorAuthor

    Design: what is shared and what is per-benchmark

    Visualization is neither fully shared nor per-track. Split it the same way the pipeline is split: benchmarks declare what to show as data; one shared component library decides how it is drawn.

    What genuinely differs is the evidence of one case:

    Track Output Verdict basis Fitting view
    Web Fetch text required texts, coverage segments aligned reference/output with matched spans and in-place missing markers
    Web Extract fields per-field annotations field-by-field expected vs actual
    Web Search ranked results relevance judgments, gold answer ranked list with judgment chips
    Browser Use / Replay action steps evaluator checks trajectory timeline (action, frame, check per step)
    Lexbench protocol attempts per-attempt checks attempt matrix

    A single generic diff for all of these would serve none of them. What is genuinely shared: page roles, verdict header, case navigation, same-case method strip, inventory, evidence/log viewer, aggregate charts, and the rule that every failed check links to its evidence.

    flowchart LR
        subgraph Benchmark["Benchmark adapter (data only)"]
            V["views(case, result) → [CheckList, TextAlignment, …]"]
            M["metrics: kind, direction, population"]
            F["failure taxonomy"]
        end
        subgraph Shared["reporting/ (one implementation)"]
            R["view registry: kind → typed model + component"]
            C["charts chosen by metric kind"]
            N["case index → prev/next, same-category, keys"]
            K["release check: every failed check has an anchor"]
        end
        V --> R
        M --> C
        F --> C
        V --> N
        R --> K
    
    Loading
    1. View kinds — a small, closed, registered set in reporting/views/: TextAlignment, FieldComparison, RankedList, Trajectory, AttemptMatrix, Scalars. Each has a typed, versioned model and one shared component. A benchmark adapter returns view models from scored results; it never writes HTML.
    2. Checks with anchors. Every rule result (Check) carries an anchor into a view (a span, field, rank, step or attempt). The verdict chips, "click a rule to jump", in-place missing markers and the release check (a failed check without an anchor is rejected) all come from this one model.
    3. Declared metrics and failure taxonomy. Benchmarks declare metric kind (rate, latency, cost, score), direction and population, plus a failure taxonomy. Chart choice follows the kind (rate → bar with n/N, latency → distribution, failure categories → stacked bars per method); tracks do not hand-pick charts.
    4. Case index as data. The ordered case list per filter is generated and shipped with the report, so prev/next, same-category next and keyboard navigation work from a deep link.
    5. Robustness. A new task shape adds a new view kind to the registry (reusable by every track) instead of a one-off track renderer — the spec's "extend the interface" rule. Models are validated before rendering; each view kind has a synthetic example and screenshot tests at 1440/390, light/dark. Per-case evidence is a separate JSON loaded on demand.

    Next step before implementation: confirm this split, then add an "Evidence views" subsection to docs/spec.md (Report templates) so it becomes the repository standard.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions