Public record
Software health reportschema 0.9.0 · metrics 1.13.0 · 2026-07-14 10:03 UTC

quantinuum / hugr

Hierarchical Unified Graph Representation for quantum and classical programs

Rust · PythonApache-2.0★ 67 stars⑂ 18 forkssince Mar 2023View on GitHub ↗

quantinuum/hugr holds a health index of 76 out of 100, placing it in the Good band. It scores highest on Vitality (96/100) and lowest on Security (54/100). It was last updated today. 3 contributors account for most of its recent work.

76
overall / 100
Good

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At risk ceiling of 49. AI Readiness sits outside the overall score.

76
Excellent85-100Exemplary; meets essentially all checked criteria
Good70-84Healthy; minor gaps
Moderate50-69Acceptable with notable gaps; review recommended
At risk30-49Significant weaknesses; adoption warrants caution
Critical1-29Severe 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.

Ownership

Quantinuum LtdOrganization
320 followers201 public repossince Nov 2015

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
crates.iohugr-cli0.29.19,997586 days ago
crates.iohugr-core0.29.111,956596 days ago
crates.iohugr-llvm0.29.19,928536 days ago
crates.iohugr-model0.29.111,523456 days ago
crates.iohugr-persistent0.7.5105286 days ago
PyPIhugr0.18.1-480 days ago
crates.iohugr0.29.111,908646 days ago

Metrics by category

Vitality

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

96Excellent · 22% of overall
How it's scored
36/36Push recency — last push 0 days ago
36/36Commit cadence — 52/52 weeks with commits
18/18Commit volume — 506 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year506
human_commit_share
days_since_last_push0
active_weeks_last_year52
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.6 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
releases_count100
latest_release_taghugr-py-v0.18.1
releases_from_tagsno
days_since_latest_release0
mean_days_between_releases1.6

Community & Adoption

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

55Moderate · 18% of overall
How it's scored
29.5/60Stars — 67 stars
10.3/25Forks — 18 forks
4.7/15Watchers — 8 watchers
Inputs used
forks18
stars67
watchers8
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
has_contributingno
has_issue_templateno
has_code_of_conductno
has_pull_request_templateno
How it's scored
63.2/80Monthly downloads — 55,417 downloads/month across crates, pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
packageshugr-cli, hugr-core, hugr-llvm, hugr-model, hugr-persistent, hugr, hugr
dependents
ecosystemscrates, pypi
total_downloads728,632
monthly_downloads55,417
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?

82Good · 24% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
15.7/22.5Commit distribution — top contributor authored 30% of commits
13.5/13.5Contributor breadth — 25 contributors
10/10OpenSSF Scorecard: Contributors — project has 5 contributing companies or organizations
Inputs used
bus_factor3
contributors_sampled25
top_contributor_share0.304
How it's scored
36.3/46.8Issue resolution — 78% of issues closed
34.1/38.3PR acceptance — 1,937/2,174 decided PRs merged
15/15OpenSSF Scorecard: Code-Review — all changesets reviewed
Inputs used
merged_prs1,937
open_issues201
closed_issues695
issue_closed_ratio0.776
closed_unmerged_prs237
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
18/25Owner reach — 320 followers of Quantinuum
25/25Track record — 201 public repos, account ~10 yr old
Inputs used
followers320
owner_typeOrganization
is_verified
owner_loginQuantinuum
public_repos201
account_age_days3,902
How it's scored
25/25Published & resolvable — 7 package(s) on crates, pypi
35/35Publish recency — latest publish 0 days ago
20/20Version history — 64 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packageshugr-cli, hugr-core, hugr-llvm, hugr-model, hugr-persistent, hugr, hugr
ecosystemscrates, pypi
any_deprecatedno
min_days_since_publish0

Engineering Quality

Are baseline engineering and documentation practices in place?

82Good · 20% of overall
How it's scored
24/24CI workflows — 14 workflow(s)
24/24Tests present
16/16Linter config — ruff.toml
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
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configyes

Documentation

65Moderate
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://quantinuum.github.io/hugr/
10/10Repository description
10/10Topics — 4 topics
0/10Wiki
Inputs used
topicscompiler, intermediate-representation, quantinuum, quantum-computing
has_wikino
homepagehttps://quantinuum.github.io/hugr/
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

54Moderate · 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 — 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
7.5/7.5Code-Review — all changesets reviewed
2.5/2.5Contributors — project has 5 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 — 30 commit(s) and 16 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
3/7.5Vulnerabilities — 6 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate5.3
Excluded from scoring (no data or not applicable): packaging. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score.

56Moderate · 0% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
0/40Legible commit history — no data
Inputs used
has_llms_txtno
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.
How it's scored
18/18One-command bootstrap — justfile, test_files/justfile
22/22Automated tests
11/11Lint / format config — ruff.toml
11/11Static type checking — hugr-py/src/hugr/py.typed
10/10Reproducible environment — Nix, lockfile
0/10Demonstrated agent practice — no data
5/8Automated maintenance — dependency automation configured, none observed in the sampled commits
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixyes
has_testsyes
lockfilesCargo.lock, uv.lock
has_dockerfileno
typed_languageyes
bootstrap_filesjustfile, test_files/justfile
has_devcontainerno
has_linter_configyes
typecheck_configshugr-py/src/hugr/py.typed
agent_commit_share
toolchain_manifests
dependency_bot_commit_share0
Excluded from scoring (no data or not applicable): Demonstrated agent practice. Remaining weights renormalized.
How it's scored
45/45Type-checkable code — Rust (statically typed)
53.6/55Manageable file sizes — 8/322 source files over 60KB
Inputs used
primary_languageRust
largest_source_bytes261,905
source_files_sampled322
oversized_source_files8
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)
0/20MCP server
40/40Runnable examples — examples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_files

