Skip to content

Report current findings even when no finding ID was issued - #20

Merged
cynkai merged 1 commit into
mainfrom
codex/report-verdict-findings
Dec 2, 2026
Merged

cynkai merged 1 commit into
mainfrom
codex/report-verdict-findings

Conversation

@cynkai

@cynkai cynkai commented Dec 2, 2026

Copy link
Copy Markdown
Owner

What changed

Use the stored verdict to decide which rows belong in finding details. The dashboard and PDF now include every partial or vulnerable finding, with an explicit Unassigned label when its finding ID is missing. The issued-ID indexes and JSON count include only findings with a recorded ID. Older PDF inputs with no verdict column still use their recorded IDs.

Verification

  • Opened the report tab with four offline sample rows, then generated and inspected its PDF. Two stale IDs on safe and error rows had inflated the issued count from one to three. The corrected index contains the one issued ID, and both genuine findings appear with their evidence in the details.
  • Verified that the dashboard's raw CSV retains the input identifiers. The risk matrix uses the case ID for findings awaiting a finding ID.
  • Added regressions for the dashboard, JSON, CSV, PDF and scoring functions. All 325 tests passed locally with the repository's pinned dependencies. Pyflakes and git diff --check passed.

@cynkai
cynkai merged commit d11cbcc into main Dec 2, 2026
2 checks passed
@cynkai
cynkai deleted the codex/report-verdict-findings branch December 2, 2026 11:47
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