Repository navigation
feat: add --audit and --summary to diff_results.py - #1093
Merged
yakew7 merged 1 commit intoOct 20, 2026
Merged
Conversation
Signed-off-by: minutechreview <141821420+minutechreview@users.noreply.github.com>
minutechreview
requested review from
Shreyash0712,
ahmdkaml,
propcgamer20-png and
yakew7
as code owners
October 20, 2026 16:35
Contributor
|
@minutechreview is attempting to deploy a commit to the yashkewlani2020-gmailcom's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@yakew7 @Shreyash0712 @ahmdkaml @propcgamer20-png - new PR touching a path you own, please review. |
yakew7
added a commit
that referenced
this pull request
Oct 21, 2026
Add @Gauravbhati2099, bring @minutechreview and the dependabot count up to date, and keep the Contributors section sorted by merged PRs, then commits, then earliest first-merged date.
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
scripts/diff_results.pycan now be limited to one or more audits and can print a one-line-per-audit summary, so a contributor who touched one audit does not have to scroll through 300+ rows.Type
Details
--audit NAME(repeatable) filters both sides before the join. An audit name found on neither side exits 2 withunknown audit(s): ...(names are as in the CSVs, e.g.compas).--summaryprints, per kind and audit, rows compared, rows flagged and the largest absolute delta (n/a/nullwhen no row has a numeric delta). With--jsonit prints the same as JSON.--fail-on-changestill looks at every compared row.On the real data,
--summarygives 7 lines per kind (for examplecompas: 90 compared, 69 flagged, largest |delta| 622.9074).Checks:
tests/test_diff_results.py11 passed (4 new: audit filter and repeat, unknown audit, summary counts and text, summary with no numeric delta).ruff check,check_em_dash.py,check_broken_links.pyandcheck_generated_files_current.pypass.Linked issue
Fixes #1081