Skip to content

Keep report navigation persistent and evidence accessible - #352

Merged
rng1995 merged 33 commits into
mainfrom
naren/reporting-workspace-navigation
Nov 7, 2026
Merged

rng1995 merged 33 commits into
mainfrom
naren/reporting-workspace-navigation

Conversation

@rng1995

@rng1995 rng1995 commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Long reports lose navigation, hide expanded evidence, and crowd text. Keep navigation available and give every tier a consistent reading rhythm while retaining the charcoal sidebar and restrained NVIDIA styling.

  • Use 14px body text at 1.6 line height, clearer label/value gaps, and more padding between cards, findings, disclosures, and table rows.
  • Synchronize sidebar, mobile sticky tiers, tiles, six Tier 3 views, keyboard selection, focus, and direct evidence links.
  • Measure actual wrapped navigation heights at boundary widths so deep-linked evidence stays visible; retain one main vertical scroll.
  • Offer System/Light/Dark, native scrollbars, matching no-JavaScript severity colors, readable print expansion, and uncapped expanded findings.
  • Keep command and agent assessments distinct; use shared per-result required/advisory reasons and truthful comprehensive tier tiles.

Stacked on #351 (naren/reporting-status-accounting).

Scoring formulas, thresholds, publication policy, exit codes, command-line options, artifact filenames, canonical JSON, redaction, and report-size limits are preserved. No internal integrations or plugin-specific implementation were copied.

Verification

  • Familiar with the Contributing Guidelines; all commits signed off.
  • Added focused regressions and updated report documentation.
  • Root self-review and independent review; all confirmed findings fixed and re-reviewed.
  • Final assembled focused selection: 381 passed.
  • Ran make test on the final combined source; result below.
  • make lint and make build passed; wheel/source archives and package metadata verified.
  • Fern validation: zero errors and the existing unauthenticated redirects warning; OSS source/archive and public benchmark checks passed.
  • No credentials, private datasets, proprietary benchmark content, or internal integrations added.

Final assembled make test: 24,962 passed, 35 skipped, no failures, in 348.53 seconds on Python 3.14 with four workers and repository default marker exclusions. Exact clean integration: 25fd11aaf18033b5fdc287e83c0431a69acb34f3.

Actual installed-wheel verification covered 1440, 761, 760, 421 and 390px layouts in both themes, generous text spacing, paired provenance, mixed required/advisory summaries, section/agent links, print/no-JavaScript and keyboard behavior. The latest evidence delta passed 24 fixture observations; the final chart delta passed 14 browser/offline/native-CSP cases, including collapsed and missing-runtime data links, JSON downloads and 16 painted chart observations. No runtime/CSP errors, page-wide overflow or network attempts were observed. Shared navigation assets match the six-scenario verified source; broad earlier layout/evidence matrices were retained rather than needlessly repeated.

Current-head GitHub checks are not all complete; this PR remains draft. The PR checks tab shows live status.

Review

Reviewed focus/ARIA/keyboard behavior, fragments, CSP, theme persistence, forced colors, print/no-JS, responsive overflow, and escaping. Confirmed spacing, wrapped-navigation, provenance-pairing, mixed-gate, hidden-focus, and no-JS palette findings are fixed and independently re-reviewed. The latest HTML/context selection passed 268 tests; six real-browser navigation scenarios passed, including all five severity palette comparisons.

All five PR discussions and review threads were checked: there are no review comments or unresolved threads. The combined changes were validated in isolated integration 25fd11aaf18033b5fdc287e83c0431a69acb34f3 without merging any PR into main. Leave open for human review.

Release Impact

  • Updated CHANGELOG.md.

@rng1995
rng1995 marked this pull request as ready for review November 6, 2026 02:56
@rng1995
rng1995 marked this pull request as draft November 6, 2026 03:30
rng1995 and others added 8 commits November 5, 2026 19:38
Review follow-ups for the status and accounting changes:

- Trial coverage reads the payload-level skip markers. A --skip-baseline
  run (mode "with_skill_only") omits the baseline condition, and an
  advisory Tier 3 skip has execution_status "skipped" with no agents.
  Both previously reported "scored trials unavailable"; they now report
  the arm as skipped, and the terminal summary omits the coverage line
  for a skipped Tier 3.
- A standalone Tier 3 report has no gating metadata, so a failing or
  incomplete Tier 3 verdict now drives the header, which had turned green
  beside a "Changes required" tile.
- Terminal N/A rows show their recorded reason instead of "1 checks
  passed" or "Skipped (see warnings)", and tier/coverage lines soft-wrap
  so counts are not split at narrow CI widths.
- Read the projection report as UTF-8 for the Windows job.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
…de accessible

Review follow-ups for the navigation changes:

