Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-18 14:05 UTC

tree-sitter / tree-sitter-ocaml

OCaml grammar for tree-sitter

JavaScript · CMIT★ 101 stars⑂ 38 forkssince Feb 2018View on GitHub ↗

tree-sitter/tree-sitter-ocaml holds a health index of 78 out of 100, placing it in the Good band. It scores highest on Engineering Quality (82/100) and lowest on Security (50/100). It was last updated 10 days ago. A single contributor accounts for most of its recent work.

78
overall / 100
Good

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.

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

Ownership

tree-sitterOrganization
2,789 followers56 public repossince Feb 2016

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Gogithub.com/tree-sitter/tree-sitter-ocamlv0.26.0-3166 days ago—
crates.iotree-sitter-ocaml0.26.0276,7851765 days agoincrementalocamlparsingtree-sittertext-editors
npmtree-sitter-ocaml0.24.28,50421537 days agoincrementalparsingtree-sitterocaml
PyPItree-sitter-ocaml0.26.041,395865 days agoincrementalparsingtree-sitterocaml

Metrics by category

Vitality

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

69Good · 21% of overall
How it's scored
28.8/36Push recency — last push 10 days ago
8.3/36Commit cadence — 12/52 weeks with commits
12.9/18Commit volume — 26 commits in the last year
10/10OpenSSF Scorecard: Maintained — 8 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year26
human_commit_share1
days_since_last_push10
active_weeks_last_year12
How it's scored
27/27Ships releases — 17 releases published
36/36Release recency — latest release 65 days ago
19.8/27Release cadence — a release every ~101.1 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
releases_count17
latest_release_tagv0.26.0
releases_from_tagsno
days_since_latest_release65
mean_days_between_releases101.1

Community & Adoption

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

60Moderate · 17% of overall
How it's scored
32.4/60Stars — 101 stars
13.1/25Forks — 38 forks
5/15Watchers — 9 watchers
Inputs used
forks38
stars101
watchers9
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
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
How it's scored
73.5/80Monthly downloads — 326,684 downloads/month across crates, go, npm, pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagesgithub.com/tree-sitter/tree-sitter-ocaml, tree-sitter-ocaml, tree-sitter-ocaml, tree-sitter-ocaml
dependents—
ecosystemscrates, go, npm, pypi
total_downloads1,427,122
monthly_downloads326,684
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?

71Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
5.2/22.5Commit distribution — top contributor authored 77% of commits
13.5/13.5Contributor breadth — 14 contributors
10/10OpenSSF Scorecard: Contributors — project has 12 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled14
top_contributor_share0.769
How it's scored
41.1/42Issue resolution — 98% of issues closed
27/30PR acceptance — 100/111 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
1.5/15OpenSSF Scorecard: Code-Review — Found 3/30 approved changesets -- score normalized to 1
Inputs used
merged_prs100
open_issues1
closed_issues44
prs_merged_7d0
prs_decided_7d0
prs_merged_30d1
prs_decided_30d1
issue_closed_ratio0.978
closed_unmerged_prs11
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
24.8/25Owner reach — 2,789 followers of tree-sitter
24.8/25Track record — 56 public repos, account ~10 yr old
Inputs used
followers2,789
owner_typeOrganization
is_verifiedno
owner_logintree-sitter
public_repos56
account_age_days3,931

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 4 package(s) on crates, go, npm, pypi
35/35Publish recency — latest publish 65 days ago
20/20Version history — 31 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesgithub.com/tree-sitter/tree-sitter-ocaml, tree-sitter-ocaml, tree-sitter-ocaml, tree-sitter-ocaml
ecosystemscrates, go, npm, pypi
any_deprecatedno
min_days_since_publish65

Engineering Quality

Are baseline engineering and documentation practices in place?

82Excellent · 19% of overall
How it's scored
24/24CI workflows — 3 workflow(s)
24/24Tests present
16/16Linter config — eslint.config.mjs
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
16/20OpenSSF Scorecard: CI-Tests — 19 out of 22 merged PRs checked by a CI test -- score normalized to 8
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://docs.rs/tree-sitter-ocaml
10/10Repository description
10/10Topics — 3 topics
10/10Wiki
Inputs used
topicsocaml, parser, tree-sitter
has_wikiyes
homepage—
docs_sitehttps://docs.rs/tree-sitter-ocaml
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

50Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
2/2.5CI-Tests — 19 out of 22 merged PRs checked by a CI test -- score normalized to 8
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-Review — Found 3/30 approved changesets -- score normalized to 1
2.5/2.5Contributors — project has 12 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 8 commit(s) and 5 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
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
5.2/7.5Vulnerabilities — 3 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate3.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 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
advisories3
affected_packages1
assessed_packages159
unassessed_packages2
affected_by_severityhigh 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 159 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.

59Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
32/40Legible commit history — 60 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share0.6
agent_instruction_files—
agent_instruction_max_bytes—
How it's scored
18/18One-command bootstrap — Makefile, grammars/interface/Makefile, grammars/ocaml/Makefile, grammars/type/Makefile
22/22Automated tests
11/11Lint / format config — eslint.config.mjs
11/11Static type checking — bindings/python/tree_sitter_ocaml/py.typed
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesCargo.lock, go.sum, package-lock.json
has_dockerfileno
typed_languageno
bootstrap_filesMakefile, grammars/interface/Makefile, grammars/ocaml/Makefile, grammars/type/Makefile
has_devcontainerno
has_linter_configyes
typecheck_configsbindings/python/tree_sitter_ocaml/py.typed
agent_commit_share0
toolchain_manifestsCargo.toml, go.mod
dependency_bot_commit_share0
How it's scored
27/45Type-checkable code — JavaScript with type-check config (bindings/python/tree_sitter_ocaml/py.typed)
49.5/55Manageable file sizes — 4/40 source files over 60KB
Inputs used
primary_languageJavaScript
largest_source_bytes24,327,833
source_files_sampled40
oversized_source_files4

Key facts

101GitHub stars
14contributors
26commits, last 12 months
10days since last push
17releases
1bus factor
1open issues
crates.io, Go, npm, 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 ★ / 38 ⇿
0Stars
38Forks
17Releases

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.

01325383522018-032022-072026-10
Major 0Minor 7Patch 10

Each point covers 8 days.

OpenSSF Scorecard 3.8 / 10
3.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-11-18 14:05 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
8CI-Tests19 out of 22 merged PRs checked by a CI test -- score normalized to 8
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 3/30 approved changesets -- score normalized to 1
10Contributorsproject has 12 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained8 commit(s) and 5 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
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7Vulnerabilities3 existing vulnerabilities detected
Direct dependencies 4
RegistryPackageVersion constraintManifest
crates.iotree-sitter-language0.1Cargo.toml
Gogithub.com/tree-sitter/go-tree-sitterv0.25.0go.mod
npmnode-addon-api^8.9.0package.json
npmnode-gyp-build^4.8.4package.json
All dependencies 161

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

