Skip to content

Restore native NVIDIA report presentation and reduce clutter - #560

Merged
rng1995 merged 56 commits into
mainfrom
codex/report-gitlab-parity
Nov 16, 2026
Merged

rng1995 merged 56 commits into
mainfrom
codex/report-gitlab-parity

Conversation

@rng1995

@rng1995 rng1995 commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Replace the previous HTML layout with a shared NVIDIA presentation across all three tiers, restore the human-readable Tier 3 baseline comparison and agent cards, and make saved incomplete runs easier to read. All report entry points use one renderer; scores, gates, applicability, execution backends and CLI options are unchanged.

This is an intentional presentation and navigation redesign: clickable tier cards replace the left sidebar and sticky mobile tier bar. Without a saved choice, reports containing Tier 3 open in dark mode and other reports in light mode, replacing the device-theme default. Saved Light, Dark and System choices take precedence.

BEFORE / AFTER behavior

Area Before After
Header and versions Compact branding and hidden versions. Native header scale, renderer version beside SkillEvaluator, recorded SkillSpector versions in Tier 1, aligned 1280px content and wrapping mobile labels.
Overview and Insights Missing baseline/peer context, duplicate status/coverage tiles and repeated failure paragraphs. Default-open Score/Baseline/Lift comparison with Overall and peer evidence; one compact status/action summary, complete recorded advice in Insights and full errors in Diagnostics. Missing measurements stay N/A. Default Overview text is reduced by 42–45% without reducing font sizes.
Dimension definitions Meanings are hidden behind generic Details or grouped away from their scores. Compact Definition disclosures directly beneath each dimension name; Reasoning retains the recorded score explanation and evidence. Works for unavailable/peer-only rows, keyboard access and no-JavaScript viewing.
Harbor and plugin evidence Links appear only in Diagnostics or disappear behind empty metadata; composition with the pending public plugin workflow raises for HTML runtime evidence. Recorded logs/analysis in the Tier 3 tile and Overview; one shared passive composition hook validates static/runtime snapshots before rendering HTML. Saved evidence and other formats remain supported.
Navigation and theme Sidebar, sticky mobile tier bar and device-theme default. Clickable tier cards and wrapped controls; dark for Tier 3 and light otherwise, with saved choices and System mode respected.
Readability and contrast Status chips and hover states have poor contrast; repeated inventories and diagnostics compete with findings. Contrast checks cover both themes. Routine provenance, recorded reasoning and optional evidence stay folded; exact repeated Dataset causes are grouped within their attempt/status while retaining every assertion and evidence association.
Performance and print Whole preview payloads are embedded for charts; chart initialization repeats and filtered Dataset cards can disappear from print. Minimal chart projections, compact export JSON and reusable lazy chart instances reduce HTML size; print prepares unvisited charts and includes all Dataset cards.
Exports and wording Display normalization can alter full Tier 3 downloads; unavailable comparisons and N/A verdict explanations overstate conclusions. Full Tier 3 downloads preserve the retained object; comparison/exception wording preserves the relevant corrections from #561 without changing scores.

Data and compatibility

  • CLI JSON change: validator rows add optional_skip only when the recorded metadata is a boolean. The retained reader round-trips it without changing gate rules. The shared writer matches Enable public plugin assessment and saved-run reports #394 so the combined tree has one assignment.
  • Persisted insights: newly saved failed-run conclusions/recommendations keep the existing raw error text. Concise failure summaries are a renderer-only projection. Execution errors, verdicts and scores are retained.
  • Exports: the HTML snapshot envelope includes supplied plugin projections and differs from CLI JSON. The full retained Tier 3 object and CI canonical_json_url artifact behavior remain unchanged.
  • Failed-arm diagnostics: retain diagnostic trial rows and exact canonical exports while excluding failed-arm evidence from lift panels, including failed baselines and bounded previews. Complete peers retain their comparisons.
  • Plugin composition: this PR owns the shared passive HTML composition hook used by Enable public plugin assessment and saved-run reports #394. Combining the branches must retain this updated plugin_reports.py; its runtime validator and optional-skip writer coalesce with Enable public plugin assessment and saved-run reports #394. No CLI plugin execution is introduced here.
  • Optional native evidence: bounded passive adapters display recorded dependency completeness, composition/ablation, Harbor delivery failures, comparison basis and recovery notes. They preserve component/agent ownership and never invent judgments or hosted URLs. The two actual supplied runs have no published Harbor URLs; recorded/synthetic positive cases verify the tile and Overview links.
  • Browser infrastructure: keep the development-only Playwright dependency, synthetic regression suite and path-filtered CI job with the renderer change they verify. They are not runtime dependencies.
  • The presentation manifest records locally verifiable style snapshots and intentional adaptations. It does not claim a full-template or JavaScript comparison against an inaccessible reference.
  • Preserve Chart.js 4.5.1 and notices, escaping/redaction, safe URLs, finite values, bounds and atomic output protections. Private reports, datasets, reference payloads and local audit artifacts remain excluded.

