Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-22 23:00 UTC

mggg / GerryChain

Use MCMC to analyze districting plans and gerrymanders

PythonCustom license★ 153 stars⑂ 77 forkssince Jun 2018View on GitHub ↗

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

91
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.

91
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 77 is calibrated to 91 on the published index scale (record calibration 2026-08-02).

Ownership

86 followers92 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.02,0492619 days ago

Metrics by category

Vitality

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

81Excellent · 21% of overall
How it's scored
28.8/36Push recencylast push 8 days ago
22.2/36Commit cadence32/52 weeks with commits
18/18Commit volume283 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year283
human_commit_share1
days_since_last_push8
active_weeks_last_year32
How it's scored
27/27Ships releases18 releases published
36/36Release recencylatest release 19 days ago
12.6/27Release cadencea release every ~220.6 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count18
latest_release_tagv1.0.0
releases_from_tagsno
days_since_latest_release19
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?

67Good · 17% of overall
How it's scored
35.4/60Stars153 stars
15.7/25Forks77 forks
6.2/15Watchers14 watchers
Inputs used
forks77
stars153
watchers14
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

86Excellent
How it's scored
22.5/22.5README
16.9/22.5Licenselicense 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
has_readmeyes
has_licenseyes
readme_badges0
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_services
has_pull_request_templateyes
How it's scored
44.2/80Monthly downloads2,049 downloads/month across pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagesgerrychain
dependents
ecosystemspypi
total_downloads
monthly_downloads2,049
unverified_packages_excluded
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 factor2 contributor(s) cover half of all commits
14.1/22.5Commit distributiontop contributor authored 37% of commits
13.5/13.5Contributor breadth31 contributors
10/10OpenSSF Scorecard: Contributorsproject has 21 contributing companies or organizations
Inputs used
bus_factor2
contributors_sampled31
top_contributor_share0.372
How it's scored
40.7/42Issue resolution97% of issues closed
27.2/30PR acceptance306/337 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
3/15OpenSSF Scorecard: Code-ReviewFound 2/9 approved changesets -- score normalized to 2
Inputs used
merged_prs306
open_issues4
closed_issues124
prs_merged_7d0
prs_decided_7d0
prs_merged_30d6
prs_decided_30d6
issue_closed_ratio0.969
closed_unmerged_prs31
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domain
13.9/25Owner reach86 followers of mggg
25/25Track record92 public repos, account ~7 yr old
Inputs used
followers86
owner_typeOrganization
is_verifiedno
owner_loginmggg
public_repos92
account_age_days2,914

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable1 package(s) on pypi
35/35Publish recencylatest publish 19 days ago
20/20Version history26 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesgerrychain
ecosystemspypi
any_deprecatedno
min_days_since_publish19

Engineering Quality

Are baseline engineering and documentation practices in place?

96Exceptional · 19% of overall
How it's scored
24/24CI workflows2 workflow(s)
24/24Tests present
16/16Linter configpyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests4 out of 4 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configyes

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage sitehttps://mggg.github.io/GerryChain/
10/10Repository description
10/10Topics4 topics
10/10Wiki
Inputs used
topicsmcmc, gerrymandering, python, gis
has_wikiyes
homepagehttps://mggg.github.io/GerryChain/
docs_sitehttps://mggg.github.io/GerryChain/
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

68Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionno data
2.5/2.5CI-Tests4 out of 4 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-ReviewFound 2/9 approved changesets -- score normalized to 2
2.5/2.5Contributorsproject has 21 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.2/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
2.5/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 5
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate6
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 advisoriesno direct dependency carries a known advisory
25/25Indirect dependencies free of known advisoriesno indirect dependency carries a known advisory
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages14
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
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 instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
11.2/40Legible commit history21 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.21
agent_instruction_files
agent_instruction_max_bytes
How it's scored
18/18One-command bootstrapMakefile
22/22Automated tests
11/11Lint / format configpyproject.toml ([tool.ruff])
11/11Static type checkinggerrychain/py.typed
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
0/8Automated maintenanceno automated dependency updates observed
5/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 5
Inputs used
has_nixno
has_testsyes
lockfilesuv.lock
has_dockerfileno
typed_languageno
bootstrap_filesMakefile
has_devcontainerno
has_linter_configyes
typecheck_configsgerrychain/py.typed
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
How it's scored
27/45Type-checkable codePython with type-check config (gerrychain/py.typed)
53.9/55Manageable file sizes2/103 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes124,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 servernot applicable to this kind of software
40/40Runnable examplesexamples, notebooks
Inputs used
example_dirsexamples, notebooks
has_mcp_signalno
api_schema_files
interfaces_expected_of
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

153GitHub stars
31contributors
283commits, last 12 months
8days since last push
18releases
2bus factor
4open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 77 ⇿
0Stars
77Forks
17Releases

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.

02040608077102018-062022-062026-07
Major 0Minor 2Patch 15

Each point covers 8 days.

OpenSSF Scorecard 6.0 / 10
6.0aggregate

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-08-22 23:00 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
10Maintained30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
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
10Vulnerabilities0 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 statisticsPyPI.