- Fragment routing sends whole tiers (#tab-tierN) to activateReportTier
  and sidebar sections (#report-workspace, the skip link and brand link)
  to a shared section opener that scrolls to the top. Only evidence is
  centred; centring a container taller than the viewport put the skip
  link's target mid-report.
- The hero reason line counts required failures only and lists advisory
  failures on their own line, so "Passed required checks" no longer sits
  above "1 failed". A clean run shows no reason line.
- No-JS system dark mode mirrors the 25 hard-coded [data-theme="dark"]
  overrides, which left light cards under light text; a test keeps the
  two sets in sync.
- The agent deep link focuses the named agent panel, not the aria-hidden
  scroll anchor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
…-workspace-navigation

Signed-off-by: Narendran Raghavan <[email protected]>

@chrisknvidia chrisknvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed tab and fragment syncing, theme persistence, focus handling and the no-JavaScript view. Nothing blocking. Note that browser_navigation_checks.py hard-codes a macOS Chrome path and needs pre-rendered fixtures, so it can't run in CI or on Linux as written. Reading the browser path from an environment variable, or documenting how to run it, would help other reviewers.

chrisknvidia and others added 3 commits November 6, 2026 07:36
Resolve the CHANGELOG.md conflict: main and this PR each started a
"### Changed" list under Unreleased after 0.8.0. Keep one heading, with
main's CI redaction entry (#348) first and this PR's entries after it.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e-navigation

Resolve CHANGELOG.md by keeping both Unreleased entries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Base automatically changed from naren/reporting-status-accounting to main November 6, 2026 19:04

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review findings and fixes

An independent review of this PR found 4 issues: 2 P2 and 2 P3. All four are fixed in 3bb29fc. Each one was checked before and after the fix in headless Chrome.

# Severity Finding Fix
F1 P2 The skip link, brand link and #tab-tierN fragments landed in the middle of the report. The click handler centred every target, and centring a container taller than the viewport put its top off-screen. #tab-tierN goes to activateReportTier. Sidebar sections, the skip link and the brand link go through a shared openReportSection, which scrolls to the top. Only evidence is still centred.
F2 P2 The hero reason line counted advisory failures with required ones, so "Passed required checks" could sit above "1 failed". The line counts required failures only and reports advisory failures separately. It is hidden when both counts are zero.
F3 P3 The no-JS system dark fallback didn't mirror the hard-coded [data-theme="dark"] overrides, so the Tier 2 duplicate cards had light text on light cards. A prefers-color-scheme: dark block mirrors all 25 overrides under :root:not([data-theme]), and a test keeps the two sets in sync.
F4 P3 The agent deep link moved focus to an aria-hidden anchor. Focus goes to the named agent panel, and the anchor is kept only as the scroll target.

New tests:

  • In tests/reporting/test_report_navigation.py:
    • test_hero_reason_counts_advisory_failures_apart_from_the_required_result
    • test_nojs_dark_fallback_mirrors_every_hard_coded_dark_override
  • tests/reporting/browser_navigation_checks.py gains checks for agent link focus, reloading a tier fragment and the skip link.

@rng1995
rng1995 marked this pull request as ready for review November 6, 2026 19:09
rng1995 and others added 3 commits November 6, 2026 11:10
…354)

* Clarify Tier 2 evidence scopes and expose every Harbor job

Signed-off-by: Narendran Raghavan <[email protected]>

* Mark catalog metrics inapplicable outside catalog comparisons

Signed-off-by: Narendran Raghavan <[email protected]>

* Require recorded comparison evidence for Tier 2 completion

Signed-off-by: Narendran Raghavan <[email protected]>

* fix(reporting): keep artifact labels neutral and space tier2 scope links

Signed-off-by: Narendran Raghavan <[email protected]>

* fix(reporting): say when a Tier 2 scope was not run and keep Harbor jobs honest

Review follow-ups for the evidence views:

- A Tier 2 scope with no result and no recorded stage now reads "Not run
  by this command." instead of four "Unavailable" KPIs, so default
  validate reports no longer imply missing across-skills evidence.
- A collection index with fewer than two entries is not applicable
  rather than a completed zero-match comparison.
- Insufficient content no longer also gets the "coverage is incomplete"
  note; that note now needs an unfinished, non-skipped check.
- The across-skills KPI is "Similarity matches", since it counts every
  similarity finding, not only duplicates.
- A run-level Harbor analysis link that matches no job is listed as
  "Run analysis" instead of an invented numbered job, and a legacy
  job_url/analysis_url pair stays one job.
- The terminal panel normalizes the engine's Harbor "uploads" shape, and
  non-list jobs/evidence_links no longer crash display normalization.
- Markdown lists each Harbor job as its own item so CommonMark does not
  merge them into one paragraph.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>

* Merge uploaded Harbor links without replacing retained evidence

Signed-off-by: Narendran Raghavan <[email protected]>

---------

Signed-off-by: Narendran Raghavan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
…gation

Bring in main up to 0205909, the commit before #351 was squash-merged.
No conflicts.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…with -s ours

#351 was squash-merged as dd27412. This branch already contains #351's
final head 9e092ff, and the squash commit's tree is identical to merging
9e092ff into its parent 0205909, which this branch now also contains.
Recording the squash as merged with -s ours therefore adds no content and
drops none; it only stops main's copy of #351 from conflicting with the
copy this branch already has.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rng1995
rng1995 enabled auto-merge (squash) November 6, 2026 19:20
rng1995 and others added 2 commits November 6, 2026 11:24
browser_navigation_checks.py hard-coded the macOS Chrome path and needed
full.html, stress.html and absent.html rendered by hand, so it could not
run on Linux or in CI.

- The browser defaults to Playwright's bundled Chromium. --browser or
  SKILLEVALUATOR_TEST_BROWSER selects another Chromium-based executable,
  such as system Chrome.
- browser_navigation_fixtures.py renders the three reports from project
  code, including Tier 3 trials for the trials-table check. The script
  uses them unless --reports points at pre-rendered reports.
- A pytest test checks, without a browser, that the fixtures still
  render every element the browser checks use.
- The developer guide explains how to run the checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Resolve conflicts with #350, #353 and #371:

- CHANGELOG.md: take main's Unreleased layout and add this branch's
  Tier 2 evidence, reading-room and navigation entries under Changed.
  The PII digest and outcome-alignment entries are already on main.
- docs/reports.mdx: keep the navigation, theme and spacing paragraphs
  and main's offline chart paragraph.
- reporting/cli.py: keep the per-job Harbor artifacts helper. Main's
  only change there replaced cyan URLs, which the helper never uses.
- tier3/result_display.py: keep both the Harbor viewer and terminal
  style imports.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995
rng1995 merged commit d136a59 into main Nov 7, 2026
22 checks passed
@rng1995
rng1995 deleted the naren/reporting-workspace-navigation branch November 7, 2026 06:54
rng1995 added a commit that referenced this pull request Nov 12, 2026
…ent Tier 3 runs (#417)

* docs(reports): explain completed-agent results in incomplete multi-agent Tier 3 runs

When one of several agents fails, the HTML report and tier3-benchmark.md
show the best completed agent's score with a needs-attention warning, while
the run stays failed and its whole-run score stays null. No user guide said
what that score means. Add a "Completed agents in an incomplete run"
subsection to Reports & Results, list tier3-benchmark.md in the results
tree with its pair-writing rule, and link the section from the Tier 3
verdict table. A docs test pins the quoted labels to the rendered reports.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reports): move the completed-agent section to the live-eval guide

Put "Completed agents in an incomplete run" at the end of "Reading a
live-eval report", beside the other Tier 3 reading topics, and keep a
one-paragraph pointer after the publication eligibility paragraph. The
section no longer shares an insertion point with the Tier 2 subsection
that main added at the end of "Reading the final status".

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(tier3): say when the verdict table applies, next to the unscored-run rule

The cross-link paragraph sat right after the Tier 3 verdict table, where
the verdict-precedence port adds its own paragraph, so whichever landed
second would conflict. Move it after "Missing metrics are never coerced
to 0.0", which already covers a null overall_score and execution_status.

Also correct its claim: the table applies only when the run succeeds.
A run where every agent finished but the agents were scored on different
metric sets fails too, with a null overall_score and a neutral verdict.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reports): match the completed-agent section to what main renders

