docs: correct COMPAS reduction figure repo-wide (71% -> 82%) + Benefits Denial proxy count - #558
Merged
yakew7 merged 2 commits intoSep 10, 2026
Conversation
propcgamer20-png
requested review from
Shreyash0712 and
yakew7
as code owners
September 9, 2026 20:02
Contributor
|
@propcgamer20-png 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 - new PR touching a path you own, please review. |
…ts Denial proxy count yakew7#545: the COMPAS "Reduction" figure was the raw percentage-point gap (86.77 - 15.69 = 71.08 -> "71%"), not the relative reduction every other audit reports: (86.77 - 15.69) / 86.77 = 81.9% -> "82%" The other six audits' rows all check out against the relative formula (97.3%, 73.6%, ~60%, ~72%, 53%). "71%" was COMPAS's number not just in the two summary tables but in nine explainers and CHANGELOG.md, so fixing only the tables would have left the repo internally inconsistent. Updated every "71% reduction" / "71% of the gap" COMPAS reference in source (COMPAS/README.md, root README.md x3, CHANGELOG.md, PULL_REQUEST_TEMPLATE.md example, and explainers ai-objectivity-myth, confounding-variable, data-leakage, equalized-odds, how-ai-detects-patterns, ml-bias, proxy-variables, reinforcement-learning) and regenerated the explainer pages / package mirror / llms-full.txt. The underlying gap numbers (86.77%, 15.69%) are unchanged. yakew7#546: Benefits Denial's audit.yaml lists five proxy_features (marital.status, occupation, relationship, hours.per.week, fnlwgt) and fair.py removes all five with documented reasoning, but both READMEs listed only four. Added fnlwgt to Benefits Denial/README.md and the root README (summary row, the "four proxy variables" -> "five" counts, and the fair.py code-block comment list). Closes yakew7#545 Closes yakew7#546
propcgamer20-png
force-pushed
the
docs/results-glance-corrections
branch
from
September 9, 2026 20:04
3c984a6 to
1f58fd2
Compare
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.
Two Results-at-a-Glance inaccuracies, one of which turned out to be repo-wide.
#545 - COMPAS "Reduction" uses the wrong formula (repo-wide)
Every audit's "Reduction" column is a relative reduction,
(before - after) / before. COMPAS's alone was the raw point gap:The other rows all verify against the relative formula (97.3%, 73.6%, ~60%, ~72%, 53%). The issue names the two summary tables, but
grepshows "71% reduction" (and "71% of the gap") is COMPAS's number in 9 explainers + CHANGELOG.md too, so fixing only the tables would make the repo more inconsistent. This PR corrects every source reference and regenerates the explainer pages /faircode/_explainers/mirror /llms-full.txt:COMPAS/README.md, rootREADME.md(summary row + "Result: N% reduction" line)CHANGELOG.md,.github/PULL_REQUEST_TEMPLATE.md(example hint)ai-objectivity-myth,confounding-variable(×3),data-leakage,equalized-odds,how-ai-detects-patterns,ml-bias,proxy-variables(×2),reinforcement-learning(×3)The underlying gap numbers (
86.77%,15.69%) are untouched - only the derived reduction % changes. This was understating COMPAS's mitigation effectiveness.#546 - Benefits Denial README omits
fnlwgtfrom the proxy listaudit.yamlproxy_featureshas five entries (marital.status,occupation,relationship,hours.per.week,fnlwgt);fair.pyremoves all five with its own documented reasoning. Both READMEs listed four. AddedfnlwgttoBenefits Denial/README.md, the root README summary row, the "four proxy variables" -> "five" counts (2 spots), and a# fnlwgt removedline in thefair.pycode-block comment.Checks
check_em_dash.py,check_broken_links.py,check_generated_files_current.pyall pass.Closes #545
Closes #546