Skip to content

docs(tier3): document findings.json and advisory severity thresholds - #372

Merged
chrisknvidia merged 11 commits into
mainfrom
docs/christopherk/findings-file
Nov 10, 2026
Merged

chrisknvidia merged 11 commits into
mainfrom
docs/christopherk/findings-file

Conversation

@chrisknvidia

Copy link
Copy Markdown
Collaborator

Summary

The Tier 3 Findings panel and findings.json label each metric ok, warning or critical on an advisory scale (ok >= 0.80, warning 0.40 to below 0.80, critical below 0.40), while dimension verdicts use PASS >= 0.50, NEUTRAL 0.40 to below 0.50 and FAIL below 0.40. So a metric at 0.6741 is a passing dimension score that still shows warning. Nothing documented this, and the artifact itself was undocumented.

This PR keeps every threshold and label unchanged and:

  • Documents <agent>/findings.json in docs/reports.mdx: location, when it is absent, score provenance, every field with its caps, truncation and evidence_refs_omitted metadata, a table contrasting advisory severity with dimension bands, the attempt pass threshold, the overall verdict and Skill Lift, and worked examples at 0.39, 0.40, 0.4545, 0.50, 0.6741 and 0.80 with the exact boundary behavior.
  • Adds severity_thresholds (ok_at_or_above, critical_below, scale: "advisory_metric") to findings.json. Older artifacts without it are read exactly as before.
  • Adds one muted legend line to the CLI Findings panel naming the advisory scale and pointing to the dimension pass threshold.
  • Replaces the hard-coded 0.8/0.4 values in tier3/harbor/report.py with named constants (FINDING_OK_THRESHOLD reuses TRIAL_PASS_THRESHOLD).

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests (tests/tier3/test_findings_severity.py: severity boundaries, payload/docs sync, CLI legend wording, old and new artifact reading)
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test (ran pytest tests/tier3 tests/reporting: 11449 passed, 10 skipped)
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

Also wrote a findings.json through _extract_findings -> _write_findings_artifact and checked it against the documented schema; fern check reports 0 errors.

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Explain the per-agent findings artifact, its fields and caps, and how advisory
metric severity (ok >= 0.80, warning 0.40-<0.80, critical < 0.40) differs from
dimension bands, the attempt pass threshold, the overall verdict and Skill Lift.
Record the thresholds in findings.json, add a muted legend to the CLI Findings
panel, and pin the boundaries with tests. Thresholds and labels are unchanged.

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

@rng1995 rng1995 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.

Automated review: 2 findings (0 P1, 0 P2, 2 P3); 2 posted inline.

Checked the new findings.json schema docs, the severity constants and legend in tier3/harbor/report.py against the code, and when the file is written by tier3 evaluate (default vs --verbose) and validate --tier3, with probes for artifact contents, the Results by Dimension colors and cp1252 decoding of the docs.
Tests: the focused findings/report/suggestion/judge suites including the new tests/tier3/test_findings_severity.py (753 passed, 4 skipped); the finding/tier3/suggestion subset of test_unified_tier3_report.py, test_commands.py and validators/test_security.py (201 passed); ruff check and format --check clean.
Merges cleanly onto main.
Conflicts with other open PRs: docs/reports.mdx and CHANGELOG.md with #377 (both add a new section at the same spot in reports.mdx); CHANGELOG.md only with #225, #374, #375, #378, #381-#385, #387 and #388; no conflicts with #373, #376, #379, #380 or #386.
#379 and #380 also change tier3/harbor/report.py, in different hunks; the new findings.json docs stay accurate with both (#379's [environment] reason prefix, #380 dropping unrecorded evidence_refs).

Comment thread docs/reports.mdx Resolved
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Evaluation run

SkillEvaluator CI results

Required gate: Skipped

Only Tier 1 blocks CI; Tier 2 and Tier 3 are advisory.

Skill Tier 1: Static and Security Validation Tier 2: Deduplication Tier 3: Live Agent Evaluation Report
No skills evaluated SKIPPED · issues unknown · No selected skills changed; Tier 1 evaluation did not run. INCOMPLETE · issues unknown · The tier did not produce retained evidence; inspect its failed or cancelled CI job. INCOMPLETE · issues unknown · The tier did not produce retained evidence; inspect its failed or cancelled CI job. Report

Commit: f54430470390f630a8057c6dedd8202838497a93 · Environment: docker

…dings-file

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

# Conflicts:
#	CHANGELOG.md
…dings-file

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

# Conflicts:
#	CHANGELOG.md
…dings-file

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

# Conflicts:
#	CHANGELOG.md
…dings-file

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

# Conflicts:
#	CHANGELOG.md
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
@chrisknvidia
chrisknvidia merged commit 8e30825 into main Nov 10, 2026
22 checks passed
@chrisknvidia
chrisknvidia deleted the docs/christopherk/findings-file branch November 10, 2026 11:42
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