Skip to content

fix(tier3): show the execution backend in report.html - #694

Merged
chrisknvidia merged 7 commits into
mainfrom
fix/tier3-report-html-backend
Nov 16, 2026
Merged

chrisknvidia merged 7 commits into
mainfrom
fix/tier3-report-html-backend

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Builds on the summary.execution_backend data from merged #693. This PR adds the HTML display and its regression coverage.

report.html now shows which backend ran the evaluation, beside the existing sandbox Environment:

  • Agent evaluation summary: Backend: Harbor or Backend: NeMo Gym, above Environment: docker.
  • Evaluation dataset header: a Backend: chip before the Environment: chip.

The template maps only harbor and nemo-gym to labels, so a report with no recorded backend, or any other value, shows no label. execution_backend is also kept when the HTML report rebuilds the display data for runs whose evidence is not trusted, the same as environment.

Testing

  • tests/reporting/test_execution_backend_reporting.py: both labels in the summary and the dataset header next to Environment: docker, and no label when no backend is recorded.
  • Current focused backend-reporting tests: 27 passed. Untrusted-evidence fixtures now reach the real rebuild path; recognized backend/environment values survive it, malformed values omit the label, and removing metadata preservation or the string guard makes the corresponding controls fail.
  • Earlier broader run, not repeated for the latest test-only fixture update: tests/reporting, tests/evaluation, tests/golden and tests/test_nemo_gym_backend.py: 3757 passed. One failure, test_tier3_completed_agent_docs.py::test_validate_tier3_writes_the_same_report_pair, also fails on main here.

Devin Review

The report payload only carried the sandbox environment (for example docker), so a report could not say whether Harbor or NeMo Gym ran it. The summary now has execution_backend, read from the engine result, result.json or run_config.json; runs that record none are Harbor runs.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
report.html now shows whether Harbor or NeMo Gym ran a Tier 3 evaluation, beside the sandbox environment in the agent evaluation summary and the evaluation dataset header. Reports that record no backend show no label.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
devin-ai-integration[bot]

This comment was marked as resolved.

…ad of raising

The template looked the backend up in a dict literal, so an object or array
recorded as `execution_backend` (the display sanitizer keeps those) raised
`TypeError: unhashable type` and aborted HTML rendering. Both lookups now go
through one helper that only maps string ids; anything else (object, array,
number, null, empty or unknown) shows no backend label.

Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Base automatically changed from fix/tier3-report-execution-backend to main November 16, 2026 21:38
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
@chrisknvidia
chrisknvidia merged commit eaca723 into main Nov 16, 2026
27 checks passed
@chrisknvidia
chrisknvidia deleted the fix/tier3-report-html-backend branch November 16, 2026 22:13
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.

1 participant