Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-24 13:16 UTC

thoughtbot / factory_bot

A library for setting up Ruby objects as test data.

RubyMIT★ 8,167 stars⑂ 2,549 forkssince Jun 2008View on GitHub ↗

thoughtbot/factory_bot holds a health index of 90 out of 100, placing it in the Excellent band. It scores highest on Community & Adoption (94/100) and lowest on AI Readiness (55/100). It was last updated 10 days ago. 2 contributors account for most of its recent work.

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

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

Ownership

thoughtbot, inc.Organization · verified domain
909 followers477 public repossince Apr 2008

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
RubyGemsfactory_bot6.6.0-37172 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 10 days ago
9.7/36Commit cadence — 14/52 weeks with commits
13.6/18Commit volume — 32 commits in the last year
10/10OpenSSF Scorecard: Maintained — 13 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year32
Share of human-authored commits0.92
Days since last push10
Weeks with commits in the last year14
How it's scored
27/27Ships releases — 33 releases published
27/36Release recency — latest release 172 days ago
19.8/27Release cadence — a release every ~95.2 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases33
Latest release tagv6.6.0
Releases derived from version tagsno
Days since latest release172
Mean days between releases95.2
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?

94Exceptional · 17% of overall
How it's scored
60/60Stars — 8,167 stars
25/25Forks — 2,549 forks
11.6/15Watchers — 122 watchers
Inputs used
Forks2,549
Stars8,167
Watchers122
Growth authenticity stateorganic
Multiplier applied to stars and forks (%)100

Community health

85Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
13.5/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 presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the README—
Pull request template presentno
How it's scored
80/80Total downloads — 362,295,010 downloads all-time across rubygems
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesfactory_bot
Registry dependents—
Package ecosystemsrubygems
Total downloads362,295,010
Monthly downloads—
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?

81Excellent · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
13.1/22.5Commit distribution — top contributor authored 42% of commits
13.5/13.5Contributor breadth — 98 contributors
10/10OpenSSF Scorecard: Contributors — project has 65 contributing companies or organizations
Inputs used
Bus factor2
Contributors sampled98
Share of commits by the top contributor0.418
How it's scored
40.2/42Issue resolution — 96% of issues closed
15.2/30PR acceptance — 428/842 decided PRs merged
9.8/13Newcomer PR acceptance — 3/4 first-time contributors' PRs merged in 30d
7.5/15OpenSSF Scorecard: Code-Review — Found 12/23 approved changesets -- score normalized to 5
Inputs used
Merged pull requests428
Open issues43
Closed issues929
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days10
Pull requests decided in the last 30 days12
Share of issues closed0.956
Pull requests closed without merging414
First-time contributors with a pull request decided in the last 30 days4
Pull requests from first-time contributors merged in the last 30 days3
Pull requests from first-time contributors decided in the last 30 days4
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
21.3/25Owner reach — 909 followers of thoughtbot
25/25Track record — 477 public repos, account ~18 yr old
Inputs used
Followers909
Owner account typeOrganization
Verified domainyes
Owner accountthoughtbot
Public repositories477
Owner account age in days6,770

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

77Good · 19% of overall
How it's scored
24/24CI workflows — 7 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
14/20OpenSSF Scorecard: CI-Tests — 20 out of 26 merged PRs checked by a CI test -- score normalized to 7
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentno
Pre-commit config presentno

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://thoughtbot.com
10/10Repository description
10/10Topics — 9 topics
10/10Wiki
Inputs used
Repository topicsfactory-girl, ruby, thoughtbot, rubygems, testing, fixtures, factories, rails, factory-bot
Wiki enabledyes
Repository homepagehttps://thoughtbot.com
Documentation sitehttps://thoughtbot.com
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

60Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
1.8/2.5CI-Tests — 20 out of 26 merged PRs checked by a CI test -- score normalized to 7
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
3.8/7.5Code-Review — Found 12/23 approved changesets -- score normalized to 5
2.5/2.5Contributors — project has 65 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.5/2.5License — license file detected
7.5/7.5Maintained — 13 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities — 13 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated15
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive3
OpenSSF Scorecard aggregate score5.6
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.
How it's scored
14.6/35Direct dependencies free of known advisories — 1 affected: sqlite3 2.5.0 (high 7.3)
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
40/40No advisories left outstanding — no advisory has been public longer than 90 days
Inputs used
Data sourceosv
Advisories across affected packages13
Packages affected by advisories5
Packages assessed70
Packages not assessed12
Affected packages by severityhigh 4, moderate 1
Direct dependencies affected by advisories1
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 70 resolved dependencies against OSV. 12 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.

55Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 79 of 92 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.859
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
0/18One-command bootstrap
22/22Automated tests
0/11Lint / format config
0/11Static type checking
10/10Reproducible environment — lockfile
10/10Demonstrated agent practice — 8 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 4 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesGemfile.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap files—
Dev container config presentno
Linter config presentno
Static type-check config files—
Share of commits authored by or credited to coding agents0.08
Toolchain manifests—
Share of commits that are automated dependency updates0.04
How it's scored
0/45Type-checkable code — Ruby without a type-check config
55/55Manageable file sizes — 0/144 source files over 60KB
Inputs used
Primary languageRuby
Size of the largest source file (bytes)31,477
Source files sampled144
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 — cookbook
Inputs used
Runnable example directoriescookbook
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

8,167GitHub stars
98contributors
32commits, last 12 months
10days since last push
33releases
2bus factor
43open issues
RubyGemspackage ecosystems