The section stays in docs/reports.mdx at the end of "Reading a live-eval
report"; d458d1d moved it there, although its title names the live
evaluation guide.

- Name the hero chip **Tier 3 quality**, as #352 relabeled it, and say
  the command status in the same hero still reads Changes required.
- The recovered-timeout count is the shown agent's own. Name the three
  outputs that give it, say the HTML moved it to Run details &
  provenance, and that the HTML and tier3-benchmark.md also give it when
  every agent finished.
- Say that the HTML still names the best agent and shows its lift in the
  Skill Lift card and Best-agent lift line even when its evidence is
  incomplete, and that the payload keeps summary.overall_lift and
  records the failed run's verdict as neutral.
- The report pair rule holds at the end of a tier3 evaluate run; view
  regenerates only a missing report.html.
- A whole-run result needs a rerun with every agent, not of the failed
  agent alone.

The docs test now uses a third, lower-scoring complete agent, so a
fallback to another agent fails it, and pins the recovered count to the
shown agent, the count in a run where every agent finished, and view
writing report.html alone.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reports): say every Tier 3 run writes the report pair, not only tier3 evaluate

A validate run that includes Tier 3 uses the same engine as tier3 evaluate,
so it also writes report.html and tier3-benchmark.md into the results tree,
follows the same pair rule and records report_status "degraded" when the
pair cannot be written. tier3-benchmark.md reads NOT ASSESSED because it
covers Tier 3 only, which holds even when validate ran Tiers 1 and 2.

A new test runs validate's Tier 3 step through the engine with the Harbor
edges stubbed and checks the pair rule there.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(changelog): say the best agent's score shows only when its evidence is complete

The entry said the reports show the best agent's score when one of several
agents fails. When that agent's evidence is incomplete, they show no score
and do not fall back to a lower complete agent. A new test pins the entry's
wording to the docs.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(reports): align incomplete-run guidance with current report verdicts

Signed-off-by: Narendran Raghavan <[email protected]>

---------

Signed-off-by: Narendran Raghavan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants