Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-22 05:27 UTC

PostHog / posthog-ruby

Send usage data from your Ruby code to PostHog.

RubyCustom license★ 37 stars⑂ 35 forkssince Feb 2020View on GitHub ↗
KindCommand-line toolLibraryPluginhow this is determined

PostHog/posthog-ruby holds a health index of 96 out of 100, placing it in the Exceptional band. It scores highest on Vitality (94/100) and lowest on Community & Adoption (69/100). It was last updated today. 4 contributors account for most of its recent work.

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

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

Ownership

PostHogOrganization · verified domain
2,262 followers398 public repossince Jan 2020

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
RubyGemsposthog-ruby3.28.1-1011 day ago
RubyGemsposthog-rails3.19.3-531 day ago

Metrics by category

Vitality

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

94Exceptional · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
26.3/36Commit cadence — 38/52 weeks with commits
18/18Commit volume — 247 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year247
human_commit_share0.4
days_since_last_push0
active_weeks_last_year38

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 100 releases published
36/36Release recency — latest release 0 days ago
27/27Release cadence — a release every ~1.5 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count100
latest_release_tagposthog-rails-v3.19.3
releases_from_tagsno
days_since_latest_release0
mean_days_between_releases1.5
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?

69Good · 17% of overall
How it's scored
25.2/60Stars — 37 stars
12.8/25Forks — 35 forks
5.3/15Watchers — 10 watchers
Inputs used
forks35
stars37
watchers10
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

86Excellent
How it's scored
22.5/22.5README
16.9/22.5License — license 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
69.8/80Total downloads — 5,176,764 downloads all-time across rubygems
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagesposthog-ruby, posthog-rails
dependents—
ecosystemsrubygems
total_downloads5,176,764
monthly_downloads—
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?

90Excellent · 23% of overall
How it's scored
43.2/54Bus factor — 4 contributor(s) cover half of all commits
16.6/22.5Commit distribution — top contributor authored 26% of commits
13.5/13.5Contributor breadth — 41 contributors
10/10OpenSSF Scorecard: Contributors — project has 7 contributing companies or organizations
Inputs used
bus_factor4
contributors_sampled41
top_contributor_share0.26
How it's scored
33/42Issue resolution — 79% of issues closed
27/30PR acceptance — 238/264 decided PRs merged
13/13Newcomer PR acceptance — 5/5 first-time contributors' PRs merged in 30d
7.5/15OpenSSF Scorecard: Code-Review — Found 12/21 approved changesets -- score normalized to 5
Inputs used
merged_prs238
open_issues9
closed_issues33
prs_merged_7d4
prs_decided_7d4
prs_merged_30d19
prs_decided_30d19
issue_closed_ratio0.786
closed_unmerged_prs26
first_time_authors_30d2
first_time_prs_merged_30d5
first_time_prs_decided_30d5
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
24.1/25Owner reach — 2,262 followers of PostHog
25/25Track record — 398 public repos, account ~6 yr old
Inputs used
followers2,262
owner_typeOrganization
is_verifiedyes
owner_loginPostHog
public_repos398
account_age_days2,460

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 2 package(s) on rubygems
35/35Publish recency — latest publish 1 days ago
20/20Version history — 101 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesposthog-ruby, posthog-rails
ecosystemsrubygems
any_deprecatedno
min_days_since_publish1

Engineering Quality

Are baseline engineering and documentation practices in place?

76Good · 19% of overall
How it's scored
24/24CI workflows — 7 workflow(s)
24/24Tests present
16/16Linter config — .rubocop.yml
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 21 out of 21 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://posthog.com/docs/libraries/ruby
10/10Repository description
10/10Topics — 1 topics
0/10Wiki
Inputs used
topicsruby
has_wikino
homepagehttps://posthog.com/docs/libraries/ruby
docs_sitehttps://posthog.com/docs/libraries/ruby
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

83Excellent · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
3/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 21 out of 21 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
3.8/7.5Code-Review — Found 12/21 approved changesets -- score normalized to 5
2.5/2.5Contributors — project has 7 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.2/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
4.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 9
5/5SAST — SAST tool is run on all commits
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — no data
6.8/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
4.5/7.5Vulnerabilities — 4 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate7.9
Excluded from scoring (no data or not applicable): Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
sourceosv
advisories4
affected_packages2
assessed_packages127
unassessed_packages2
affected_by_severitycritical 1, high 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 127 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.

81Excellent · 4% of overall
How it's scored
45/45Agent instructions — AGENTS.md
15/15Machine-readable docs (llms.txt) — llms.txt served by the project website (https://posthog.com/llms.txt)
40/40Legible commit history — 40 of 40 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtyes
llms_txt_urlhttps://posthog.com/llms.txt
legible_history_share1
agent_instruction_filesAGENTS.md
agent_instruction_max_bytes1,729
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config — .rubocop.yml
0/11Static type checking
10/10Reproducible environment — Dockerfile, lockfile
10/10Demonstrated agent practice — 5 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 34 of the last 100 commits are automated dependency updates
9/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 9
Inputs used
has_nixno
has_testsyes
lockfilesGemfile.lock, pnpm-lock.yaml
has_dockerfileyes
typed_languageno
bootstrap_files—
has_devcontainerno
has_linter_configyes
typecheck_configs—
agent_commit_share0.05
toolchain_manifests—
dependency_bot_commit_share0.34
How it's scored
0/45Type-checkable code — Ruby without a type-check config
53.2/55Manageable file sizes — 4/124 source files over 60KB
Inputs used
primary_languageRuby
largest_source_bytes199,243
source_files_sampled124
oversized_source_files4
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
20/20MCP server
40/40Runnable examples — examples
Inputs used
example_dirsexamples
has_mcp_signalyes
api_schema_files—
interfaces_expected_of—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto). Remaining weights renormalized.

Key facts

37GitHub stars
41contributors
247commits, last 12 months
0days since last push
100releases
4bus factor
9open issues
npm, RubyGemspackage ecosystems

Data collection warnings

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

More detail

Star and fork history 0 ★ / 35 ⇿
0Stars
35Forks
94Releases

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.

01325383422020-072023-092026-10
Major 1Minor 16Patch 24

Each point covers 6 days.

OpenSSF Scorecard 7.9 / 10
7.9aggregate

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-22 05:26 UTC

10Binary-Artifactsno binaries found in the repo
4Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests21 out of 21 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
5Code-ReviewFound 12/21 approved changesets -- score normalized to 5
10Contributorsproject has 7 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 1 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
9Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 9
10SASTSAST tool is run on all commits
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
9Token-Permissionsdetected GitHub workflow tokens with excessive permissions
6Vulnerabilities4 existing vulnerabilities detected
Direct dependencies 3
RegistryPackageVersion constraintManifest
RubyGemsconcurrent-ruby—Gemfile
RubyGemsirb—Gemfile
npmposthog-rubyworkspace:*posthog-rails/package.json
All dependencies 129

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

RegistryPackageVersionRelation
RubyGemsconcurrent-ruby—direct
RubyGemsconcurrent-ruby1.3.8direct
RubyGemsirb1.18.0direct
npm@changesets/apply-release-plan8.1.1indirect
npm@changesets/assemble-release-plan7.0.0indirect
npm@changesets/changelog-git1.0.0indirect
npm@changesets/cli3.0.3indirect
npm@changesets/config4.0.1indirect
npm@changesets/errors1.0.0indirect
npm@changesets/format0.1.2indirect
npm@changesets/get-dependents-graph3.0.0indirect
npm@changesets/git4.0.1indirect
npm@changesets/parse1.0.0indirect
npm@changesets/pre3.0.0indirect
npm@changesets/read1.0.1indirect
npm@changesets/should-skip-package1.0.0indirect
npm@changesets/types7.0.0indirect
npm@changesets/write1.0.1indirect
npm@clack/core1.5.1indirect
npm@clack/prompts1.8.1indirect
npm@manypkg/find-root3.1.0indirect
npm@manypkg/get-packages3.1.0indirect
npm@manypkg/tools2.1.2indirect
npm@pnpm/deps.graph-sequencer1100.0.1indirect
npmcac7.0.0indirect
npmfast-string-truncated-width3.0.3indirect
npmfast-string-width3.0.2indirect
npmfast-wrap-ansi0.2.2indirect
npmfdir6.5.0indirect
npmhuman-id4.2.1indirect
npmimport-meta-resolve4.2.0indirect
npmjju1.4.0indirect
npmjsonc-parser3.3.1indirect
npmlaunch-editor2.14.1indirect
npmpackage-manager-detector1.8.0indirect
npmpicocolors1.1.1indirect
npmpicomatch4.0.7indirect
npmsemver7.8.5indirect
npmshell-quote1.10.0indirect
npmsisteransi1.0.5indirect
npmtinyexec1.3.1indirect
npmtinyglobby0.2.17indirect
npmyaml2.9.1indirect
RubyGemsactionpack7.2.3.1indirect
RubyGemsactionview7.2.3.1indirect
RubyGemsactivesupport7.2.3.1indirect
RubyGemsaddressable2.9.0indirect
RubyGemsast2.4.3indirect
RubyGemsbase640.3.0indirect
RubyGemsbenchmark0.5.0indirect
RubyGemsbigdecimal4.1.3indirect
RubyGemsbuilder3.3.0indirect
RubyGemscgi0.5.1indirect
RubyGemscommander5.0.0indirect
RubyGemsconnection_pool3.0.2indirect
RubyGemscrack1.0.1indirect
RubyGemscrass1.0.7indirect
RubyGemsdate3.5.1indirect
RubyGemsdiff-lcs1.6.2indirect
RubyGemsdrb2.2.3indirect
RubyGemserb4.0.4.1indirect
RubyGemserubi1.13.1indirect
RubyGemshaml7.2.0indirect
RubyGemshana1.3.7indirect
RubyGemshashdiff1.2.1indirect
RubyGemshighline3.0.1indirect
RubyGemsi18n1.14.8indirect
RubyGemsio-console0.8.2indirect
RubyGemsjson2.21.2indirect
RubyGemsjson_schemer2.5.0indirect
RubyGemslanguage_server-protocol3.17.0.6indirect
RubyGemslint_roller1.1.0indirect
RubyGemslogger1.7.0indirect
RubyGemsloofah2.25.2indirect
RubyGemsmcp1.7.0indirect
RubyGemsminitest5.27.0indirect
RubyGemsnokogiri1.19.4indirect
RubyGemsoj3.17.7indirect
RubyGemsostruct0.6.3indirect
RubyGemsparallel1.28.0indirect
RubyGemsparser3.3.12.0indirect
RubyGemspp0.6.4indirect
RubyGemsprettier4.0.4indirect
RubyGemsprettier_print1.2.1indirect
RubyGemsprettyprint0.2.0indirect
RubyGemsprism1.9.0indirect
RubyGemspsych5.4.0indirect
RubyGemspublic_suffix6.0.2indirect
RubyGemsracc1.8.1indirect
RubyGemsrack3.2.6indirect
RubyGemsrack-session2.1.2indirect
RubyGemsrack-test2.2.0indirect
RubyGemsrackup2.3.1indirect
RubyGemsrails-dom-testing2.3.0indirect
RubyGemsrails-html-sanitizer1.7.1indirect
RubyGemsrailties—indirect
RubyGemsrailties7.2.3.1indirect
RubyGemsrainbow3.1.1indirect
RubyGemsrake13.4.2indirect
RubyGemsrbs4.0.2indirect
RubyGemsrdoc7.2.0indirect
RubyGemsregexp_parser2.13.1indirect
RubyGemsreline0.6.3indirect
RubyGemsrexml3.4.4indirect
RubyGemsrspec3.13.2indirect
RubyGemsrspec-core3.13.6indirect
RubyGemsrspec-expectations3.13.5indirect
RubyGemsrspec-mocks3.13.8indirect
RubyGemsrspec-support3.13.7indirect
RubyGemsrubocop1.91.0indirect
RubyGemsrubocop-ast1.50.0indirect
RubyGemsruby-progressbar1.13.0indirect
RubyGemssecurerandom0.4.1indirect
RubyGemssimpleidn0.3.0indirect
RubyGemsstringio3.2.0indirect
RubyGemssyntax_tree6.3.0indirect
RubyGemssyntax_tree-haml4.0.3indirect
RubyGemssyntax_tree-rbs1.0.0indirect
RubyGemstemple0.10.4indirect
RubyGemsthor1.5.0indirect
RubyGemstilt2.7.0indirect
RubyGemstimecop0.9.11indirect
RubyGemstsort0.2.0indirect
RubyGemstzinfo2.0.6indirect
RubyGemsunicode-display_width3.2.0indirect
RubyGemsunicode-emoji4.2.0indirect
RubyGemsuseragent0.16.11indirect
RubyGemswebmock3.26.4indirect
RubyGemszeitwerk2.7.5indirect
Dependency advisories 2

This repository publishes no package the index resolves, so its own dependency graph was assessed — 127 packages, which also include development and test pins that never ship: 2 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
shell-quote1.10.0indirectcritical11.11.0
launch-editor2.14.1indirecthigh38.3.3

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.