Key facts

67GitHub stars
25contributors
506commits, last 12 months
0days since last push
100releases
3bus factor
201open issues
crates.io, PyPIpackage ecosystems

Data collection warnings

  • Could not fetch crates package 'hugr-py' from its registry

More detail

OpenSSF Scorecard 5.3 / 10
5.3aggregate

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-07-14 10:03 UTC

10Binary-Artifactsno binaries found in the repo
4Branch-Protectionbranch protection is not maximal on development and all release branches
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
10Code-Reviewall changesets reviewed
10Contributorsproject has 5 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 16 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
4Vulnerabilities6 existing vulnerabilities detected
Direct dependencies 100
RegistryPackageVersion constraintManifest
crates.ioclaphugr-cli/Cargo.toml
crates.ioclap-verbosity-flaghugr-cli/Cargo.toml
crates.ioderive_morehugr-cli/Cargo.toml
crates.iohugr0.29.1hugr-cli/Cargo.toml
crates.ioserde_jsonhugr-cli/Cargo.toml
crates.ioserdehugr-cli/Cargo.toml
crates.iocliohugr-cli/Cargo.toml
crates.ioanyhowhugr-cli/Cargo.toml
crates.iothiserrorhugr-cli/Cargo.toml
crates.iotracing0.1.44hugr-cli/Cargo.toml
crates.iotracing-subscriber0.3.23hugr-cli/Cargo.toml
crates.iotabled0.21.0hugr-cli/Cargo.toml
crates.ioschemarshugr-cli/Cargo.toml
crates.iowalkdirhugr-cli/Cargo.toml
crates.iohugr-model0.29.1hugr-core/Cargo.toml
crates.iocgmathhugr-core/Cargo.toml
crates.iodelegatehugr-core/Cargo.toml
crates.ioderive_morehugr-core/Cargo.toml
crates.iodowncast-rshugr-core/Cargo.toml
crates.ioenum_dispatchhugr-core/Cargo.toml
crates.iohtml-escapehugr-core/Cargo.toml
crates.ioindexmaphugr-core/Cargo.toml
crates.ioitertoolshugr-core/Cargo.toml
crates.iopasteyhugr-core/Cargo.toml
crates.iopetgraphhugr-core/Cargo.toml
crates.ioportgraphhugr-core/Cargo.toml
crates.ioregexhugr-core/Cargo.toml
crates.iorustc-hashhugr-core/Cargo.toml
crates.ioserdehugr-core/Cargo.toml
crates.ioserde_jsonhugr-core/Cargo.toml
crates.ioserde_withhugr-core/Cargo.toml
crates.ioserde_yamlhugr-core/Cargo.toml
crates.iosmol_strhugr-core/Cargo.toml
crates.iostatic_assertionshugr-core/Cargo.toml
crates.iostrumhugr-core/Cargo.toml
crates.iothiserrorhugr-core/Cargo.toml
crates.iotypetaghugr-core/Cargo.toml
crates.iosemverhugr-core/Cargo.toml
crates.iozstdhugr-core/Cargo.toml
crates.ioordered-floathugr-core/Cargo.toml
crates.iobase64hugr-core/Cargo.toml
crates.iorelrchugr-core/Cargo.toml
crates.iosmallvechugr-core/Cargo.toml
crates.iotracing0.1.44hugr-core/Cargo.toml
crates.ioschemarshugr-core/Cargo.toml
crates.ioinkwell>=0.9.0, <0.10hugr-llvm/Cargo.toml
crates.iohugr-core0.29.1hugr-llvm/Cargo.toml
crates.ioanyhowhugr-llvm/Cargo.toml
crates.ioitertoolshugr-llvm/Cargo.toml
crates.iodelegatehugr-llvm/Cargo.toml
crates.iopetgraphhugr-llvm/Cargo.toml
crates.iostrumhugr-llvm/Cargo.toml
crates.ioinstahugr-llvm/Cargo.toml
crates.iorstesthugr-llvm/Cargo.toml
crates.ioportgraphhugr-llvm/Cargo.toml
crates.ioderive_morehugr-llvm/Cargo.toml
crates.iorandhugr-llvm/Cargo.toml
crates.iobase64hugr-model/Cargo.toml
crates.iobumpalohugr-model/Cargo.toml
crates.iocapnphugr-model/Cargo.toml
crates.ioderive_morehugr-model/Cargo.toml
crates.ioindexmaphugr-model/Cargo.toml
crates.ioitertoolshugr-model/Cargo.toml
crates.ioordered-floathugr-model/Cargo.toml
crates.iopesthugr-model/Cargo.toml
crates.iopest_derivehugr-model/Cargo.toml
crates.ioprettyhugr-model/Cargo.toml
crates.iorustc-hashhugr-model/Cargo.toml
crates.iosemverhugr-model/Cargo.toml
crates.iosmol_strhugr-model/Cargo.toml
crates.iothiserrorhugr-model/Cargo.toml
crates.iopyo3hugr-model/Cargo.toml
crates.iohugr-core0.29.1hugr-persistent/Cargo.toml
crates.ioderive_morehugr-persistent/Cargo.toml
crates.iodelegatehugr-persistent/Cargo.toml
crates.ioitertoolshugr-persistent/Cargo.toml
crates.iopetgraphhugr-persistent/Cargo.toml
crates.ioportgraphhugr-persistent/Cargo.toml
crates.iorelrchugr-persistent/Cargo.toml
crates.ioserdehugr-persistent/Cargo.toml
crates.ioserde_jsonhugr-persistent/Cargo.toml
crates.iothiserrorhugr-persistent/Cargo.toml
crates.iowyhashhugr-persistent/Cargo.toml
crates.iobumpalohugr-py/Cargo.toml
crates.iohugr-core0.29.1hugr-py/Cargo.toml
crates.iohugr-cli0.29.1hugr-py/Cargo.toml
crates.iohugr-model0.29.1hugr-py/Cargo.toml
crates.ioderive_morehugr-py/Cargo.toml
crates.iopasteyhugr-py/Cargo.toml
crates.iopyo3hugr-py/Cargo.toml
crates.iozstdhugr-py/Cargo.toml
PyPIgraphviz>=0.20.3hugr-py/pyproject.toml
PyPIpydantic~=2.8hugr-py/pyproject.toml
PyPIpydantic-extra-types~=2.9hugr-py/pyproject.toml
PyPIsemver~=3.0hugr-py/pyproject.toml
PyPItyping-extensions~=4.16hugr-py/pyproject.toml
crates.iohugr-model0.29.1hugr/Cargo.toml
crates.iohugr-core0.29.1hugr/Cargo.toml
crates.iohugr-llvm0.29.1hugr/Cargo.toml
crates.iohugr-persistent0.7.5hugr/Cargo.toml
Raw JSON report machine-readable
{
  "data": {
    "repo": {
      "topics": [
        "compiler",
        "intermediate-representation",
        "quantinuum",
        "quantum-computing"
      ],
      "is_fork": false,
      "size_kb": 15299,
      "has_wiki": false,
      "homepage": "https://quantinuum.github.io/hugr/",
      "languages": {
        "C": 2144,
        "Nix": 10732,
        "HTML": 172,
        "Just": 5323,
        "Rust": 3212394,
        "Shell": 238,
        "Python": 638997,
        "Cap'n Proto": 2657
      },
      "pushed_at": "2026-07-14T09:55:00Z",
      "created_at": "2023-03-16T10:37:28Z",
      "owner_type": "Organization",
      "updated_at": "2026-07-14T09:51:46Z",
      "description": "Hierarchical Unified Graph Representation for quantum and classical programs",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "Apache-2.0",
      "default_branch": "main",
      "primary_language": "Rust"
    },
    "owner": {
      "blog": "http://www.quantinuum.com",
      "name": "Quantinuum Ltd",
      "type": "Organization",
      "login": "Quantinuum",
      "company": null,
      "location": "Cambridge, UK",
      "followers": 320,
      "avatar_url": "https://avatars.githubusercontent.com/u/15688781?v=4",
      "created_at": "2015-11-06T12:30:50Z",
      "is_verified": null,
      "public_repos": 201,
      "account_age_days": 3902
    },
    "activity": {
      "releases_count": 100,
      "commits_last_year": 506,
      "latest_release_at": "2026-07-13T17:11:32Z",
      "latest_release_tag": "hugr-py-v0.18.1",
      "days_since_last_push": 0,
      "active_weeks_last_year": 52,
      "days_since_latest_release": 0,
      "mean_days_between_releases": 1.6
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "has_description": true,
      "has_contributing": false,
      "health_percentage": 37,
      "has_issue_template": false,
      "has_code_of_conduct": false,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": [
        {
          "name": "hugr-cli",
          "exists": true,
          "license": "Apache-2.0",
          "ecosystem": "crates",
          "matches_repo": true,
          "registry_url": "https://crates.io/crates/hugr-cli",
          "is_deprecated": false,
          "latest_version": "0.29.1",
          "repository_url": "https://github.com/quantinuum/hugr",
          "versions_count": 58,
          "total_downloads": 140940,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": 9997,
          "first_published_at": "2024-05-29T13:33:31.299227Z",
          "latest_published_at": "2026-07-07T11:17:32.405321Z",
          "latest_version_yanked": false,
          "days_since_latest_publish": 6
        },
        {
          "name": "hugr-core",
          "exists": true,
          "license": "Apache-2.0",
          "ecosystem": "crates",
          "matches_repo": true,
          "registry_url": "https://crates.io/crates/hugr-core",
          "is_deprecated": false,
          "latest_version": "0.29.1",
          "repository_url": "https://github.com/quantinuum/hugr",
          "versions_count": 59,
          "total_downloads": 172046,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": 11956,
          "first_published_at": "2024-05-29T13:33:14.681773Z",
          "latest_published_at": "2026-07-07T11:15:50.421836Z",
          "latest_version_yanked": false,
          "days_since_latest_publish": 6
        },
        {
          "name": "hugr-llvm",
          "exists": true,
          "license": "Apache-2.0",
          "ecosystem": "crates",
          "matches_repo": true,
          "registry_url": "https://crates.io/crates/hugr-llvm",
          "is_deprecated": false,
          "latest_version": "0.29.1",
          "repository_url": "https://github.com/quantinuum/hugr",
          "versions_count": 53,
          "total_downloads": 114502,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": 9928,
          "first_published_at": "2024-07-10T09:54:08.104904Z",
          "latest_published_at": "2026-07-07T11:16:22.572968Z",
          "latest_version_yanked": false,
          "days_since_latest_publish": 6
        },
        {
          "name": "hugr-model",
          "exists": true,
          "license": "Apache-2.0",
          "ecosystem": "crates",
          "matches_repo": true,
          "registry_url": "https://crates.io/crates/hugr-model",
          "is_deprecated": false,
          "latest_version": "0.29.1",
          "repository_url": "https://github.com/quantinuum/hugr",
          "versions_count": 45,
          "total_downloads": 122137,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": 11523,
          "first_published_at": "2024-10-09T12:34:24.208353Z",
          "latest_published_at": "2026-07-07T11:15:17.076370Z",
          "latest_version_yanked": false,
          "days_since_latest_publish": 6
        },
        {
          "name": "hugr-persistent",
          "exists": true,
          "license": "Apache-2.0",
          "ecosystem": "crates",
          "matches_repo": true,
          "registry_url": "https://crates.io/crates/hugr-persistent",
          "is_deprecated": false,
          "latest_version": "0.7.5",
          "repository_url": "https://github.com/quantinuum/hugr",
          "versions_count": 28,
          "total_downloads": 3404,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": 105,
          "first_published_at": "2025-07-10T10:33:35.231525Z",
          "latest_published_at": "2026-07-07T11:16:44.635427Z",
          "latest_version_yanked": false,
          "days_since_latest_publish": 6
        },
        {
          "name": "hugr",
          "exists": true,
          "license": null,
          "ecosystem": "pypi",
          "matches_repo": true,
          "registry_url": "https://pypi.org/project/hugr/",
          "is_deprecated": false,
          "latest_version": "0.18.1",
          "repository_url": "https://github.com/quantinuum/hugr/tree/main/hugr-py",
          "versions_count": 48,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": null,
          "first_published_at": "2024-04-03T17:19:21.696509Z",
          "latest_published_at": "2026-07-13T17:11:25.381498Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 0
        },
        {
          "name": "hugr",
          "exists": true,
          "license": "Apache-2.0",
          "ecosystem": "crates",
          "matches_repo": true,
          "registry_url": "https://crates.io/crates/hugr",
          "is_deprecated": false,
          "latest_version": "0.29.1",
          "repository_url": "https://github.com/quantinuum/hugr",
          "versions_count": 64,
          "total_downloads": 175603,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": 11908,
          "first_published_at": "2024-04-04T09:52:22.731266Z",
          "latest_published_at": "2026-07-07T11:17:05.067872Z",
          "latest_version_yanked": false,
          "days_since_latest_publish": 6
        }
      ]
    },
    "popularity": {
      "forks": 18,
      "stars": 67,
      "watchers": 8,
      "open_issues_and_prs": 216
    },
    "ai_readiness": {
      "has_nix": true,
      "example_dirs": [
        "examples"
      ],
      "has_llms_txt": false,
      "has_dockerfile": false,
      "has_mcp_signal": false,
      "bootstrap_files": [
        "justfile",
        "test_files/justfile"
      ],
      "api_schema_files": [],
      "has_devcontainer": false,
      "typecheck_configs": [
        "hugr-py/src/hugr/py.typed"
      ],
      "largest_source_bytes": 261905,
      "source_files_sampled": 322,
      "oversized_source_files": 8,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "Cargo.toml",
        "hugr-cli/Cargo.toml",
        "hugr-core/Cargo.toml",
        "hugr-llvm/Cargo.toml",
        "hugr-model/Cargo.toml",
        "hugr-persistent/Cargo.toml",
        "hugr-py/Cargo.toml",
        "hugr-py/pyproject.toml",
        "hugr/Cargo.toml",
        "pyproject.toml"
      ],
      "ecosystems": [
        "crates",
        "pypi"
      ],
      "dependencies": [
        {
          "name": "clap",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "clap-verbosity-flag",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "derive_more",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "hugr",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "serde_json",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "serde",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "clio",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "anyhow",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "thiserror",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "tracing",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.1.44"
        },
        {
          "name": "tracing-subscriber",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.3.23"
        },
        {
          "name": "tabled",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.21.0"
        },
        {
          "name": "schemars",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "walkdir",
          "manifest": "hugr-cli/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "hugr-model",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "cgmath",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "delegate",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "derive_more",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "downcast-rs",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "enum_dispatch",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "html-escape",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "indexmap",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "itertools",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "pastey",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "petgraph",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "portgraph",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "regex",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "rustc-hash",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "serde",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "serde_json",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "serde_with",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "serde_yaml",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "smol_str",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "static_assertions",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "strum",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "thiserror",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "typetag",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "semver",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "zstd",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "ordered-float",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "base64",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "relrc",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "smallvec",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "tracing",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.1.44"
        },
        {
          "name": "schemars",
          "manifest": "hugr-core/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "inkwell",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": ">=0.9.0, <0.10"
        },
        {
          "name": "hugr-core",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "anyhow",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "itertools",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "delegate",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "petgraph",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "strum",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "insta",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "rstest",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "portgraph",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "derive_more",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "rand",
          "manifest": "hugr-llvm/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "base64",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "bumpalo",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "capnp",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "derive_more",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "indexmap",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "itertools",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "ordered-float",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "pest",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "pest_derive",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "pretty",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "rustc-hash",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "semver",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "smol_str",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "thiserror",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "pyo3",
          "manifest": "hugr-model/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "hugr-core",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "derive_more",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "delegate",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "itertools",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "petgraph",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "portgraph",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "relrc",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "serde",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "serde_json",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "thiserror",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "wyhash",
          "manifest": "hugr-persistent/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "bumpalo",
          "manifest": "hugr-py/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "hugr-core",
          "manifest": "hugr-py/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "hugr-cli",
          "manifest": "hugr-py/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "hugr-model",
          "manifest": "hugr-py/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "derive_more",
          "manifest": "hugr-py/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "pastey",
          "manifest": "hugr-py/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "pyo3",
          "manifest": "hugr-py/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "zstd",
          "manifest": "hugr-py/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": null
        },
        {
          "name": "graphviz",
          "manifest": "hugr-py/pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=0.20.3"
        },
        {
          "name": "pydantic",
          "manifest": "hugr-py/pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": "~=2.8"
        },
        {
          "name": "pydantic-extra-types",
          "manifest": "hugr-py/pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": "~=2.9"
        },
        {
          "name": "semver",
          "manifest": "hugr-py/pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": "~=3.0"
        },
        {
          "name": "typing-extensions",
          "manifest": "hugr-py/pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": "~=4.16"
        },
        {
          "name": "hugr-model",
          "manifest": "hugr/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "hugr-core",
          "manifest": "hugr/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "hugr-llvm",
          "manifest": "hugr/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.29.1"
        },
        {
          "name": "hugr-persistent",
          "manifest": "hugr/Cargo.toml",
          "ecosystem": "crates",
          "version_constraint": "0.7.5"
        }
      ]
    },
    "maintainership": {
      "issues": {
        "open_prs": 15,
        "merged_prs": 1937,
        "open_issues": 201,
        "closed_ratio": 0.776,
        "closed_issues": 695,
        "closed_unmerged_prs": 237
      },
      "bus_factor": 3,
      "top_contributors": [
        {
          "type": "User",
          "login": "aborgna-q",
          "commits": 608,
          "avatar_url": "https://avatars.githubusercontent.com/u/121866228?u=c8ef1bd5d4a284b9a34f4596b094795233321a80&v=4"
        },
        {
          "type": "User",
          "login": "ss2165",
          "commits": 372,
          "avatar_url": "https://avatars.githubusercontent.com/u/12997250?u=457de330caca1fa7e9042dffc0f1f2a07e0c9d65&v=4"
        },
        {
          "type": "User",
          "login": "acl-cqc",
          "commits": 219,
          "avatar_url": "https://avatars.githubusercontent.com/u/97161054?v=4"
        },
        {
          "type": "Bot",
          "login": "dependabot[bot]",
          "commits": 209,
          "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4"
        },
        {
          "type": "User",
          "login": "doug-q",
          "commits": 125,
          "avatar_url": "https://avatars.githubusercontent.com/u/141026920?v=4"
        },
        {
          "type": "User",
          "login": "cqc-alec",
          "commits": 97,
          "avatar_url": "https://avatars.githubusercontent.com/u/54802828?u=e8e14373fc941cf0347a10a1def2e3a0ec663e17&v=4"
        },
        {
          "type": "User",
          "login": "croyzor",
          "commits": 86,
          "avatar_url": "https://avatars.githubusercontent.com/u/5727256?u=1b2fd4900ba943e29103d2d6c5f4fa3da7d5cfd1&v=4"
        },
        {
          "type": "User",
          "login": "lmondada",
          "commits": 64,
          "avatar_url": "https://avatars.githubusercontent.com/u/72734770?u=9a7907b66a2d6870885da58f6ce9a27f3f3a07fe&v=4"
        },
        {
          "type": "User",
          "login": "hugrbot",
          "commits": 62,
          "avatar_url": "https://avatars.githubusercontent.com/u/170723698?u=1e3232deac86f7f7b263f3c6f896568354e59727&v=4"
        },
        {
          "type": "User",
          "login": "zrho",
          "commits": 51,
          "avatar_url": "https://avatars.githubusercontent.com/u/357669?v=4"
        }
      ],
      "contributors_sampled": 25,
      "top_contributor_share": 0.304
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "add-to-project.yml",
        "breaking-change-to-main.yml",
        "ci-py.yml",
        "ci-rs.yml",
        "docs.yml",
        "drop-cache.yml",
        "hugr-cli-v-release.yml",
        "notify-coverage.yml",
        "pr-title.yml",
        "python-wheels.yml",
        "release-please.yml",
        "release-plz.yml",
        "semver-checks.yml",
        "unsoundness.yml"
      ],
      "has_docs_dir": false,
      "linter_configs": [
        "ruff.toml"
      ],
      "has_editorconfig": false,
      "has_linter_config": true,
      "has_precommit_config": true
    },
    "security_signals": {
      "lockfiles": [
        "Cargo.lock",
        "uv.lock"
      ],
      "scorecard": {
        "checks": [
          {
            "name": "Binary-Artifacts",
            "score": 10,
            "reason": "no binaries found in the repo",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
          },
          {
            "name": "Branch-Protection",
            "score": 4,
            "reason": "branch protection is not maximal on development and all release branches",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": 10,
            "reason": "30 out of 30 merged PRs checked by a CI test -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
          },
          {
            "name": "CII-Best-Practices",
            "score": 0,
            "reason": "no effort to earn an OpenSSF best practices badge detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
          },
          {
            "name": "Code-Review",
            "score": 10,
            "reason": "all changesets reviewed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 5 contributing companies or organizations",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
          },
          {
            "name": "Dangerous-Workflow",
            "score": 10,
            "reason": "no dangerous workflow patterns detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
          },
          {
            "name": "Dependency-Update-Tool",
            "score": 10,
            "reason": "update tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
          },
          {
            "name": "Fuzzing",
            "score": 0,
            "reason": "project is not fuzzed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
          },
          {
            "name": "License",
            "score": 10,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 10,
            "reason": "30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": null,
            "reason": "packaging workflow not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": 0,
            "reason": "dependency not pinned by hash detected -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 0,
            "reason": "SAST tool is not run on all commits -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
          },
          {
            "name": "Security-Policy",
            "score": 0,
            "reason": "security policy file not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
          },
          {
            "name": "Signed-Releases",
            "score": 0,
            "reason": "Project has not signed or included provenance with any releases.",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
          },
          {
            "name": "Token-Permissions",
            "score": 0,
            "reason": "detected GitHub workflow tokens with excessive permissions",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
          },
          {
            "name": "Vulnerabilities",
            "score": 4,
            "reason": "6 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "c2bcff596bb850095b5df17e4511838b7548a255",
        "ran_at": "2026-07-14T10:03:28Z",
        "aggregate_score": 5.3,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": true
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/quantinuum/hugr",
    "host": "github.com",
    "name": "hugr",
    "owner": "quantinuum"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "good",
      "name": "Overall health",
      "note": null,
      "notes": [],
      "value": 76,
      "inputs": {
        "security": 54,
        "vitality": 96,
        "community": 55,
        "governance": 82,
        "engineering": 82
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "excellent",
        "name": "Vitality",
        "value": 96,
        "weight": 0.22,
        "metrics": [
          {
            "key": "development_activity",
            "band": "excellent",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "commits_last_year": 506,
              "human_commit_share": null,
              "days_since_last_push": 0,
              "active_weeks_last_year": 52
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 0 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "52/52 weeks with commits",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 52
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "506 commits in the last year",
                "points": 18,
                "status": "met",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 506
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "excellent",
            "name": "Release discipline",
            "note": null,
            "notes": [],
            "value": 90,
            "inputs": {
              "releases_count": 100,
              "latest_release_tag": "hugr-py-v0.18.1",
              "releases_from_tags": false,
              "days_since_latest_release": 0,
              "mean_days_between_releases": 1.6
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "100 releases published",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "releases_published",
                    "params": {
                      "count": 100
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 0 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~1.6 days",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 1.6
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "openssf_scorecard_signed_releases",
                "name": "OpenSSF Scorecard: Signed-Releases",
                "detail": "Project has not signed or included provenance with any releases.",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "abandonment",
            "band": "excellent",
            "name": "Abandonment",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "cap": null,
              "state": "unverified",
              "guards": [],
              "signals": [],
              "red_flag": false,
              "multiplier_pct": 100,
              "declared_reason": null,
              "unverified_reason": "no_commit_sample",
              "unanswered_open_prs": null,
              "unanswered_open_issues": null,
              "days_since_last_merged_pr": null,
              "days_since_last_human_commit": null,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "maintenance record not established from the collected data",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_unverified",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "moderate",
        "name": "Community & Adoption",
        "value": 55,
        "weight": 0.18,
        "metrics": [
          {
            "key": "popularity",
            "band": "at_risk",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 44,
            "inputs": {
              "forks": 18,
              "stars": 67,
              "watchers": 8,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "67 stars",
                "points": 29.5,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 67
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "18 forks",
                "points": 10.3,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 18
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "8 watchers",
                "points": 4.7,
                "status": "partial",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 8
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "moderate",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 50,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "has_contributing": false,
              "has_issue_template": false,
              "has_code_of_conduct": false,
              "has_pull_request_template": false
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 22.5,
                "status": "met",
                "details": [],
                "max_points": 22.5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "recognized license (Apache-2.0)",
                "points": 22.5,
                "status": "met",
                "details": [
                  {
                    "code": "license_standard",
                    "params": {}
                  },
                  {
                    "code": "license_spdx",
                    "params": {
                      "spdx": "Apache-2.0"
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributing_guide",
                "name": "CONTRIBUTING guide",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "code_of_conduct",
                "name": "Code of conduct",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 13.5
              },
              {
                "key": "issue_template",
                "name": "Issue template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.2
              },
              {
                "key": "pr_template",
                "name": "PR template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.3
              }
            ]
          },
          {
            "key": "ecosystem_adoption",
            "band": "good",
            "name": "Ecosystem adoption (downloads)",
            "note": "Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "registry_dependents"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 79,
            "inputs": {
              "packages": [
                "hugr-cli",
                "hugr-core",
                "hugr-llvm",
                "hugr-model",
                "hugr-persistent",
                "hugr",
                "hugr"
              ],
              "dependents": null,
              "ecosystems": "crates, pypi",
              "total_downloads": 728632,
              "monthly_downloads": 55417
            },
            "components": [
              {
                "key": "monthly_downloads",
                "name": "Monthly downloads",
                "detail": "55,417 downloads/month across crates, pypi",
                "points": 63.2,
                "status": "partial",
                "details": [
                  {
                    "code": "downloads_monthly",
                    "params": {
                      "count": 55417,
                      "ecosystems": "crates, pypi"
                    }
                  }
                ],
                "max_points": 80
              },
              {
                "key": "registry_dependents",
                "name": "Registry dependents",
                "detail": "not reported by this ecosystem",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_reported_by_this_ecosystem",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "good",
        "name": "Sustainability & Governance",
        "value": 82,
        "weight": 0.24,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "good",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 75,
            "inputs": {
              "bus_factor": 3,
              "contributors_sampled": 25,
              "top_contributor_share": 0.304
            },
            "components": [
              {
                "key": "bus_factor",
                "name": "Bus factor",
                "detail": "3 contributor(s) cover half of all commits",
                "points": 36,
                "status": "partial",
                "details": [
                  {
                    "code": "bus_factor",
                    "params": {
                      "count": 3
                    }
                  }
                ],
                "max_points": 54
              },
              {
                "key": "commit_distribution",
                "name": "Commit distribution",
                "detail": "top contributor authored 30% of commits",
                "points": 15.7,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 30
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "25 contributors",
                "points": 13.5,
                "status": "met",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 25
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 5 contributing companies or organizations",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "excellent",
            "name": "Issue & PR responsiveness",
            "note": null,
            "notes": [],
            "value": 85,
            "inputs": {
              "merged_prs": 1937,
              "open_issues": 201,
              "closed_issues": 695,
              "issue_closed_ratio": 0.776,
              "closed_unmerged_prs": 237
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "78% of issues closed",
                "points": 36.3,
                "status": "partial",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 78
                    }
                  }
                ],
                "max_points": 46.75
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "1937/2174 decided PRs merged",
                "points": 34.1,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 1937,
                      "decided": 2174
                    }
                  }
                ],
                "max_points": 38.25
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "all changesets reviewed",
                "points": 15,
                "status": "met",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "good",
            "name": "Ownership & stewardship",
            "note": null,
            "notes": [],
            "value": 73,
            "inputs": {
              "followers": 320,
              "owner_type": "Organization",
              "is_verified": null,
              "owner_login": "Quantinuum",
              "public_repos": 201,
              "account_age_days": 3902
            },
            "components": [
              {
                "key": "ownership_backing",
                "name": "Ownership backing",
                "detail": "organization-owned",
                "points": 30,
                "status": "met",
                "details": [
                  {
                    "code": "owner_organization",
                    "params": {}
                  }
                ],
                "max_points": 30
              },
              {
                "key": "verified_domain",
                "name": "Verified domain",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 20
              },
              {
                "key": "owner_reach",
                "name": "Owner reach",
                "detail": "320 followers of Quantinuum",
                "points": 18,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 320,
                      "login": "Quantinuum"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "201 public repos, account ~10 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 201
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 10
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "excellent",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "hugr-cli",
                "hugr-core",
                "hugr-llvm",
                "hugr-model",
                "hugr-persistent",
                "hugr",
                "hugr"
              ],
              "ecosystems": "crates, pypi",
              "any_deprecated": false,
              "min_days_since_publish": 0
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "7 package(s) on crates, pypi",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 7,
                      "ecosystems": "crates, pypi"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 0 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "64 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 64
                    }
                  }
                ],
                "max_points": 20
              },
              {
                "key": "not_deprecated",
                "name": "Not deprecated",
                "detail": "active, not deprecated or yanked",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "package_not_deprecated",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
      },
      {
        "key": "engineering",
        "band": "good",
        "name": "Engineering Quality",
        "value": 82,
        "weight": 0.2,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "excellent",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 94,
            "inputs": {
              "has_ci": true,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": true,
              "has_precommit_config": true
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "14 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 14
                    }
                  }
                ],
                "max_points": 24
              },
              {
                "key": "tests_present",
                "name": "Tests present",
                "detail": null,
                "points": 24,
                "status": "met",
                "details": [],
                "max_points": 24
              },
              {
                "key": "linter_config",
                "name": "Linter config",
                "detail": "ruff.toml",
                "points": 16,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "ruff.toml"
                    }
                  }
                ],
                "max_points": 16
              },
              {
                "key": "pre_commit_hooks",
                "name": "Pre-commit hooks",
                "detail": null,
                "points": 9.6,
                "status": "met",
                "details": [],
                "max_points": 9.6
              },
              {
                "key": "editorconfig",
                "name": ".editorconfig",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.4
              },
              {
                "key": "openssf_scorecard_ci_tests",
                "name": "OpenSSF Scorecard: CI-Tests",
                "detail": "30 out of 30 merged PRs checked by a CI test -- score normalized to 10",
                "points": 20,
                "status": "met",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "moderate",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 65,
            "inputs": {
              "topics": [
                "compiler",
                "intermediate-representation",
                "quantinuum",
                "quantum-computing"
              ],
              "has_wiki": false,
              "homepage": "https://quantinuum.github.io/hugr/",
              "has_readme": true,
              "has_docs_dir": false,
              "has_description": true
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 30,
                "status": "met",
                "details": [],
                "max_points": 30
              },
              {
                "key": "documentation_directory",
                "name": "Documentation directory",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": "https://quantinuum.github.io/hugr/",
                "points": 15,
                "status": "met",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": "4 topics",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "topics_count",
                    "params": {
                      "count": 4
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "moderate",
        "name": "Security",
        "value": 54,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "moderate",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Packaging. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "packaging"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 54,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 17,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 1,
              "scorecard_aggregate": 5.3
            },
            "components": [
              {
                "key": "binary_artifacts",
                "name": "Binary-Artifacts",
                "detail": "no binaries found in the repo",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "branch_protection",
                "name": "Branch-Protection",
                "detail": "branch protection is not maximal on development and all release branches",
                "points": 3,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "30 out of 30 merged PRs checked by a CI test -- score normalized to 10",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "cii_best_practices",
                "name": "CII-Best-Practices",
                "detail": "no effort to earn an OpenSSF best practices badge detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "code_review",
                "name": "Code-Review",
                "detail": "all changesets reviewed",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 5 contributing companies or organizations",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "dangerous_workflow",
                "name": "Dangerous-Workflow",
                "detail": "no dangerous workflow patterns detected",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "dependency_update_tool",
                "name": "Dependency-Update-Tool",
                "detail": "update tool detected",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "fuzzing",
                "name": "Fuzzing",
                "detail": "project is not fuzzed",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "license file detected",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow not detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "SAST tool is not run on all commits -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "security_policy",
                "name": "Security-Policy",
                "detail": "security policy file not detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "signed_releases",
                "name": "Signed-Releases",
                "detail": "Project has not signed or included provenance with any releases.",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "token_permissions",
                "name": "Token-Permissions",
                "detail": "detected GitHub workflow tokens with excessive permissions",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "vulnerabilities",
                "name": "Vulnerabilities",
                "detail": "6 existing vulnerabilities detected",
                "points": 3,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              }
            ]
          },
          {
            "key": "high_risk_jurisdiction_exposure",
            "band": "excellent",
            "name": "High-Risk Jurisdiction Exposure",
            "note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
            "notes": [
              {
                "code": "jurisdiction_evidence_limits",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": false,
              "exposures": [],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "review_only_matches": 0,
              "assessed_self_published_locations": 5
            },
            "components": [
              {
                "key": "policy_exposure_multiplier",
                "name": "Policy exposure multiplier",
                "detail": "no confirmed policy-scope location match",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "jurisdiction_no_match",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
      },
      {
        "key": "ai_readiness",
        "band": "moderate",
        "name": "AI Readiness",
        "value": 56,
        "weight": 0,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "critical",
            "name": "Agent context & guidance",
            "note": "Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "legible_commit_history"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 1,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": null,
              "agent_instruction_files": [],
              "agent_instruction_max_bytes": null
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": "no CLAUDE.md / AGENTS.md / editor rules",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_instructions",
                    "params": {}
                  }
                ],
                "max_points": 45
              },
              {
                "key": "machine_readable_docs_llms_txt",
                "name": "Machine-readable docs (llms.txt)",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "legible_commit_history",
                "name": "Legible commit history",
                "detail": "no data",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "excellent",
            "name": "Verify loop (build / test / typecheck)",
            "note": "Excluded from scoring (no data or not applicable): Demonstrated agent practice. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "demonstrated_agent_practice"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 86,
            "inputs": {
              "has_nix": true,
              "has_tests": true,
              "lockfiles": [
                "Cargo.lock",
                "uv.lock"
              ],
              "has_dockerfile": false,
              "typed_language": true,
              "bootstrap_files": [
                "justfile",
                "test_files/justfile"
              ],
              "has_devcontainer": false,
              "has_linter_config": true,
              "typecheck_configs": [
                "hugr-py/src/hugr/py.typed"
              ],
              "agent_commit_share": null,
              "toolchain_manifests": [],
              "dependency_bot_commit_share": 0
            },
            "components": [
              {
                "key": "one_command_bootstrap",
                "name": "One-command bootstrap",
                "detail": "justfile, test_files/justfile",
                "points": 18,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "justfile, test_files/justfile"
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "automated_tests",
                "name": "Automated tests",
                "detail": null,
                "points": 22,
                "status": "met",
                "details": [],
                "max_points": 22
              },
              {
                "key": "lint_format_config",
                "name": "Lint / format config",
                "detail": "ruff.toml",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "ruff.toml"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": "hugr-py/src/hugr/py.typed",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "hugr-py/src/hugr/py.typed"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": "Nix, lockfile",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "Nix, lockfile"
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "no data",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "dependency automation configured, none observed in the sampled commits",
                "points": 5,
                "status": "partial",
                "details": [
                  {
                    "code": "dependency_bot_config_only",
                    "params": {}
                  }
                ],
                "max_points": 8
              },
              {
                "key": "openssf_scorecard_pinned_dependencies",
                "name": "OpenSSF Scorecard: Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "ai_code_legibility",
            "band": "excellent",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 99,
            "inputs": {
              "primary_language": "Rust",
              "largest_source_bytes": 261905,
              "source_files_sampled": 322,
              "oversized_source_files": 8
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "Rust (statically typed)",
                "points": 45,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "Rust"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "8/322 source files over 60KB",
                "points": 53.6,
                "status": "partial",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 322,
                      "oversized": 8
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          },
          {
            "key": "ai_interfaces",
            "band": "at_risk",
            "name": "Machine-readable interfaces",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "example_dirs": [
                "examples"
              ],
              "has_mcp_signal": false,
              "api_schema_files": []
            },
            "components": [
              {
                "key": "api_schema_openapi_graphql_proto",
                "name": "API schema (OpenAPI/GraphQL/proto)",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 40
              },
              {
                "key": "mcp_server",
                "name": "MCP server",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 20
              },
              {
                "key": "runnable_examples",
                "name": "Runnable examples",
                "detail": "examples",
                "points": 40,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "examples"
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score."
      }
    ],
    "metrics_version": "1.13.0"
  },
  "warnings": [
    "Could not fetch crates package 'hugr-py' from its registry"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-14T10:03:54.844292Z",
  "schema_version": "0.9.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/q/quantinuum/hugr.svg",
  "full_name": "quantinuum/hugr",
  "license_state": "standard",
  "license_spdx": "Apache-2.0"
}

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 v1.13.0, schema v0.9.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticscrates.io, PyPI.