Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-17 19:39 UTC

huggingface / setfit

Efficient few-shot learning with Sentence Transformers

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

huggingface/setfit holds a health index of 80 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 8 days ago. 2 contributors account for most of its recent work.

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

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

Ownership

Hugging FaceOrganization · verified domain
68,529 followers467 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.0-2013 days agonlpmachine-learningfewshot-learningtransformers

Metrics by category

Vitality

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

61Moderate · 21% of overall
How it's scored
28.8/36Push recency — last push 8 days ago
2.8/36Commit cadence — 4/52 weeks with commits
9.7/18Commit volume — 11 commits in the last year
0/10OpenSSF Scorecard: Maintained — no data
Inputs used
commits_last_year11
human_commit_share0.98
days_since_last_push8
active_weeks_last_year4
How it's scored
27/27Ships releases — 18 releases published
36/36Release recency — latest release 13 days ago
12.6/27Release cadence — a release every ~137.7 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count18
latest_release_tagv1.2.0
releases_from_tagsno
days_since_latest_release13
mean_days_between_releases137.7

Community & Adoption

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

68Good · 17% of overall
How it's scored
55.9/60Stars — 2,807 stars
20.2/25Forks — 267 forks
7/15Watchers — 19 watchers
Inputs used
forks267
stars2,807
watchers19
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_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
has_readmeyes
has_licenseyes
readme_badges0
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_services—
has_pull_request_templateno

Sustainability & Governance

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

77Good · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
12.6/22.5Commit distribution — top contributor authored 44% of commits
13.5/13.5Contributor breadth — 54 contributors
0/10OpenSSF Scorecard: Contributors — no data
Inputs used
bus_factor2
contributors_sampled54
top_contributor_share0.439
How it's scored
25.1/42Issue resolution — 60% of issues closed
25/30PR acceptance — 235/282 decided PRs merged
0/13Newcomer PR acceptance — 0/6 first-time contributors' PRs merged in 30d
0/15OpenSSF Scorecard: Code-Review — no data
Inputs used
merged_prs235
open_issues145
closed_issues215
prs_merged_7d0
prs_decided_7d0
prs_merged_30d4
prs_decided_30d11
issue_closed_ratio0.597
closed_unmerged_prs47
first_time_authors_30d3
first_time_prs_merged_30d0
first_time_prs_decided_30d6
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
25/25Owner reach — 68,529 followers of huggingface
25/25Track record — 467 public repos, account ~9 yr old
Inputs used
followers68,529
owner_typeOrganization
is_verifiedyes
owner_loginhuggingface
public_repos467
account_age_days3,504

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
35/35Publish recency — latest publish 13 days ago
20/20Version history — 20 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagessetfit
ecosystemspypi
any_deprecatedno
min_days_since_publish13

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
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno

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
topicsfew-shot-learning, nlp, sentence-transformers
has_wikino
homepagehttps://hf.co/docs/setfit
docs_sitehttps://hf.co/docs/setfit
has_readmeyes
has_docs_diryes
has_descriptionyes

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
sourcefile_signals
lockfiles—
manifestssetup.cfg, setup.py
has_codeql_workflowno
has_security_policyno
has_dependabot_configyes
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
sourceosv
advisories0
affected_packages0
assessed_packages82
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:setfit@1.2.0 runtime dependency closure — what installing the published package pulls in — 82 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.

58Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
28.3/40Legible commit history — 52 of 98 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share0.531
agent_instruction_files—
agent_instruction_max_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
0/10Demonstrated agent practice — no agent-authored commits among the last 100
8/8Automated maintenance — 1 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — no data
Inputs used
has_nixno
has_testsyes
lockfiles—
has_dockerfileno
typed_languageno
bootstrap_filesMakefile
has_devcontainerno
has_linter_configyes
typecheck_configs—
agent_commit_share0
toolchain_manifests—
dependency_bot_commit_share0.01
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
largest_source_bytes40,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
example_dirsnotebooks
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

2,807GitHub stars
54contributors
11commits, last 12 months
8days since last push
18releases
2bus factor
145open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • pypi download statistics for 'setfit' unavailable this scan (stats endpoint failed after retries); adoption may be under-evidenced
  • OpenSSF Scorecard did not return a usable result (killed by SIGKILL — most likely the container's memory limit); skipping Scorecard checks

More detail

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

05010015020025030026482022-092024-092026-09
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 82 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.