Add empirical review-findings writeup (evals/README.md) - #9
Merged
Conversation
…cution rounds Documents what actually happened across this repo's two static-review rounds (issues #2-#7) and one real claude -p --model haiku execution round (#8): issue counts, real cost ($0.7846), and honest detail per finding, including how #6 empirically confirmed #4's low-confidence hypothesis and the one grep hit (AKIAIOSFODNN7EXAMPLE) that needed a caveat rather than a silent pass. Modeled on Code-Review-Loop's evals/README.md style. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
evals/README.md, documenting what actually happened across this repo's review/execution work so far, in the style of Code-Review-Loop's ownevals/README.md: a summary table, a "what this bought" bullet list, then per-round detail.masked_preview/context_line, a real violation of the tool's own "never print raw secret" guarantee), Finding ids collide across rounds — STILL_OPEN carry-forward can overwrite an unrelated finding's resolution #3 (finding-id collision across rounds), [Low confidence, needs verification] dedup fingerprint's rule_id may block cross-source dedup between builtin/gitleaks/trufflehog #4 (dedup fingerprint concern, explicitly filed as low-confidence/unverified since gitleaks/trufflehog weren't available to test it).mask()over-reveals up to 67% of short secrets), fingerprint()'s rule_id lets the same secret produce duplicate un-deduped candidates (confirms #4) #6 (fingerprint dedup gap reproduced entirely within the builtin scanner — this is what turned [Low confidence, needs verification] dedup fingerprint's rule_id may block cross-source dedup between builtin/gitleaks/trufflehog #4 from a hypothesis into a confirmed bug; the same commit closes both), files_scanned counts files inside skipped directories (.git/node_modules/target/...), wildly inflating reported coverage #7 (files_scannedcounts files inside skipped directories, inflating reported coverage by orders of magnitude in real repos).claude -p --model haikuend to end (2 scans + 1 describe, real cost $0.7846) against a small AWS-key/GitHub-token test fixture. Found README masking formula is stale after #5's fix — still documents the buggy clamp(3, 6) #8 (README's masking formula was stale after mask() reveals up to 67% of a secret in plaintext for lengths 9-19 (violates design-spec §3) #5's fix — code was already correct, only the doc lagged) by cross-checking real output against the README, not by reading the diff. Also hand-verified:files_scanned=4(correct), everymasked_previewmatches the post-mask() reveals up to 67% of a secret in plaintext for lengths 9-19 (violates design-spec §3) #5 formula, no scanned secret appears unmasked anywhere inreport.md/state.json, and bothBLOCKverdicts are consistent with the documented exit-code contract (BLOCK=3).All 7 issues (#2–#8) are closed, each by a commit that fixed the actual root cause.
Test plan
gh issue view), fix commits (git log), and real run artifacts (runs/manual-test/,runs/exit-check/) — not written from memory.