RegistryPackageVersionRelation
crates.iotree-sitter-language0.1.8direct
Gogithub.com/tree-sitter/go-tree-sitterv0.25.0direct
npmnode-addon-api8.9.2direct
npmnode-gyp-build4.8.4direct
crates.ioaho-corasick1.1.5indirect
crates.iocc1.4.6indirect
crates.ioequivalent1.0.2indirect
crates.iofind-msvc-tools0.1.12indirect
crates.iohashbrown0.17.1indirect
crates.ioindexmap2.14.2indirect
crates.ioitoa1.0.18indirect
crates.iomemchr2.8.3indirect
crates.ioproc-macro21.0.107indirect
crates.ioquote1.0.47indirect
crates.ioregex1.13.1indirect
crates.ioregex-automata0.4.18indirect
crates.ioregex-syntax0.8.11indirect
crates.ioserde1.0.229indirect
crates.ioserde_core1.0.229indirect
crates.ioserde_derive1.0.229indirect
crates.ioserde_json1.0.151indirect
crates.ioshlex2.0.1indirect
crates.iostreaming-iterator0.1.9indirect
crates.iosyn3.0.5indirect
crates.iotree-sitter0.27.0indirect
crates.iounicode-ident1.0.24indirect
crates.iozmij1.0.23indirect
Gogithub.com/mattn/go-pointerv0.0.1indirect
Gogithub.com/stretchr/testifyv1.12.1indirect
Gogithub.com/tree-sitter/tree-sitter-cv0.24.2indirect
Gogithub.com/tree-sitter/tree-sitter-embedded-templatev0.25.0indirect
Gogithub.com/tree-sitter/tree-sitter-gov0.25.0indirect
Gogithub.com/tree-sitter/tree-sitter-javascriptv0.25.0indirect
Gogithub.com/tree-sitter/tree-sitter-phpv0.24.2indirect
Gogithub.com/tree-sitter/tree-sitter-pythonv0.25.0indirect
Gogithub.com/tree-sitter/tree-sitter-rustv0.24.2indirect
npm@es-joy/jsdoccomment0.50.2indirect
npm@eslint-community/eslint-utils4.10.1indirect
npm@eslint-community/regexpp4.12.2indirect
npm@eslint/config-array0.21.2indirect
npm@eslint/config-helpers0.4.2indirect
npm@eslint/core0.17.0indirect
npm@eslint/eslintrc3.3.7indirect
npm@eslint/js9.39.5indirect
npm@eslint/object-schema2.1.7indirect
npm@eslint/plugin-kit0.4.1indirect
npm@humanfs/core0.19.2indirect
npm@humanfs/node0.16.8indirect
npm@humanfs/types0.15.0indirect
npm@humanwhocodes/module-importer1.0.1indirect
npm@humanwhocodes/retry0.4.3indirect
npm@types/estree1.0.9indirect
npm@types/json-schema7.0.15indirect
npm@typescript-eslint/types8.70.0indirect
npmacorn8.18.0indirect
npmacorn-jsx5.3.2indirect
npmajv6.15.0indirect
npmansi-styles4.3.0indirect
npmare-docs-informative0.0.2indirect
npmargparse2.0.1indirect
npmbalanced-match1.0.2indirect
npmbase64-js1.5.1indirect
npmbl4.1.0indirect
npmbrace-expansion1.1.18indirect
npmbuffer5.7.1indirect
npmcallsites3.1.0indirect
npmchalk4.1.2indirect
npmchownr1.1.4indirect
npmcolor-convert2.0.1indirect
npmcolor-name1.1.4indirect
npmcomment-parser1.4.1indirect
npmconcat-map0.0.1indirect
npmcross-spawn7.0.6indirect
npmdebug4.4.3indirect
npmdeep-is0.1.4indirect
npmend-of-stream1.4.5indirect
npmescape-string-regexp4.0.0indirect
npmeslint9.39.5indirect
npmeslint-config-treesitter1.0.2indirect
npmeslint-plugin-jsdoc50.8.0indirect
npmeslint-scope8.4.0indirect
npmeslint-visitor-keys3.4.3indirect
npmeslint-visitor-keys4.2.1indirect
npmespree10.4.0indirect
npmesquery1.7.0indirect
npmesrecurse4.3.0indirect
npmestraverse5.3.0indirect
npmesutils2.0.3indirect
npmfast-deep-equal3.1.3indirect
npmfast-json-stable-stringify2.1.0indirect
npmfast-levenshtein2.0.6indirect
npmfile-entry-cache8.0.0indirect
npmfind-up5.0.0indirect
npmflat-cache4.0.1indirect
npmflatted3.4.4indirect
npmfs-constants1.0.0indirect
npmglob-parent6.0.2indirect
npmglobals14.0.0indirect
npmhas-flag4.0.0indirect
npmieee7541.2.1indirect
npmignore5.3.2indirect
npmimport-fresh3.3.1indirect
npmimurmurhash0.1.4indirect
npminherits2.0.4indirect
npmis-extglob2.1.1indirect
npmis-glob4.0.3indirect
npmisexe2.0.0indirect
npmjs-yaml4.3.2indirect
npmjsdoc-type-pratt-parser4.1.0indirect
npmjson-buffer3.0.1indirect
npmjson-schema-traverse0.4.1indirect
npmjson-stable-stringify-without-jsonify1.0.1indirect
npmkeyv4.5.4indirect
npmlevn0.4.1indirect
npmlocate-path6.0.0indirect
npmlodash.merge4.6.2indirect
npmminimatch3.1.5indirect
npmminimist1.2.8indirect
npmmkdirp-classic0.5.3indirect
npmms2.1.3indirect
npmnatural-compare1.4.0indirect
npmnode-abi3.96.0indirect
npmnpm-run-path3.1.0indirect
npmonce1.4.0indirect
npmoptionator0.9.4indirect
npmp-limit3.1.0indirect
npmp-locate5.0.0indirect
npmparent-module1.0.1indirect
npmparse-imports-exports0.2.4indirect
npmparse-statements1.0.11indirect
npmpath-exists4.0.0indirect
npmpath-key3.1.1indirect
npmprebuildify6.0.1indirect
npmprelude-ls1.2.1indirect
npmpump3.0.4indirect
npmpunycode2.3.1indirect
npmreadable-stream3.6.2indirect
npmresolve-from4.0.0indirect
npmsafe-buffer5.2.1indirect
npmsemver7.8.5indirect
npmshebang-command2.0.0indirect
npmshebang-regex3.0.0indirect
npmspdx-exceptions2.5.0indirect
npmspdx-expression-parse4.0.0indirect
npmspdx-license-ids3.0.23indirect
npmstring_decoder1.3.0indirect
npmstrip-json-comments3.1.1indirect
npmsupports-color7.2.0indirect
npmtar-fs2.1.5indirect
npmtar-stream2.2.0indirect
npmtree-sitter0.25.1indirect
npmtree-sitter-cli0.27.0indirect
npmtype-check0.4.0indirect
npmuri-js4.4.1indirect
npmutil-deprecate1.0.2indirect
npmwhich2.0.2indirect
npmword-wrap1.2.5indirect
npmwrappy1.0.2indirect
npmyocto-queue0.1.0indirect
PyPIsetuptools—indirect
PyPItree-sitter—indirect
Dependency advisories 1

This repository publishes no package the index resolves, so its own dependency graph was assessed — 159 packages, which also include development and test pins that never ship: 1 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
brace-expansion1.1.18indirecthigh35.0.12

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 — Go, crates.io, npm, PyPI.