Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-22 17:24 UTC

google / sentencepiece

Unsupervised text tokenizer for Neural Network-based text generation.

C++Apache-2.0★ 12,035 stars⑂ 1,379 forkssince Mar 2017View on GitHub ↗

google/sentencepiece holds a health index of 93 out of 100, placing it in the Exceptional band. It scores highest on Community & Adoption (96/100) and lowest on AI Readiness (50/100). It was last updated 6 days ago. A single contributor accounts for most of its recent work.

93
overall / 100
Exceptional

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.

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

Ownership

GoogleOrganization · verified domain
77,286 followers2,893 public repossince Jan 2012

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIsentencepiece0.2.237,762,6193441 days ago

Metrics by category

Vitality

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

88Excellent · 21% of overall
How it's scored
36/36Push recencylast push 6 days ago
28.4/36Commit cadence41/52 weeks with commits
18/18Commit volume368 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year368
human_commit_share0.93
days_since_last_push6
active_weeks_last_year41
How it's scored
27/27Ships releases27 releases published
36/36Release recencylatest release 41 days ago
12.6/27Release cadencea release every ~233 days
6/10OpenSSF Scorecard: Signed-Releases3 out of the last 5 releases have a total of 3 signed artifacts.
Inputs used
releases_count27
latest_release_tagv0.2.2
releases_from_tagsno
days_since_latest_release41
mean_days_between_releases233

Community & Adoption

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

96Exceptional · 17% of overall
How it's scored
60/60Stars12,035 stars
25/25Forks1,379 forks
11.6/15Watchers121 watchers
Inputs used
forks1,379
stars12,035
watchers121
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (Apache-2.0)
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_badges8
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_servicesbadge.fury.io, github.com, shields.io
has_pull_request_templateyes
How it's scored
80/80Monthly downloads37,762,619 downloads/month across pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagessentencepiece
dependents
ecosystemspypi
total_downloads
monthly_downloads37,762,619
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?

75Good · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
3.2/22.5Commit distributiontop contributor authored 86% of commits
13.5/13.5Contributor breadth98 contributors
10/10OpenSSF Scorecard: Contributorsproject has 11 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled98
top_contributor_share0.857
How it's scored
41.8/42Issue resolution100% of issues closed
21.4/30PR acceptance327/458 decided PRs merged
13/13Newcomer PR acceptance1/1 first-time contributors' PRs merged in 30d
1.5/15OpenSSF Scorecard: Code-ReviewFound 2/18 approved changesets -- score normalized to 1
Inputs used
merged_prs327
open_issues4
closed_issues839
prs_merged_7d1
prs_decided_7d1
prs_merged_30d8
prs_decided_30d9
issue_closed_ratio0.995
closed_unmerged_prs131
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
How it's scored
30/30Ownership backingorganization-owned
20/20Verified domain
25/25Owner reach77,286 followers of google
25/25Track record2,893 public repos, account ~14 yr old
Inputs used
followers77,286
owner_typeOrganization
is_verifiedyes
owner_logingoogle
public_repos2,893
account_age_days5,330

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

71Good · 19% of overall
How it's scored
24/24CI workflows6 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests9 out of 9 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configno
has_precommit_configno
How it's scored
30/30README
25/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics3 topics
0/10Wiki
Inputs used
topicsneural-machine-translation, natural-language-processing, word-segmentation
has_wikino
homepage
docs_site
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

74Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
2.5/2.5CI-Tests9 out of 9 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
0.8/7.5Code-ReviewFound 2/18 approved changesets -- score normalized to 1
2.5/2.5Contributorsproject has 11 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
5/5Fuzzingproject is fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
2/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 4
3.5/5SASTSAST tool is not run on all commits -- score normalized to 7
5/5Security-Policysecurity policy file detected
4.5/7.5Signed-Releases3 out of the last 5 releases have a total of 3 signed artifacts.
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate6.8
Excluded from scoring (no data or not applicable): Packaging. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisoriesno direct dependency carries a known advisory
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories5
affected_packages3
assessed_packages45
unassessed_packages2
affected_by_severityhigh 1, moderate 1, low 1
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 45 resolved dependencies against OSV. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. 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.

50Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
20.6/40Legible commit history36 of 93 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.387
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
22/22Automated tests
0/11Lint / format config
11/11Static type checkingpython/src/sentencepiece/py.typed
10/10Reproducible environmentDockerfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
8/8Automated maintenance7 of the last 100 commits are automated dependency updates
4/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 4
Inputs used
has_nixno
has_testsyes
lockfiles
has_dockerfileyes
typed_languageyes
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configspython/src/sentencepiece/py.typed
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.07
How it's scored
45/45Type-checkable codeC++ (statically typed)
52.7/55Manageable file sizes4/97 source files over 60KB
Inputs used
primary_languageC++
largest_source_bytes7,276,219
source_files_sampled97
oversized_source_files4
How it's scored
40/40API schema (OpenAPI/GraphQL/proto)src/sentencepiece.proto, src/sentencepiece_model.proto
0/20MCP servernot applicable to this kind of software
0/40Runnable examples
Inputs used
example_dirs
has_mcp_signalno
api_schema_filessrc/sentencepiece.proto, src/sentencepiece_model.proto
interfaces_expected_of
Excluded from scoring (no data or not applicable): MCP server. Remaining weights renormalized.

Key facts

12,035GitHub stars
98contributors
368commits, last 12 months
6days since last push
27releases
1bus 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 ★ / 1,379 ⇿
0Stars
1,379Forks
15Releases

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.

Only the most recent history is shown — this repository exceeds the collection window, so the earliest history is not captured.

2004006008001,0001,2001,4001,379132019-122023-042026-08
Major 0Minor 1Patch 14

Each point covers 7 days.

OpenSSF Scorecard 6.8 / 10
6.8aggregate

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 17:23 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests9 out of 9 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 2/18 approved changesets -- score normalized to 1
10Contributorsproject has 11 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
10Fuzzingproject is fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
4Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 4
7SASTSAST tool is not run on all commits -- score normalized to 7
10Security-Policysecurity policy file detected
6Signed-Releases3 out of the last 5 releases have a total of 3 signed artifacts.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
All dependencies 47

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

RegistryPackageVersionRelation
PyPIbackports-tarfile1.2.0indirect
PyPIbashlex0.18indirect
PyPIbracex2.4indirect
PyPIbuild1.5.0indirect
PyPIcertifi2024.7.4indirect
PyPIcffi2.0.0indirect
PyPIcharset-normalizer3.3.2indirect
PyPIcibuildwheel4.1.1indirect
PyPIcryptography50.0.0indirect
PyPIdependency-groups1.3.0indirect
PyPIdocutils0.21.2indirect
PyPIfilelock3.20.3indirect
PyPIhumanize4.12.3indirect
PyPIid1.5.0indirect
PyPIidna3.15indirect
PyPIimportlib-metadata8.2.0indirect
PyPIiniconfig2.0.0indirect
PyPIjaraco-classes3.4.0indirect
PyPIjaraco-context5.3.0indirect
PyPIjaraco-functools4.0.2indirect
PyPIjeepney0.8.0indirect
PyPIkeyring25.3.0indirect
PyPImarkdown-it-py3.0.0indirect
PyPImdurl0.1.2indirect
PyPImore-itertools10.4.0indirect
PyPInh30.2.18indirect
PyPIpackaging26.2indirect
PyPIpip26.1.2indirect
PyPIplatformdirs4.1.0indirect
PyPIpluggy1.5.0indirect
PyPIpybind11indirect
PyPIpycparser2.22indirect
PyPIpygments2.18.0indirect
PyPIpyproject-hooks1.2.0indirect
PyPIpytest9.1.1indirect
PyPIreadme-renderer44.0indirect
PyPIrequests2.33.0indirect
PyPIrequests-toolbelt1.0.0indirect
PyPIrfc39862.0.0indirect
PyPIrich15.0.0indirect
PyPIsecretstorage3.3.3indirect
PyPIsetuptoolsindirect
PyPIsetuptools83.0.0indirect
PyPItwine7.0.0indirect
PyPIurllib32.7.0indirect
PyPIwheel0.47.0indirect
PyPIzipp3.20.0indirect
Dependency advisories 3

This repository publishes no package the index resolves, so its own dependency graph was assessed — 45 packages, which also include development and test pins that never ship: 3 carry known advisories, of which 0 are direct. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
jaraco-context5.3.0indirecthigh26.1.0
pip26.1.2indirectmoderate126.2
pygments2.18.0indirectlow22.20.0

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.