Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-13 05:45 UTC

metaopt / optree

OpTree: Optimized PyTree Utilities

Python · C++Apache-2.0★ 216 stars⑂ 12 forkssince Sep 2022View on GitHub ↗

metaopt/optree holds a health index of 89 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (100/100) and lowest on Security (46/100). It was last updated today. A single contributor accounts for most of its recent work.

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

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

Ownership

metaoptOrganization
40 followers2 public repossince Oct 2021

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPIoptree0.20.06,547,1023084 days agopytreetree-manipulationtree-traversalfunctional-programming

Metrics by category

Vitality

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

88Excellent · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
23.5/36Commit cadence — 34/52 weeks with commits
16.6/18Commit volume — 69 commits in the last year
0/10OpenSSF Scorecard: Maintained — no data
Inputs used
Commits in the last year69
Share of human-authored commits0.72
Days since last push0
Weeks with commits in the last year34
How it's scored
27/27Ships releases — 20 releases published
36/36Release recency — latest release 84 days ago
19.8/27Release cadence — a release every ~71.7 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases20
Latest release tagv0.20.0
Releases derived from version tagsno
Days since latest release84
Mean days between releases71.7

Community & Adoption

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

77Good · 17% of overall
How it's scored
37.8/60Stars — 216 stars
8.7/25Forks — 12 forks
3.9/15Watchers — 6 watchers
Inputs used
Forks12
Stars216
Watchers6
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README9
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the READMEshields.io
Pull request template presentyes
How it's scored
80/80Monthly downloads — 6,547,102 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesoptree
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads6,547,102
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?

65Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
0.5/22.5Commit distribution — top contributor authored 98% of commits
12.2/13.5Contributor breadth — 9 contributors
0/10OpenSSF Scorecard: Contributors — no data
Inputs used
Bus factor1
Contributors sampled9
Share of commits by the top contributor0.98
How it's scored
40.9/42Issue resolution — 97% of issues closed
29.2/30PR acceptance — 253/260 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 requests253
Open issues1
Closed issues37
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days1
Pull requests decided in the last 30 days1
Share of issues closed0.974
Pull requests closed without merging7
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
0/20Verified domain
11.6/25Owner reach — 40 followers of metaopt
13.6/25Track record — 2 public repos, account ~5 yr old
Inputs used
Followers40
Owner account typeOrganization
Verified domainno
Owner accountmetaopt
Public repositories2
Owner account age in days1,842

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

100Exceptional · 19% of overall

Engineering practices

100Exceptional
How it's scored
24/24CI workflows — 4 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff], [tool.pylint])
9.6/9.6Pre-commit hooks
6.4/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests — no data
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentyes
Pre-commit config presentyes

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://optree.readthedocs.io
10/10Repository description
10/10Topics — 7 topics
10/10Wiki
Inputs used
Repository topicspytree, tree, tree-structure, tree-flatten, optree, tree-map, tree-operation
Wiki enabledyes
Repository homepagehttps://optree.readthedocs.io
Documentation sitehttps://optree.readthedocs.io
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 manifestsdocs/requirements.txt, pyproject.toml, requirements.txt, setup.py, tests/requirements.txt
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 assessed1
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:optree@0.20.0 runtime dependency closure — what installing the published package pulls in — 1 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.

64Moderate · 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 — 72 of 72 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 intent1
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — Makefile, docs/Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff], [tool.pylint])
11/11Static type checking — optree/py.typed
0/10Reproducible environment
0/10Demonstrated agent practice — no agent-authored commits among the last 100
8/8Automated maintenance — 22 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, docs/Makefile
Dev container config presentno
Linter config presentyes
Static type-check config filesoptree/py.typed
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0.22
How it's scored
27/45Type-checkable code — Python with type-check config (optree/py.typed)
50.4/55Manageable file sizes — 5/60 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)169,380
Source files sampled60
Oversized source files5

Key facts

216GitHub stars
9contributors
69commits, last 12 months
0days since last push
20releases
1bus factor
1open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • Could not fetch pypi package 'optree.version' from its registry
  • 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 ★ / 12 ⇿
0Stars
12Forks
16Releases

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.

048121122022-102024-042025-09
Major 0Minor 11Patch 5

Each point covers 3 days.

Direct dependencies 3
RegistryPackageVersion constraintManifest
PyPItyping-extensions>= 4.10.0pyproject.toml
PyPItyping-extensions>= 4.12.0pyproject.toml
PyPItyping-extensions>= 4.14.0pyproject.toml
All dependencies 25

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

RegistryPackageVersionRelation
PyPItyping-extensions—direct
PyPIattrs—indirect
PyPIcovdefaults—indirect
PyPIcpplint—indirect
PyPIdoc8—indirect
PyPIdocutils—indirect
PyPIjax—indirect
PyPImypy—indirect
PyPInumpy—indirect
PyPIpre-commit—indirect
PyPIpyenchant—indirect
PyPIpylint—indirect
PyPIpytest—indirect
PyPIpytest-cov—indirect
PyPIrich—indirect
PyPIruff—indirect
PyPIsphinx—indirect
PyPIsphinx-autoapi—indirect
PyPIsphinx-autobuild—indirect
PyPIsphinx-autodoc-typehints—indirect
PyPIsphinx-copybutton—indirect
PyPIsphinx-rtd-theme—indirect
PyPIsphinxcontrib-bibtex—indirect
PyPItorch—indirect
PyPIxdoctest—indirect
Dependency advisories 0

Installing pypi:optree@0.20.0 pulls in 1 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.