Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-21 13:09 UTC

dbrattli / Expression

Functional programming for Python

PythonMIT★ 788 stars⑂ 37 forkssince Sep 2020View on GitHub ↗

dbrattli/Expression holds a health index of 88 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (96/100) and lowest on Sustainability & Governance (57/100). It was last updated today. A single contributor accounts for most of its recent work.

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

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

Ownership

Dag BrattliPersonal account
273 followers45 public repossince Jun 2011@cognitedata

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIExpressionpoints to another repo — not scored6.0.16,405,771648 days ago

Metrics by category

Vitality

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

78Good · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
7.6/36Commit cadence — 11/52 weeks with commits
15.8/18Commit volume — 56 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year56
Share of human-authored commits0.79
Days since last push0
Weeks with commits in the last year11
How it's scored
27/27Ships releases — 80 releases published
36/36Release recency — latest release 8 days ago
19.8/27Release cadence — a release every ~91.3 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases80
Latest release tagv6.0.1
Releases derived from version tagsno
Days since latest release8
Mean days between releases91.3
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?

76Good · 17% of overall
How it's scored
47/60Stars — 788 stars
13/25Forks — 37 forks
8/15Watchers — 28 watchers
Inputs used
Forks37
Stars788
Watchers28
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

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 README5
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the READMEcodecov.io, github.com, readthedocs.org, shields.io
Pull request template presentno

Sustainability & Governance

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

57Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
2.9/22.5Commit distribution — top contributor authored 87% of commits
13.5/13.5Contributor breadth — 20 contributors
6/10OpenSSF Scorecard: Contributors — project has 2 contributing companies or organizations -- score normalized to 6
Inputs used
Bus factor1
Contributors sampled20
Share of commits by the top contributor0.869
How it's scored
40.7/42Issue resolution — 97% of issues closed
27.3/30PR acceptance — 226/248 decided PRs merged
13/13Newcomer PR acceptance — 1/1 first-time contributors' PRs merged in 30d
0/15OpenSSF Scorecard: Code-Review — Found 1/20 approved changesets -- score normalized to 0
Inputs used
Merged pull requests226
Open issues2
Closed issues62
Pull requests merged in the last 7 days4
Pull requests decided in the last 7 days4
Pull requests merged in the last 30 days20
Pull requests decided in the last 30 days20
Share of issues closed0.969
Pull requests closed without merging22
First-time contributors with a pull request decided in the last 30 days1
Pull requests from first-time contributors merged in the last 30 days1
Pull requests from first-time contributors decided in the last 30 days1
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
17.5/25Owner reach — 273 followers of dbrattli
24.1/25Track record — 45 public repos, account ~15 yr old
Inputs used
Followers273
Owner account typeUser
Verified domain—
Owner accountdbrattli
Public repositories45
Owner account age in days5,638
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Engineering Quality

Are baseline engineering and documentation practices in place?

96Exceptional · 19% of overall
How it's scored
24/24CI workflows — 5 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentyes

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://expression.readthedocs.io
10/10Repository description
10/10Topics — 5 topics
10/10Wiki
Inputs used
Repository topicsfunctional-programming, fsharp, python, railway-oriented-programming, oslash
Wiki enabledyes
Repository homepagehttps://expression.readthedocs.io
Documentation sitehttps://expression.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?

64Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 30 out of 30 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
0/7.5Code-Review — Found 1/20 approved changesets -- score normalized to 0
1.5/2.5Contributors — project has 2 contributing companies or organizations -- score normalized to 6
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 — 30 commit(s) and 0 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 — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated15
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive3
OpenSSF Scorecard aggregate score5.5
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, 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
Data sourceosv
Advisories across affected packages0
Packages affected by advisories0
Packages assessed50
Packages not assessed2
Affected packages by severitynone
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 50 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.

