Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-12-01 08:44 UTC

mggg / GerryChain

Use MCMC to analyze districting plans and gerrymanders

PythonCustom license★ 157 stars⑂ 78 forkssince Jun 2018View on GitHub ↗

mggg/GerryChain holds a health index of 88 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (96/100) and lowest on Security (54/100). It was last updated 17 days ago. 2 contributors account for most of its recent work.

88
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

88
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 74 is calibrated to 88 on the published index scale (record calibration 2026-08-02).

Ownership

91 followers95 public repossince Aug 2018

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIgerrychain1.0.017,50426119 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

70Good · 21% of overall
How it's scored
28.8/36Push recency — last push 17 days ago
20.1/36Commit cadence — 29/52 weeks with commits
18/18Commit volume — 277 commits in the last year
0/10OpenSSF Scorecard: Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Inputs used
Commits in the last year277
Share of human-authored commits1
Days since last push17
Weeks with commits in the last year29
How it's scored
27/27Ships releases — 18 releases published
27/36Release recency — latest release 119 days ago
12.6/27Release cadence — a release every ~220.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases18
Latest release tagv1.0.0
Releases derived from version tagsno
Days since latest release119
Mean days between releases220.6
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

71Good · 17% of overall
How it's scored
35.6/60Stars — 157 stars
15.7/25Forks — 78 forks
6.2/15Watchers — 14 watchers
Inputs used
Forks78
Stars157
Watchers14
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

86Excellent
How it's scored
22.5/22.5README
16.9/22.5License — license file present, not a recognized license
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the README—
Pull request template presentyes
How it's scored
56.6/80Monthly downloads — 17,504 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesgerrychain
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads17,504
Packages excluded as unverified—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

76Good · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
14.1/22.5Commit distribution — top contributor authored 37% of commits
13.5/13.5Contributor breadth — 31 contributors
10/10OpenSSF Scorecard: Contributors — project has 21 contributing companies or organizations
Inputs used
Bus factor2
Contributors sampled31
Share of commits by the top contributor0.372
How it's scored
40.7/42Issue resolution — 97% of issues closed
26.9/30PR acceptance — 306/341 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
3/15OpenSSF Scorecard: Code-Review — Found 2/9 approved changesets -- score normalized to 2
Inputs used
Merged pull requests306
Open issues4
Closed issues124
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days0
Pull requests decided in the last 30 days0
Share of issues closed0.969
Pull requests closed without merging35
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
14.1/25Owner reach — 91 followers of mggg
25/25Track record — 95 public repos, account ~8 yr old
Inputs used
Followers91
Owner account typeOrganization
Verified domainno
Owner accountmggg
Public repositories95
Owner account age in days3,015

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
35/35Publish recency — latest publish 119 days ago
20/20Version history — 26 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesgerrychain
Package ecosystemspypi
Any package deprecated or yankedno
Days since latest package publish119

Engineering Quality

Are baseline engineering and documentation practices in place?

96Exceptional · 19% of overall
How it's scored
24/24CI workflows — 2 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 4 out of 4 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentyes

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://mggg.github.io/GerryChain/
10/10Repository description
10/10Topics — 4 topics
10/10Wiki
Inputs used
Repository topicsmcmc, gerrymandering, python, gis
Wiki enabledyes
Repository homepagehttps://mggg.github.io/GerryChain/
Documentation sitehttps://mggg.github.io/GerryChain/
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

54Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 4 out of 4 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-Review — Found 2/9 approved changesets -- score normalized to 2
2.5/2.5Contributors — project has 21 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.2/2.5License — license file detected
0/7.5Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packaging — no data
2.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 5
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities — 93 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated15
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive3
OpenSSF Scorecard aggregate score4.3
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
25/25Indirect dependencies free of known advisories — no indirect dependency carries a known advisory
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages0
Packages affected by advisories0
Packages assessed14
Packages not assessed0
Affected packages by severitynone
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:gerrychain@1.0.0 runtime dependency closure — what installing the published package pulls in — 14 packages. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

61Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
11.2/40Legible commit history — 21 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.21
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
11/11Static type checking — gerrychain/py.typed
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
5/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 5
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesuv.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesMakefile
Dev container config presentno
Linter config presentyes
Static type-check config filesgerrychain/py.typed
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0
How it's scored
27/45Type-checkable code — Python with type-check config (gerrychain/py.typed)
53.9/55Manageable file sizes — 2/103 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)124,245
Source files sampled103
Oversized source files2
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — examples, notebooks
Inputs used
Runnable example directoriesexamples, notebooks
MCP server signal presentno
API schema files—
Software kinds for which an interface is expected—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

157GitHub stars
31contributors
277commits, last 12 months
17days since last push
18releases
2bus factor
4open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 78 ⇿
0Stars
78Forks
18Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

02040608078102018-062022-082026-11
Major 1Minor 2Patch 15

Each point covers 8 days.

OpenSSF Scorecard 4.3 / 10
4.3aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-12-01 08:44 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests4 out of 4 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 2/9 approved changesets -- score normalized to 2
10Contributorsproject has 21 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not detected
5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 5
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities93 existing vulnerabilities detected
Direct dependencies 8
RegistryPackageVersion constraintManifest
PyPIgeopandas>=1.1.4pyproject.toml
PyPInetworkx>=3.6.1pyproject.toml
PyPInumpy>=2.4.6pyproject.toml
PyPIpandas>=3.0.5pyproject.toml
PyPIrustworkx>=0.18.1pyproject.toml
PyPIscipy>=1.17.1pyproject.toml
PyPIshapely>=2.1.2pyproject.toml
PyPItqdm>=4.70.0pyproject.toml
All dependencies 130

