公开记录
软件健康报告模式 0.9.0 · 指标 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 星标⑂ 18 复刻始于 2023年3月在 GitHub 上查看 ↗

quantinuum/hugr 的健康指数为 100 分中的 76 分,处于「良好」区间。 其得分最高的类别是Vitality(96/100),最低的是Security(54/100)。 最近一次更新在今天。 近期的大部分工作由 3 位贡献者完成。

76
总分 / 100
良好

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 49(有风险)的上限。AI 就绪度不计入总体分。

76
优秀85-100堪称典范;基本满足所有检验标准
良好70-84健康;仅有轻微不足
中等50-69可接受,但存在明显不足;建议进行审查
存在风险30-49存在重大薄弱环节;采用时应保持审慎
危急1-29问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

所有权

320 关注者201 个公开仓库始于 2015年11月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

注册表软件包版本月下载量版本数最近发布
crates.iohugr-cli0.29.19,997586 天前
crates.iohugr-core0.29.111,956596 天前
crates.iohugr-llvm0.29.19,928536 天前
crates.iohugr-model0.29.111,523456 天前
crates.iohugr-persistent0.7.5105286 天前
PyPIhugr0.18.1-480 天前
crates.iohugr0.29.111,908646 天前

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

96优秀 · 占总体的 22%
评分方式
36/36推送新近度 — 最近一次推送于 0 天前
36/36提交节奏 — 52 周中有 52 周有提交
18/18提交量 — 最近一年 506 次提交
10/10OpenSSF Scorecard:Maintained — 30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year506
human_commit_share
days_since_last_push0
active_weeks_last_year52

发布纪律

90优秀
评分方式
27/27有发布版本 — 已发布 100 个发布版本
36/36发布时效 — 最近一次发布版本于 0 天前
27/27发布节奏 — 约每 1.6 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — Project has not signed or included provenance with any releases.
所用输入
releases_count100
latest_release_taghugr-py-v0.18.1
releases_from_tags
days_since_latest_release0
mean_days_between_releases1.6

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

55中等 · 占总体的 18%

流行度与采用

44存在风险
评分方式
29.5/60星标 — 67 个星标
10.3/25复刻 — 18 个复刻
4.7/15关注者 — 8 位关注者
所用输入
forks18
stars67
watchers8
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(Apache-2.0)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
has_contributing
has_issue_template
has_code_of_conduct
has_pull_request_template
评分方式
63.2/80月度下载量 — crates, pypi 合计每月 55,417 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packageshugr-cli, hugr-core, hugr-llvm, hugr-model, hugr-persistent, hugr, hugr
dependents
ecosystemscrates, pypi
total_downloads728,632
monthly_downloads55,417
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

82良好 · 占总体的 24%
评分方式
36/54巴士系数 — 3 位贡献者贡献了半数提交
15.7/22.5提交分布 — 头号贡献者编写了 30% 的提交
13.5/13.5贡献者广度 — 25 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 5 contributing companies or organizations
所用输入
bus_factor3
contributors_sampled25
top_contributor_share0.304
评分方式
36.3/46.8议题解决 — 78% 的议题已关闭
34.1/38.3PR 接受 — 已裁定的 PR 中 1,937/2,174 已合并
15/15OpenSSF Scorecard:Code-Review — all changesets reviewed
所用输入
merged_prs1,937
open_issues201
closed_issues695
issue_closed_ratio0.776
closed_unmerged_prs237
评分方式
30/30所有权背书 — 组织持有
0/20已验证域名
18/25所有者影响力 — Quantinuum 有 320 位关注者
25/25既往记录 — 201 个公开仓库,账户约 10 年
所用输入
followers320
owner_typeOrganization
is_verified
owner_loginQuantinuum
public_repos201
account_age_days3,902
评分方式
25/25已发布且可解析 — crates, pypi 上有 7 个软件包
35/35发布时效 — 最近一次发布于 0 天前
20/20版本历史 — 64 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packageshugr-cli, hugr-core, hugr-llvm, hugr-model, hugr-persistent, hugr, hugr
ecosystemscrates, pypi
any_deprecated
min_days_since_publish0

工程质量

基础的工程与文档实践是否到位?

82良好 · 占总体的 20%

工程实践

94优秀
评分方式
24/24CI 工作流 — 14 个工作流
24/24存在测试
16/16Linter 配置 — ruff.toml
9.6/9.6Pre-commit 钩子
0/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

65中等
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点 — https://quantinuum.github.io/hugr/
10/10仓库描述
10/10主题标签 — 4 个主题标签
0/10Wiki
所用输入
topicscompiler, intermediate-representation, quantinuum, quantum-computing
has_wiki
homepagehttps://quantinuum.github.io/hugr/
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

54中等 · 占总体的 16%

安全态势

54中等
评分方式
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.5许可证 — 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 — 无数据
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
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate5.3
已排除计分(无数据或不适用):packaging。 其余权重已重新归一化。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?这是一枚独立的实验性徽章——权重为 0.0,因此单独呈现,不影响总体健康评分。

56中等 · 占总体的 0%
评分方式
0/45代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
0/40可读的提交历史 — 无数据
所用输入
has_llms_txt
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
已排除计分(无数据或不适用):可读的提交历史。 其余权重已重新归一化。
评分方式
18/18一条命令的引导启动 — justfile, test_files/justfile
22/22自动化测试
11/11Lint / 格式化配置 — ruff.toml
11/11静态类型检查 — hugr-py/src/hugr/py.typed
10/10可复现环境 — Nix, lockfile
0/10已体现的代理实践 — 无数据
5/8自动化维护 — 已配置依赖自动化,但在抽样提交中未观察到
0/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfilesCargo.lock, uv.lock
has_dockerfile
typed_language
bootstrap_filesjustfile, test_files/justfile
has_devcontainer
has_linter_config
typecheck_configshugr-py/src/hugr/py.typed
agent_commit_share
toolchain_manifests
dependency_bot_commit_share0
已排除计分(无数据或不适用):已体现的代理实践。 其余权重已重新归一化。
评分方式
45/45可类型检查的代码 — Rust(静态类型)
53.6/55可控的文件大小 — 采样的 322 个源文件中有 8 个超过 60KB
所用输入
primary_languageRust
largest_source_bytes261,905
source_files_sampled322
oversized_source_files8

机器可读接口

40存在风险
评分方式
0/40API 模式(OpenAPI/GraphQL/proto)
0/20MCP 服务器
40/40可运行示例 — examples
所用输入
example_dirsexamples
has_mcp_signal
api_schema_files

关键数据

67GitHub 星标
25贡献者
506最近 12 个月提交数
0距最近推送天数
100发布版本数
3巴士系数(bus factor)
201开放议题
crates.io, PyPI软件包生态系统数

数据采集警告

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

更多细节

OpenSSF Scorecard 5.3 / 10
5.3综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。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
不适用Packagingpackaging 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
直接依赖 100
注册表软件包版本约束清单文件
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
原始 JSON 报告 机器可读
{
  "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"
}

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v1.13.0、模式 v0.9.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计crates.io, PyPI.