Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-21 03:19 UTC

huggingface / setfit

Efficient few-shot learning with Sentence Transformers

Jupyter Notebook · PythonApache-2.0★ 2,869 stars⑂ 276 forkssince Jun 2022View on GitHub ↗

huggingface/setfit holds a health index of 83 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (84/100) and lowest on Security (46/100). It was last updated 3 days ago. 2 contributors account for most of its recent work.

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

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

Ownership

Hugging FaceOrganization · verified domain
71,150 followers483 public repossince Feb 2017

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPIsetfit1.2.0136,2032077 days agonlpmachine-learningfewshot-learningtransformers

Metrics by category

Vitality

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

68Good · 21% of overall
How it's scored
36/36Push recency — last push 3 days ago
4.8/36Commit cadence — 7/52 weeks with commits
10.8/18Commit volume — 15 commits in the last year
0/10OpenSSF Scorecard: Maintained — no data
Inputs used
Commits in the last year15
Share of human-authored commits0.95
Days since last push3
Weeks with commits in the last year7
How it's scored
27/27Ships releases — 18 releases published
36/36Release recency — latest release 77 days ago
12.6/27Release cadence — a release every ~137.7 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases18
Latest release tagv1.2.0
Releases derived from version tagsno
Days since latest release77
Mean days between releases137.7

Community & Adoption

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

72Good · 17% of overall
How it's scored
56.1/60Stars — 2,869 stars
20.3/25Forks — 276 forks
7/15Watchers — 19 watchers
Inputs used
Forks276
Stars2,869
Watchers19
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentno
Issue template presentno
Code of conduct presentno
Badge services used in the README—
Pull request template presentno
How it's scored
68.5/80Monthly downloads — 136,203 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagessetfit
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads136,203
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?

79Good · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
12.5/22.5Commit distribution — top contributor authored 44% of commits
13.5/13.5Contributor breadth — 53 contributors
0/10OpenSSF Scorecard: Contributors — no data
Inputs used
Bus factor2
Contributors sampled53
Share of commits by the top contributor0.444
How it's scored
24.9/42Issue resolution — 59% of issues closed
24.6/30PR acceptance — 239/292 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-Review — no data
Inputs used
Merged pull requests239
Open issues149
Closed issues218
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.594
Pull requests closed without merging53
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
20/20Verified domain
25/25Owner reach — 71,150 followers of huggingface
25/25Track record — 483 public repos, account ~9 yr old
Inputs used
Followers71,150
Owner account typeOrganization
Verified domainyes
Owner accounthuggingface
Public repositories483
Owner account age in days3,568

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

84Excellent · 19% of overall
How it's scored
24/24CI workflows — 6 workflow(s)
24/24Tests present
16/16Linter config — setup.cfg ([flake8], [isort])
0/9.6Pre-commit hooks
0/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests — no data
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentno

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://hf.co/docs/setfit
10/10Repository description
10/10Topics — 3 topics
0/10Wiki
Inputs used
Repository topicsfew-shot-learning, nlp, sentence-transformers
Wiki enabledno
Repository homepagehttps://hf.co/docs/setfit
Documentation sitehttps://hf.co/docs/setfit
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

46Weak · 16% of overall
How it's scored
0/30Security policy (SECURITY.md)
25/25Dependabot config
0/25Dependency lockfiles — published library — lockfiles are an application concern, not expected
0/20CodeQL workflow
Inputs used
Data sourcefile_signals
Dependency lockfiles—
Dependency manifestssetup.cfg, setup.py
CodeQL workflow presentno
Security policy (SECURITY.md) presentno
Dependabot config presentyes
Excluded from scoring (no data or not applicable): Dependency lockfiles. 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 assessed87
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:setfit@1.2.0 runtime dependency closure — what installing the published package pulls in — 87 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.

59Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
29.2/40Legible commit history — 52 of 95 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.547
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 — setup.cfg ([flake8], [isort])
0/11Static type checking
0/10Reproducible environment
2/10Demonstrated agent practice — 1 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 2 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — no data
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesMakefile
Dev container config presentno
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0.01
Toolchain manifests—
Share of commits that are automated dependency updates0.02
How it's scored
0/45Type-checkable code — Jupyter Notebook without a type-check config
55/55Manageable file sizes — 0/90 source files over 60KB
Inputs used
Primary languageJupyter Notebook
Size of the largest source file (bytes)40,351
Source files sampled90
Oversized source files0
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 — notebooks
Inputs used
Runnable example directoriesnotebooks
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

2,869GitHub stars
53contributors
15commits, last 12 months
3days since last push
18releases
2bus factor
149open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • OpenSSF Scorecard did not return a usable result (killed by SIGKILL — most likely the container's memory limit; 2026/11/21 03:18:22 Warning: PATs stored in env variables GITHUB_AUTH_TOKEN and GITHUB_TOKEN differ. Scorecard will use the former.); skipping Scorecard checks

More detail

Star and fork history 0 ★ / 276 ⇿
0Stars
276Forks
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.

05010015020025030027282022-092024-102026-11
Major 1Minor 9Patch 8

Each point covers 4 days.

All dependencies 30

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

RegistryPackageVersionRelation
PyPIcrcmod—indirect
PyPIdatasets—indirect
PyPIdatasets1.18.2indirect
PyPIdatasets2.0.0indirect
PyPIdeepspeed0.5.10indirect
PyPIevaluate—indirect
PyPIevaluate0.1.2indirect
PyPIhuggingface-hub—indirect
PyPIipdb—indirect
PyPIjsonpickle1.1indirect
PyPInumpy1.19indirect
PyPIpackaging—indirect
PyPIpandas1.1.5indirect
PyPIpsutil5.9.0indirect
PyPIpytorch-lightning1.5.8indirect
PyPIscikit-learn—indirect
PyPIscikit-learn0.23.1indirect
PyPIscipy—indirect
PyPIsentence-transformers—indirect
PyPIsentencepiece0.1.96indirect
PyPItorch1.11indirect
PyPItorch1.12.0+cu113indirect
PyPItorch1.5.0indirect
PyPItorchmetrics0.6.2indirect
PyPItorchvision0.6.0indirect
PyPItqdm4.62.1indirect
PyPItransformers—indirect
PyPItransformers4.15.0indirect
PyPItransformers4.20.0indirect
PyPItyper—indirect
Dependency advisories 0

Installing pypi:setfit@1.2.0 pulls in 87 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.