Skip to content

fix: exclude generated explainers mirror from em-dash scan - #412

Merged
yakew7 merged 1 commit into
yakew7:mainfrom
AnayDhawan:fix/em-dash-explainers-mirror-393
Sep 3, 2026
Merged

fix: exclude generated explainers mirror from em-dash scan#412
yakew7 merged 1 commit into
yakew7:mainfrom
AnayDhawan:fix/em-dash-explainers-mirror-393

Conversation

@AnayDhawan

Copy link
Copy Markdown
Contributor

Fixes #393

faircode/_explainers/*.md is a generated, package-internal mirror of explainers/*.md (byte-identical copies). check_em_dash.py's ALLOW_PREFIXES only excluded paper/results-frozen/, so an em dash in explainers/foo.md gets reported twice under two different-looking paths for the same root cause.

Added faircode/_explainers/ to ALLOW_PREFIXES, same pattern as the existing paper/results-frozen/ exclusion.

Test plan

  • python3 scripts/check_em_dash.py passes locally

faircode/_explainers/*.md is a generated copy of explainers/*.md; scanning
both reports the same em dash twice under different paths. Add the mirror
to ALLOW_PREFIXES, matching the paper/results-frozen/ exclusion pattern.
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

@yakew7 @ahmdkaml - new PR touching a path you own, please review.

@yakew7
yakew7 requested a review from Shreyash0712 September 3, 2026 15:29
@yakew7
yakew7 merged commit 34f03ed into yakew7:main Sep 3, 2026
17 of 18 checks passed
yakew7 added a commit that referenced this pull request Sep 4, 2026
…n to live numbers

CONTRIBUTORS.md was missing nitishchauhan002 (#410, first merged PR) and
shauryagangrade (#425, first merged PR) entirely, and AnayDhawan's #412
wasn't reflected in their existing entry - snapshot bumped to cover
everything through #425. CHANGELOG.md gets matching "Fixed" entries under
the version already shipping (2.2.0), including the ambiguous-JSON
follow-up fix from the previous commit.

METRICS.md's weekly row and badges, and README's Traction table, updated
to live GitHub numbers (stars, forks, contributors, issues closed this
week) pulled via `gh`. Countries/social reach left unchanged - no access
to site analytics or Instagram/LinkedIn impressions to verify those.
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.

check_em_dash.py double-scans faircode/_explainers/*.md, the generated mirror of explainers/*.md

2 participants