89Excellent · 4% of overall
How it's scored
45/45Agent instructions — AGENTS.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 72 of 79 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.911
Agent instruction filesAGENTS.md
Size of the largest agent instruction file (bytes)3,044
How it's scored
18/18One-command bootstrap — Justfile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
11/11Static type checking — expression/py.typed, pyrightconfig.json, typing_tests/pyrightconfig.json
10/10Reproducible environment — devcontainer, lockfile
10/10Demonstrated agent practice — 9 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 16 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 lockfilesuv.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesJustfile
Dev container config presentyes
Linter config presentyes
Static type-check config filesexpression/py.typed, pyrightconfig.json, typing_tests/pyrightconfig.json
Share of commits authored by or credited to coding agents0.09
Toolchain manifests—
Share of commits that are automated dependency updates0.16
How it's scored
27/45Type-checkable code — Python with type-check config (expression/py.typed, pyrightconfig.json, typing_tests/pyrightconfig.json)
55/55Manageable file sizes — 0/107 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)32,976
Source files sampled107
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
Runnable example directoriesnotebooks
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

788GitHub stars
20contributors
56commits, last 12 months
0days since last push
80releases
1bus factor
2open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • pypi package 'Expression' points at a different repository (https://github.com/cognitedata/Expression); excluded from ecosystem scoring
  • deps.dev does not index pypi:Expression@6.0.1; advisories assessed against the repository dependency graph instead

More detail

Star and fork history 0 ★ / 37 ⇿
0Stars
37Forks
58Releases

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.

01325383722020-112023-092026-08
Major 4Minor 43Patch 11

Each point covers 6 days.

OpenSSF Scorecard 5.5 / 10
5.5aggregate

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-21 13:09 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
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 1/20 approved changesets -- score normalized to 0
6Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 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
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 1
RegistryPackageVersion constraintManifest
PyPItyping-extensions>=4.6.0pyproject.toml
All dependencies 52

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

RegistryPackageVersionRelation
PyPItyping-extensions4.16.0direct
PyPIannotated-doc0.0.5indirect
PyPIannotated-types0.8.0indirect
PyPIattrs26.1.0indirect
PyPIcertifi2026.10.18indirect
PyPIcfgv3.5.0indirect
PyPIcharset-normalizer3.5.0indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.15.4indirect
PyPIcoveralls4.1.0indirect
PyPIdistlib0.4.3indirect
PyPIdunamai1.26.2indirect
PyPIfastjsonschema2.22.1indirect
PyPIfilelock4.2.10indirect
PyPIhypothesis6.165.9indirect
PyPIidentify2.6.19indirect
PyPIidna3.18indirect
PyPIiniconfig2.3.0indirect
PyPIjsonschema4.26.0indirect
PyPIjsonschema-specifications2025.9.1indirect
PyPIjupyter-book—indirect
PyPIjupyter-core5.9.1indirect
PyPIjupytext—indirect
PyPIjupytext1.19.5indirect
PyPImarkdown-it-py4.2.0indirect
PyPImdit-py-plugins0.6.1indirect
PyPImdurl0.1.2indirect
PyPInbformat5.11.0indirect
PyPInodeenv1.10.0indirect
PyPIpackaging26.3indirect
PyPIplatformdirs4.11.3indirect
PyPIpluggy1.6.0indirect
PyPIpre-commit4.6.2indirect
PyPIpydantic2.13.4indirect
PyPIpydantic-core2.46.4indirect
PyPIpygments2.20.0indirect
PyPIpytest9.1.1indirect
PyPIpytest-asyncio1.4.0indirect
PyPIpython-discovery1.6.7indirect
PyPIpyyaml6.0.3indirect
PyPIreferencing0.37.0indirect
PyPIrequests2.34.2indirect
PyPIrich15.0.0indirect
PyPIrpds-py2026.6.3indirect
PyPIruff0.16.3indirect
PyPIshellingham1.5.4indirect
PyPIsortedcontainers2.4.0indirect
PyPItraitlets5.16.1indirect
PyPItyper0.27.1indirect
PyPItyping-inspection0.4.4indirect
PyPIurllib32.8.0indirect
PyPIvirtualenv21.14.13indirect
Dependency advisories 0

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

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.