Full resolved dependency set from the GitHub dependency graph: 10 direct and 120 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPIgeopandas1.1.4direct
PyPInetworkx3.6.1direct
PyPInumpy2.4.6direct
PyPInumpy2.5.1direct
PyPIpandas3.0.5direct
PyPIrustworkx0.18.1direct
PyPIscipy1.17.1direct
PyPIscipy1.18.0direct
PyPIshapely2.1.2direct
PyPItqdm4.70.0direct
PyPIaccessible-pygments0.0.5indirect
PyPIalabaster1.0.0indirect
PyPIanyio4.14.2indirect
PyPIappnope0.1.4indirect
PyPIasttokens3.0.2indirect
PyPIattrs26.1.0indirect
PyPIbabel2.18.0indirect
PyPIbeautifulsoup44.15.0indirect
PyPIcertifi2026.7.22indirect
PyPIcffi2.1.0indirect
PyPIcfgv3.5.0indirect
PyPIcharset-normalizer3.4.9indirect
PyPIclick8.4.2indirect
PyPIcolorama0.4.6indirect
PyPIcomm0.2.3indirect
PyPIcontourpy1.3.3indirect
PyPIcoverage7.15.3indirect
PyPIcycler0.12.1indirect
PyPIdebugpy1.8.21indirect
PyPIdistlib0.4.3indirect
PyPIdocutils0.22.4indirect
PyPIexecuting2.2.1indirect
PyPIfastjsonschema2.22.1indirect
PyPIfilelock3.32.2indirect
PyPIfonttools4.63.0indirect
PyPIfuro2025.12.19indirect
PyPIgerrychain1.0.0indirect
PyPIgreenlet3.5.4indirect
PyPIh110.16.0indirect
PyPIidentify2.6.19indirect
PyPIidna3.18indirect
PyPIimagesize2.0.0indirect
PyPIimportlib-metadata9.0.0indirect
PyPIiniconfig2.3.0indirect
PyPIipykernel7.3.0indirect
PyPIipython9.16.0indirect
PyPIipython-pygments-lexers1.1.1indirect
PyPIipywidgets8.1.8indirect
PyPIjedi0.20.0indirect
PyPIjinja23.1.6indirect
PyPIjsonschema4.26.0indirect
PyPIjsonschema-specifications2025.9.1indirect
PyPIjupyter-cache1.0.1indirect
PyPIjupyter-client8.9.1indirect
PyPIjupyter-core5.9.1indirect
PyPIjupyterlab-widgets3.0.16indirect
PyPIkiwisolver1.5.0indirect
PyPImarkdown-it-py4.2.0indirect
PyPImarkupsafe3.0.3indirect
PyPImatplotlib3.11.1indirect
PyPImatplotlib-inline0.2.2indirect
PyPImdit-py-plugins0.6.1indirect
PyPImdurl0.1.2indirect
PyPImyst-nb1.4.0indirect
PyPImyst-parser5.1.0indirect
PyPInbclient0.11.0indirect
PyPInbformat5.10.4indirect
PyPInest-asyncio21.7.2indirect
PyPInodeenv1.10.0indirect
PyPIpackaging26.2indirect
PyPIparso0.8.7indirect
PyPIpexpect4.9.0indirect
PyPIpillow12.3.0indirect
PyPIplatformdirs4.11.0indirect
PyPIpluggy1.6.0indirect
PyPIpre-commit4.6.1indirect
PyPIprompt-toolkit3.0.53indirect
PyPIpsutil7.2.2indirect
PyPIptyprocess0.7.0indirect
PyPIpure-eval0.2.3indirect
PyPIpycparser3.0indirect
PyPIpygments2.20.0indirect
PyPIpyogrio0.13.0indirect
PyPIpyparsing3.3.2indirect
PyPIpyproj3.7.2indirect
PyPIpyright1.1.411indirect
PyPIpytest9.1.1indirect
PyPIpytest-cov7.1.0indirect
PyPIpython-dateutil2.9.0.post0indirect
PyPIpython-discovery1.5.1indirect
PyPIpyyaml6.0.3indirect
PyPIpyzmq27.1.0indirect
PyPIreferencing0.37.0indirect
PyPIrequests2.34.2indirect
PyPIroman-numerals4.1.0indirect
PyPIrpds-py2026.6.3indirect
PyPIruff0.16.1indirect
PyPIsix1.17.0indirect
PyPIsnowballstemmer3.1.1indirect
PyPIsoupsieve2.9.1indirect
PyPIsphinx9.0.4indirect
PyPIsphinx9.1.0indirect
PyPIsphinx-autobuild2025.8.25indirect
PyPIsphinx-basic-ng1.0.0b2indirect
PyPIsphinx-copybutton0.5.2indirect
PyPIsphinx-design0.7.0indirect
PyPIsphinxcontrib-applehelp2.0.0indirect
PyPIsphinxcontrib-devhelp2.0.0indirect
PyPIsphinxcontrib-htmlhelp2.1.0indirect
PyPIsphinxcontrib-jsmath1.0.1indirect
PyPIsphinxcontrib-qthelp2.0.0indirect
PyPIsphinxcontrib-serializinghtml2.0.0indirect
PyPIsqlalchemy2.0.51indirect
PyPIstack-data0.6.3indirect
PyPIstarlette1.3.1indirect
PyPItabulate0.10.0indirect
PyPItomli2.4.1indirect
PyPItornado6.5.7indirect
PyPItraitlets5.16.0indirect
PyPIty0.0.65indirect
PyPItyping-extensions4.16.0indirect
PyPItzdata2026.3indirect
PyPIurllib32.7.0indirect
PyPIuvicorn0.52.1indirect
PyPIvirtualenv21.7.1indirect
PyPIwatchfiles1.2.0indirect
PyPIwcwidth0.8.2indirect
PyPIwebsockets17.0.1indirect
PyPIwidgetsnbextension4.0.15indirect
PyPIzipp4.1.0indirect
Dependency advisories 0

Installing pypi:gerrychain@1.0.0 pulls in 14 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — PyPI.