Data collection warnings

  • Star history unavailable
  • Star history carried forward from 2026-07-21: GitHub restricted the stargazers API to repository admins, so it can no longer be collected. The repository has 8167 stars today.

More detail

Star and fork history 8,182 ★ / 2,549 ⇿
8,182Stars
2,549Forks
26Releases

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.

Star history is shown as collected on 2026-07-21. GitHub restricted the stargazers API to repository administrators in July 2026, so this series can no longer be extended; the current star total above remains live.

1,2502,5003,7505,0006,2507,5008,7508,1822,549152019-072023-032026-10
Major 1Minor 8Patch 17

Each point covers 7 days.

OpenSSF Scorecard 5.6 / 10
5.6aggregate

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-10-24 13:16 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
7CI-Tests20 out of 26 merged PRs checked by a CI test -- score normalized to 7
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
5Code-ReviewFound 12/23 approved changesets -- score normalized to 5
10Contributorsproject has 65 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained13 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities13 existing vulnerabilities detected
Direct dependencies 2
RegistryPackageVersion constraintManifest
RubyGemsactiverecord-jdbcsqlite3-adapter—Gemfile
RubyGemssqlite3—Gemfile
All dependencies 82

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

RegistryPackageVersionRelation
RubyGemssqlite32.5.0direct
RubyGemsactivemodel8.0.3indirect
RubyGemsactiverecord—indirect
RubyGemsactiverecord8.0.3indirect
RubyGemsactivesupport—indirect
RubyGemsactivesupport8.0.3indirect
RubyGemsappraisal—indirect
RubyGemsappraisal2.5.0indirect
RubyGemsaruba—indirect
RubyGemsaruba2.3.2indirect
RubyGemsast2.4.3indirect
RubyGemsbase640.3.0indirect
RubyGemsbenchmark0.4.1indirect
RubyGemsbigdecimal3.3.1indirect
RubyGemsbuilder3.3.0indirect
RubyGemsconcurrent-ruby1.3.5indirect
RubyGemsconnection_pool2.5.4indirect
RubyGemscontracts0.17.3indirect
RubyGemscucumber10.1.1indirect
RubyGemscucumber-ci-environment10.0.1indirect
RubyGemscucumber-core15.2.1indirect
RubyGemscucumber-cucumber-expressions18.0.1indirect
RubyGemscucumber-gherkin32.2.0indirect
RubyGemscucumber-html-formatter21.15.1indirect
RubyGemscucumber-messages27.2.0indirect
RubyGemscucumber-tag-expressions6.1.2indirect
RubyGemsdiff-lcs1.6.2indirect
RubyGemsdocile1.4.1indirect
RubyGemsdrb2.2.3indirect
RubyGemsffi1.17.2indirect
RubyGemsi18n1.14.7indirect
RubyGemsjson2.15.1indirect
RubyGemslanguage_server-protocol3.17.0.5indirect
RubyGemslint_roller1.1.0indirect
RubyGemslogger1.7.0indirect
RubyGemsmemoist31.0.0indirect
RubyGemsmini_mime1.1.5indirect
RubyGemsmini_portile22.8.8indirect
RubyGemsminitest6.0.6indirect
RubyGemsmulti_test1.1.0indirect
RubyGemsmutex_m—indirect
RubyGemsmutex_m0.3.0indirect
RubyGemsostruct—indirect
RubyGemsostruct0.6.3indirect
RubyGemsparallel1.27.0indirect
RubyGemsparser3.3.9.0indirect
RubyGemsprism1.5.2indirect
RubyGemsracc1.8.1indirect
RubyGemsrainbow3.1.1indirect
RubyGemsrake—indirect
RubyGemsrake13.3.0indirect
RubyGemsregexp_parser2.11.3indirect
RubyGemsrspec—indirect
RubyGemsrspec3.13.1indirect
RubyGemsrspec-core3.13.5indirect
RubyGemsrspec-expectations3.13.5indirect
RubyGemsrspec-its—indirect
RubyGemsrspec-its2.0.0indirect
RubyGemsrspec-mocks3.13.5indirect
RubyGemsrspec-support3.13.6indirect
RubyGemsrubocop1.80.2indirect
RubyGemsrubocop-ast1.47.1indirect
RubyGemsrubocop-performance1.25.0indirect
RubyGemsruby-progressbar1.13.0indirect
RubyGemssecurerandom0.4.1indirect
RubyGemssimplecov—indirect
RubyGemssimplecov0.22.0indirect
RubyGemssimplecov-html0.13.2indirect
RubyGemssimplecov_json_formatter0.1.4indirect
RubyGemsstandard—indirect
RubyGemsstandard1.51.1indirect
RubyGemsstandard-custom1.0.2indirect
RubyGemsstandard-performance1.8.0indirect
RubyGemssys-uname1.4.1indirect
RubyGemsthor1.4.0indirect
RubyGemstimeout0.4.3indirect
RubyGemstzinfo2.0.6indirect
RubyGemsunicode-display_width3.2.0indirect
RubyGemsunicode-emoji4.2.0indirect
RubyGemsuri1.0.4indirect
RubyGemsyard—indirect
RubyGemsyard0.9.37indirect
Dependency advisories 5

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

PackageVersionRelationSeverityAdvisoriesFixed in
sqlite32.5.0directhigh32.9.6
activesupport8.0.3indirecthigh38.1.2.1
concurrent-ruby1.3.5indirecthigh31.3.7
json2.15.1indirecthigh22.19.9
yard0.9.37indirectmoderate20.9.44

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 — RubyGems.