Verification

  • The full 523-test public benchmark gate file passed, retaining exact verdict and warning assertions while targeting the current Live quality lead.
  • 265 focused checks passed for the final dimension placement, status rendering, incomplete scans, upstream budget/coverage behavior and report scope. The budget regressions check visible report text and exact original canonical evidence separately.
  • 78 installed-wheel browser checks passed during the row-definition implementation. The dedicated offline browser CI job verifies the final commit from a freshly built wheel outside the checkout, including keyboard, no-JavaScript, theme, mobile, print, charts and downloads.
  • Retained replay preserves 218 actual rows + 26 normalized historical rows, canonical payloads, scanner provenance and plugin projections. Coverage remains 28/36 and 12/20, with zero provider calls and zero rescored trials.
  • Before/after desktop/mobile captures cover the actual incomplete reports and successful retained examples. The original clarity work reduces repeated Overview text; per-row definitions start collapsed and replace the separate guide and duplicate Reasoning definitions.
  • Final wheel/sdist build passed; 53 reporting files and 3 license files match source and both archives. Source and archive OSS scans passed with the configured negative-test allowlist.
  • Ruff, touched-file formatting, whitespace checks and pinned Fern validation passed; Fern reports zero errors and one optional unauthenticated-check warning.
  • Scratch integration with Enable public plugin assessment and saved-run reports #394 passed 44 plugin command/composition checks; its optional-skip writer coalesces into one assignment.
  • Final supported-Python, platform, security, packaging and offline browser CI checks passed on e70635c. GitHub reports a clean merge state, no conflicts and zero unresolved review threads. These checks are the full repository merge gate; no full local-suite green result is claimed.

Private reports, screenshots, retained reference data and local audit artifacts remain outside committed files and distributions. All commits carry DCO sign-offs.

Release Impact

  • Updated CHANGELOG.md and reporting documentation.
  • Added focused behavioral regressions; new commits carry DCO sign-offs.
  • The default HTML presentation/navigation changes and additive CLI JSON optional_skip field are disclosed above; there is no scoring-policy or CLI-option migration.

…egexp'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

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

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 and others added 3 commits November 14, 2026 09:41
…egexp'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

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

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 and others added 16 commits November 14, 2026 22:30
A failed Tier 3 run stored new conclusion and recommendation text, with new
insight_kind, metric, category and source keys, in the saved payload. The HTML
report builds the same concise view from the saved payload at render time, so
the producer change was not needed for the new layout and altered persisted
JSON and Markdown output.

Failed runs store the recorded error text again, as before. The insights test
now checks the report view built from the saved payload.

Signed-off-by: Christopher Kevin <[email protected]>
The test hashes the style blocks of report.html.j2 and compares them with
digests recorded in the test. It does not compare against any other source,
so it is named and documented as a snapshot of this template. The
presentation manifest lists the renamed test.

Signed-off-by: Christopher Kevin <[email protected]>
Plugin evidence now renders through plugin_evidence.html.j2 inside the tier
sections. Nothing passes plugin_view or tier3_plugin to report.html.j2, so
its .plugin-section style block never rendered, and the .plugin-evidence-section
rules in report_ui.css.j2 match no markup. plugin_static_sections.html.j2 and
plugin_runtime_sections.html.j2 are no longer loaded by any code.

Remove them. The rendered report is unchanged apart from the three unused CSS
rules, and the style snapshot digest is updated for the removed block.

Signed-off-by: Christopher Kevin <[email protected]>
…manifest

The presentation manifest and the native feature restoration plan named a
source version and commit, along with hashes of that source's template and
styles, that cannot be checked from this repository. The manifest also read as
a larger verified port than the two style digests it records.

Removed the source version and commit, the hashes of that source, and the list
of reused presentation features. The manifest now keeps the digests of this
repository's two style blocks, the intentional adaptations and the tests that
guard them. A new test fails when those digests, the template path or a listed
test name go stale.

Signed-off-by: Christopher Kevin <[email protected]>
White text on the bright status colors was below 4.5:1: 2.28:1 on the green
pass chip, 1.92:1 on the yellow warn chip and 3.76:1 on the red fail chip, and
the same pattern on the issue count badge, incomplete badge, hovered skill and
quality pills, the open validator header and the back-to-top button. The
skipped chip's muted text was 3.86:1 in the light theme.

Tier chips use the badge background and text pairs. The count and incomplete
badges use a deeper red with white text, and the bright yellow and green fills
keep their color with dark text, as the active controls already do. The new
tests resolve the rendered CSS in both themes and check each pairing.

Signed-off-by: Christopher Kevin <[email protected]>
…docs

Reword four plan-doc lines so they describe the work on this branch without referring to another repository or a private scoring formula.

Signed-off-by: Christopher Kevin <[email protected]>
@chrisknvidia

Copy link
Copy Markdown
Collaborator

Review follow-up on e4c7aeaa8769.

No additional blocking defect confirmed in this risk-focused review. With the frozen development/Tier 3 environment, 86 real Chromium checks passed (including desktop/mobile navigation, themes, charts, downloads and print) plus 78 focused renderer checks. A real validate run with schema+harness (Codex and Claude Code) generated HTML/JSON/Markdown/SARIF successfully. The current shared HTML hook also passes passive plugin payloads into rendering. This does not establish every #394/#564 merge-order combination: no new combined-branch tree, provider-backed evaluation, live Harbor upload or complete repository test suite was run. Please preserve the shared composition contract when combining those PRs.

@rng1995
rng1995 merged commit 186134b into main Nov 16, 2026
28 checks passed
@rng1995
rng1995 deleted the codex/report-gitlab-parity branch November 16, 2026 14:51
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.

3 participants