公开记录
软件健康报告模式 0.27.0 · 指标 1.13.0 · 2026-07-27 11:06 UTC

hannesm / patch

line based patch, input is a unified diff

OCaml自定义许可证★ 24 星标⑂ 5 复刻始于 2019年3月在 GitHub 上查看 ↗

hannesm/patch 的健康指数为 100 分中的 49 分,处于「存在风险」区间。 其得分最高的类别是Vitality(61/100),最低的是Security(36/100)。 最近一次更新在 21 天前。 近期的大部分工作由 1 位贡献者完成。

49
总分 / 100
存在风险

软件健康指数

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

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

评分画像

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

所有权

Hannes Mehnert个人账户
463 关注者278 个公开仓库始于 2010年3月@robur-coop

该仓库由个人账户拥有。相较于组织支持的项目,单一所有者项目的延续性风险更高。

按类别列示的指标

活力

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

61中等 · 占总体的 22%
评分方式
28.8/36推送新近度 — 最近一次推送于 21 天前
5.5/36提交节奏 — 52 周中有 8 周有提交
11.3/18提交量 — 最近一年 17 次提交
5/10OpenSSF Scorecard:Maintained — 6 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
所用输入
commits_last_year17
human_commit_share1
days_since_last_push21
active_weeks_last_year8

发布纪律

76良好
评分方式
27/27有发布版本 — 已发布 11 个发布版本
36/36发布时效 — 最近一次发布版本于 21 天前
12.6/27发布节奏 — 约每 149.7 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — Project has not signed or included provenance with any releases.
所用输入
releases_count11
latest_release_tagv3.1.2
releases_from_tags
days_since_latest_release21
mean_days_between_releases149.7

社区与采用

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

37存在风险 · 占总体的 18%

流行度与采用

30存在风险
评分方式
22.1/60星标 — 24 个星标
5/25复刻 — 5 个复刻
2.7/15关注者 — 4 位关注者
所用输入
forks5
stars24
watchers4
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

44存在风险
评分方式
22.5/22.5README
16.9/22.5许可证 — 存在许可证文件,但不是可识别的许可证
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

可持续性与治理

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

56中等 · 占总体的 24%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
11.1/22.5提交分布 — 头号贡献者编写了 51% 的提交
8.1/13.5贡献者广度 — 6 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 9 contributing companies or organizations
所用输入
bus_factor1
contributors_sampled6
top_contributor_share0.508
评分方式
24.9/46.8议题解决 — 53% 的议题已关闭
36.7/38.3PR 接受 — 已裁定的 PR 中 24/25 已合并
3/15OpenSSF Scorecard:Code-Review — Found 4/18 approved changesets -- score normalized to 2
所用输入
merged_prs24
open_issues7
closed_issues8
issue_closed_ratio0.533
closed_unmerged_prs1
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
19.2/25所有者影响力 — hannesm 有 463 位关注者
25/25既往记录 — 278 个公开仓库,账户约 16 年
所用输入
followers463
owner_typeUser
is_verified
owner_loginhannesm
public_repos278
account_age_days5,970
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。

工程质量

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

51中等 · 占总体的 20%

工程实践

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

文档

40存在风险
评分方式
30/30README
0/25文档目录
0/15文档 / 主页站点
10/10仓库描述
0/10主题标签
0/10Wiki
所用输入
topics
has_wiki
homepage
has_readme
has_docs_dir
has_description

安全

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

36存在风险 · 占总体的 16%

安全态势

36存在风险
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
1.2/2.5CI-Tests — 5 out of 9 merged PRs checked by a CI test -- score normalized to 5
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-Review — Found 4/18 approved changesets -- score normalized to 2
2.5/2.5Contributors — project has 9 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.2/2.5许可证 — license file detected
3.8/7.5Maintained — 6 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
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
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate3.6
已排除计分(无数据或不适用):packaging。 其余权重已重新归一化。

AI 就绪度

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

40存在风险 · 占总体的 0%
评分方式
0/45代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
18.7/40可读的提交历史 — 100 次人类提交中有 35 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
legible_history_share0.35
agent_instruction_files
agent_instruction_max_bytes
评分方式
0/18一条命令的引导启动
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查 — OCaml(静态类型)
0/10可复现环境
0/10已体现的代理实践 — 最近 100 次提交中没有代理编写的提交
0/8自动化维护 — 未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfiles
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
评分方式
45/45可类型检查的代码 — OCaml(静态类型)
0/55可控的文件大小 — 未检测到源文件
所用输入
primary_languageOCaml
largest_source_bytes
source_files_sampled0
oversized_source_files0
已排除计分(无数据或不适用):可控的文件大小。 其余权重已重新归一化。

关键数据

24GitHub 星标
6贡献者
17最近 12 个月提交数
21距最近推送天数
11发布版本数
1巴士系数(bus factor)
7开放议题
软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

Star 与 Fork 历史 0 ★ / 5 ⇿
0Star
5Fork
7发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

12345512019-032022-062025-10
主版本 3次版本 0修订 1

每个点涵盖 7 天。

OpenSSF Scorecard 3.6 / 10
3.6综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-07-27 11:06 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
5CI-Tests5 out of 9 merged PRs checked by a CI test -- score normalized to 5
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 4/18 approved changesets -- score normalized to 2
10Contributorsproject has 9 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
5Maintained6 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5
不适用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
10Vulnerabilities0 existing vulnerabilities detected
全部依赖 0

来自 GitHub 依赖图的完整解析依赖集合:0 个直接依赖与 0 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
依赖安全公告 未评估

本报告未能完成公告比对:No resolved dependencies to assess

原始 JSON 报告 机器可读
{
  "data": {
    "repo": {
      "topics": [],
      "is_fork": false,
      "size_kb": 730,
      "has_wiki": false,
      "homepage": null,
      "languages": {
        "Dune": 106,
        "OCaml": 92917,
        "Shell": 2449
      },
      "pushed_at": "2026-07-06T08:24:42Z",
      "created_at": "2019-03-10T16:45:43Z",
      "owner_type": "User",
      "updated_at": "2026-07-06T08:23:50Z",
      "description": "line based patch, input is a unified diff",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": null,
      "default_branch": "main",
      "license_spdx_raw": "NOASSERTION",
      "primary_language": "OCaml",
      "significant_languages": [
        "OCaml"
      ]
    },
    "owner": {
      "blog": "https://hannes.robur.coop",
      "name": "Hannes Mehnert",
      "type": "User",
      "login": "hannesm",
      "company": "@robur-coop",
      "location": null,
      "followers": 463,
      "avatar_url": "https://avatars.githubusercontent.com/u/228456?v=4",
      "created_at": "2010-03-23T07:12:39Z",
      "is_verified": null,
      "public_repos": 278,
      "account_age_days": 5970
    },
    "license": {
      "state": "custom",
      "spdx_id": null,
      "raw_spdx": "NOASSERTION",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v3.1.2",
          "kind": "patch",
          "published_at": "2026-07-06T08:24:01Z"
        },
        {
          "tag": "v3.1.1",
          "kind": "patch",
          "published_at": "2026-05-05T10:40:30Z"
        },
        {
          "tag": "v3.1.0",
          "kind": "minor",
          "published_at": "2025-11-06T08:13:11Z"
        },
        {
          "tag": "v3.0.1",
          "kind": "patch",
          "published_at": "2025-10-15T13:24:21Z"
        },
        {
          "tag": "v3.0.0",
          "kind": "major",
          "published_at": "2025-07-03T14:24:31Z"
        },
        {
          "tag": "v3.0.0-beta1",
          "kind": "prerelease",
          "published_at": "2025-06-02T01:12:59Z"
        },
        {
          "tag": "v3.0.0-alpha2",
          "kind": "prerelease",
          "published_at": "2025-05-01T19:10:51Z"
        },
        {
          "tag": "v3.0.0-alpha1",
          "kind": "prerelease",
          "published_at": "2025-03-06T14:49:23Z"
        },
        {
          "tag": "v2.0.0",
          "kind": "major",
          "published_at": "2024-04-03T12:49:38Z"
        },
        {
          "tag": "v1.0.1",
          "kind": "patch",
          "published_at": "2022-10-27T18:13:01Z"
        },
        {
          "tag": "v1.0.0",
          "kind": "major",
          "published_at": "2019-12-21T22:15:47Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "1b977a11d5e3c80c325aed6ea8a85a9801cbe57c",
          "body": null,
          "is_bot": false,
          "headline": "changes for 3.1.2",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2026-07-06T08:23:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7c7d5745e7f902937371937c764986184d8488ad",
          "body": "opatch: exit with non-zero exit code if a patch does not apply",
          "is_bot": false,
          "headline": "Merge pull request #45 from hannesm/exit-with-failure",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2026-07-06T08:22:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0a996582c5d04726f44c653aeb19d293cb26d63f",
          "body": null,
          "is_bot": false,
          "headline": "use 4.11 (latest opam-repository supported version)",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2026-07-04T07:02:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d35219f2232ab4b6894c7a629d63759d587b14b7",
          "body": null,
          "is_bot": false,
          "headline": "opatch: exit with non-zero exit code if a patch does not apply",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2026-07-04T06:58:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c9f7a60ec27a0d7fe3e69d6ec74df404538d9ab4",
          "body": null,
          "is_bot": false,
          "headline": "changes for 3.1.1",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2026-05-05T10:40:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ddb22b25baeef501c195aa9ebd5d11bd0f2b0116",
          "body": "fix: ---/+++ should take precedence over spurious git metadata",
          "is_bot": false,
          "headline": "Merge pull request #42 from Alizter/fix-spurious-file-mode",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2026-05-05T10:38:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "88d9b1bd9b81db8930925731097ec37a92456578",
          "body": "When a patch contains git metadata (e.g. \"new file mode\" or \"deleted\nfile mode\") but the ---/+++ headers indicate an Edit with a matching\nfilename, accept the Edit operation from ---/+++. GNU patch similarly\nignores the spurious git metadata in this case.\n\nPreviously, these patterns only matched exa\n[…]\nmatch Edit, which arises in hand-edited\npatches where the git metadata is wrong but the diff hunks are valid.\n\nCo-authored-by: Kate <kit-ty-kate@exn.st>\nSigned-off-by: Ali Caglayan <alizter@gmail.com>",
          "is_bot": false,
          "headline": "Handle Edit when ---/+++ contradicts git Create/Delete metadata",
          "author_name": "Ali Caglayan",
          "author_login": "Alizter",
          "committed_at": "2026-04-27T18:10:33Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "59a318563d745e63fc69f3d58a8a8ff302e91c4b",
          "body": null,
          "is_bot": false,
          "headline": "changes for 3.1.0",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-11-06T08:12:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4df47027f79aeb4966f76ca668763d850ecd3b83",
          "body": "* Use a rope of string array instead of a list of strings\n\nThis improves my usecase (a single file diffed with 2000 hunks by a factor of 20\n\n* avoid physical equality, avoid polymorphic equality\n\n* add test case \"many-hunks\" (from external)\n\n---------\n\nCo-authored-by: Kate <kit-ty-kate@exn.st>",
          "is_bot": false,
          "headline": "Use a rope of string array instead of a list of strings (#37)",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-11-06T08:10:40Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6fd3f296f9c5220ceda84e0c548fd1c38373e3fc",
          "body": "Fix the opam-repository test script",
          "is_bot": false,
          "headline": "Merge pull request #39 from hannesm/fix-test.sh",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-11-02T23:01:57Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8e76c7193a7d85ec4fe03cb9cad29f4e88699ccc",
          "body": "- pushd/popd are not part of sh (at least on FreeBSD) -- now using bash\n- with grep */*/opam, I get argument list too long -- now using a recursive grep",
          "is_bot": false,
          "headline": "Fix the opam-repository test script",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-10-31T16:09:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e4ab650a6689c744ea0ae9129df73566d55cacb5",
          "body": "GitHub action: test on 4.08, 4.14, and 5.4 - linux only",
          "is_bot": false,
          "headline": "Merge pull request #38 from hannesm/actions",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-10-23T11:27:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "558d57a6b250665852e183b0ba0734cfcbd8a84f",
          "body": null,
          "is_bot": false,
          "headline": "GitHub action: test on 4.08, 4.14, and 5.4 - linux only",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-10-23T11:11:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0b365e5e1f2fccf7eb20957cb0077cdaf2ffc056",
          "body": null,
          "is_bot": false,
          "headline": "opatch.opam: opatch doesn't have any tests, so no need for testrun",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-10-15T15:21:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "949ba9b73918d59e090202fc5807194cac8de0e3",
          "body": null,
          "is_bot": false,
          "headline": "opatch.opam: specify x-maintenance-intent",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-10-15T13:27:17Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7b0149bcd625edbb649f0598305a1da69196558e",
          "body": null,
          "is_bot": false,
          "headline": "changes for 3.0.1",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2025-10-15T13:23:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e95238b445bc5f256e01d932ef6a7105d0fcc6f8",
          "body": "* Add an `opatch` package and command-line tool\n\nThis patch reuses a lot of code written by Kate Deplaix for opam\n\nCo-Authored-By: Kate <kit-ty-kate@exn.st>",
          "is_bot": false,
          "headline": "Add an `opatch` package and command-line tool (#35)",
          "author_name": "shym",
          "author_login": "shym",
          "committed_at": "2025-10-15T13:22:20Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "76fb487c5f2f194c65a79b310c89fc91ee416f21",
          "body": null,
          "is_bot": false,
          "headline": "Release 3.0.0",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-07-03T14:22:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fe7077c7e5e55721e77e7dbc2af2c044851cef20",
          "body": null,
          "is_bot": false,
          "headline": "Release 3.0.0~beta1",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-02T01:09:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c1a06e83564908d52b9fa64eeb01387c306e2364",
          "body": "Allow to use Patch.patch and Patch.pp_hunk on large diffs with OCaml 4",
          "is_bot": false,
          "headline": "Merge pull request #30 from kit-ty-kate/fix-large-diff-support-ocaml4",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-02T01:03:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "14c6170a874c330b3eb6344de8b574860cb2f223",
          "body": null,
          "is_bot": false,
          "headline": "Allow to use Patch.patch on large diffs with OCaml 4",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-02T00:59:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6258e519d46c07785e59c7eb19e7255277e5b04e",
          "body": null,
          "is_bot": false,
          "headline": "remove unnecessary List.rev",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-02T00:59:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "223652a702c2bdbb3860f5cf4aa2a05a435c3678",
          "body": "This also allows to use Patch.patch on large diffs when using OCaml 4\nas (@)/List.append is not tail-recursive with OCaml 4",
          "is_bot": false,
          "headline": "speedup Patch.patch by avoiding List.append",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-02T00:59:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "00800e963e8967a31ca5db0b6c3ce114e8856189",
          "body": "List.map and (@) were not tail-recursive so it would stack overflow",
          "is_bot": false,
          "headline": "Patch.pp_hunk: Fix support for printing large diffs with OCaml 4",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-02T00:59:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3090e15ffc9cea81b420b7743cd373827a4d5359",
          "body": "…large diffs with OCaml 4",
          "is_bot": false,
          "headline": "Add a test showing Patch.patch and Patch.pp_hunk stackoverflowing on …",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-02T00:59:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e50ab1e4f60a4b1e2d59dfc0c14f3bda35f7d8b8",
          "body": "Fix Patch.diff generating malformed patch when adding a line at the end of a file that doesn't end with a newline character",
          "is_bot": false,
          "headline": "Merge pull request #29 from kit-ty-kate/fix-no-newline-add",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-02T00:05:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c3f5bbb583427fcfc8d79172df8dc907cf970690",
          "body": "…nd of a file that doesn't end with a newline character",
          "is_bot": false,
          "headline": "Fix Patch.diff generating malformed patch when adding a line at the e…",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-01T23:59:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e16a69ef72923ef7784fd4b6f830cf4ddf88cc9a",
          "body": "…e end of a file that doesn't end with a newline character",
          "is_bot": false,
          "headline": "Add a test showing malformed diffs generated when adding a line at th…",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-06-01T23:58:56Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4571fcb12f886c23f6e2d6bdada382c25bb66112",
          "body": null,
          "is_bot": false,
          "headline": "Release 3.0.0~alpha2",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T19:07:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6ef2dbd7d2762170dad72cd3f0a561cc64f322be",
          "body": "Add support for empty files through git extensions",
          "is_bot": false,
          "headline": "Merge pull request #26 from kit-ty-kate/empty-delete-create",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T18:55:01Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "77cf4aabe1d44c6fcef555803690b586c8874e3c",
          "body": "…ace modes",
          "is_bot": false,
          "headline": "Simplify editing the tests using editors with delete-trailing-whitesp…",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T18:49:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ea21fcd25fd0e74ba83772c58bfc8b20eac57195",
          "body": "…before-archiving-phase1",
          "is_bot": false,
          "headline": "opam-repository test: Use opam-repository-archive instead of 2025-01-…",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T18:49:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2561361b0710421f419c56a9531a634798cc74c3",
          "body": null,
          "is_bot": false,
          "headline": "Update my email address",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T18:49:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c07684a89163c937272da799f899947b9bfacaac",
          "body": null,
          "is_bot": false,
          "headline": "Simplify the handling empty files in Patch.diff",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T18:49:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "908c0da8d6b048cdb98bf828f5304f12cfa0d48b",
          "body": "The POSIX unified diff format does not support them (empty file = absent file)\nbut the git extensions \"deleted file mode\" and \"new file mode\" do.\nThis also adds support for deleting files without have to knew their\ncontent.\n\nAdding support for these extensions requires specialised variants\nto be able to print both the \"[deleted|new] file mode <filename>\" line\nand the \"git --diff ...\" header line.",
          "is_bot": false,
          "headline": "Add support for empty files through git extensions",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T18:48:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2a9fa145e8c2765c66eaa017ea358ca22fa043a8",
          "body": "…l with empty files",
          "is_bot": false,
          "headline": "Add some tests testing the handling of the git extensions able to dea…",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T18:30:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8e33986c009336b5cb9671c12e332f31ae68568b",
          "body": null,
          "is_bot": false,
          "headline": "Add a test to make sure \"parse (print (parse x)) = parse x\"",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-05-01T18:30:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1d86823a41ad7afa2ea757d05ac2983d77a9d128",
          "body": "Speedup",
          "is_bot": false,
          "headline": "Merge pull request #23 from kit-ty-kate/speedup",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-04-23T14:07:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3adfd77f2c8d36d407d34b1ce387ade3a36feebe",
          "body": null,
          "is_bot": false,
          "headline": "Document how to run the testsuite",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-04-23T13:37:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5f3dc1767e9559412667e651a949b03d7bc3cbca",
          "body": null,
          "is_bot": false,
          "headline": "pp_operation: fix printing of Rename_only",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-04-23T13:37:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3096076b0a10e976a8829a29e118cea2f0f890b7",
          "body": null,
          "is_bot": false,
          "headline": "Unlock parsing large diffs",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-04-23T13:37:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "16668eab221443d14e7981fbd5f948a384aba7a2",
          "body": "Here the diff is between 2025-01-before-archiving-phase1 and 999bff3ed88d26f76ff7eaddbfa7af49ed4737dc from opam-repository",
          "is_bot": false,
          "headline": "Test large diffs",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-04-23T13:37:17Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "21f062e5a68b374be35b852d3d6d264e49adc478",
          "body": null,
          "is_bot": false,
          "headline": "Add myself to the list of authors",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-03-06T21:12:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9617caccba287c6764f00e74219f0c96f2d4bfc5",
          "body": null,
          "is_bot": false,
          "headline": "Release 3.0.0~alpha1",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-03-06T14:44:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4ed8475e0342dc906e34eed4aec2b863af200fcd",
          "body": "Parse and apply all the unified patch files from opam-repository",
          "is_bot": false,
          "headline": "Merge pull request #22 from kit-ty-kate/opam-repository-fixes",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-03-06T14:22:49Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "445da591cf61c2e7317fb2534018719edb8a16ee",
          "body": null,
          "is_bot": false,
          "headline": "Speedup fuzzing",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:36:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "edaff16b9cafee1785936cec0df7952d2b950341",
          "body": null,
          "is_bot": false,
          "headline": "Make the calls to the internal library explicit",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:36:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c5b615df1a0d01b1c8f85dea98c4dfa047981568",
          "body": null,
          "is_bot": false,
          "headline": "Rename the internal Patch_lib module to Lib",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:36:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d8a4a597526adc8d2b46502bdc09caa532cd5819",
          "body": null,
          "is_bot": false,
          "headline": "Start the diff start index from 1 (0 if empty)",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:36:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "422331b51f2a1021510a5e28d49b243ba8b0983d",
          "body": "See https://github.com/ocaml/ocaml/commit/b710ec0a85f92dc10d5260fbb90a47777db04aee",
          "is_bot": false,
          "headline": "Patch.pp_hunk: Stop using the deprecated Format escape character",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7f08f33f377c38950cde1cc9f2185a7a36ddbab2",
          "body": null,
          "is_bot": false,
          "headline": "Harden parsing of the start/length header",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "89d572f804479a7f701d7fcf2535000b3167f48e",
          "body": "This follows the GNU patch behaviour, but we're loosing support\nfor filenames containing spaces when parsing busybox diffs.",
          "is_bot": false,
          "headline": "Add support for spaces instead of tabs between filename and date",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5a71b9a89428a03978fb3b46025bafe9feb22bb6",
          "body": null,
          "is_bot": false,
          "headline": "Patch.pp_operation: Print the git header when using a git extension",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f7bd24f536c7829edda9d0592443ebcf07006765",
          "body": null,
          "is_bot": false,
          "headline": "Add support for the empty file deletion git extension",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "097683ae0086f45867167995c8022270b666563a",
          "body": null,
          "is_bot": false,
          "headline": "Speedup lexing by moving from ocamllex to a custom lexer",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "02fda4270e56dc006bf83d2e71f604ce0935861f",
          "body": null,
          "is_bot": false,
          "headline": "Handle git extensions only when in presence of a git header",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1b55ab12687a272b45630c1218b0c451626c670c",
          "body": "Examples of this behaviour can be seen in fix_404.patch from bitstring.2.0.4\nand unsafe_string.patch from ordma.0.0.5",
          "is_bot": false,
          "headline": "Allow up to 3 assumed-empty lines missing at the end of each hunk",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "53ed4a04beca3a7de1a4098f5aac8c4ebdfc7f75",
          "body": "…to satisfy it",
          "is_bot": false,
          "headline": "Patch.parse: Ignore ~p when the filename doesn't have enough slashes …",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9be9248012eb379f7d046e2cf98996c647f80f5f",
          "body": "…gorithm\n\nExamples of this behaviour can be seen in config.patch from afl-persistent.1.4",
          "is_bot": false,
          "headline": "Patch.apply: allow unclean application using the default GNU Patch al…",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ce3fec1bfb98afc725f0b3e25379d2b94a2f76e7",
          "body": null,
          "is_bot": false,
          "headline": "Patch.pp_hunk: Add missing final end of line character",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8cb8ce7cd0373300c521dbb013720f2dc1aa0de0",
          "body": null,
          "is_bot": false,
          "headline": "Add a couple of TODO comments",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "762bee2fe7b781fbabc8dd6e6fa232a0e4d6ec47",
          "body": null,
          "is_bot": false,
          "headline": "Avoid fragile pattern matching",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "33b3a95bc6662f52c703db3a76c6f58dae691b18",
          "body": null,
          "is_bot": false,
          "headline": "Refuse context diffs and only accept unified diffs",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "79ae11e9bd8b20c9553600d84bcbf0309f9c11e3",
          "body": "Examples of this behaviour can be seen in easy-format-make.diff from easy-format.1.0.1",
          "is_bot": false,
          "headline": "Allow the tab character to be used in place of \" \\t\"",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a9a9096eea39a42e772cd547ef8769dee6aeaefe",
          "body": "Examples of this behaviour can be seen in configure.diff from stone.0.1",
          "is_bot": false,
          "headline": "Allow empty line to equivalent to a simple newline in both mine/their",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "655d9a314ae000afcf266d7a306f0777b9d24f41",
          "body": null,
          "is_bot": false,
          "headline": "Add a script testing all the patches from opam-repository",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2025-02-22T02:35:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4dbcb67a8d96d818960dbbfff2f454d5f3d1043c",
          "body": null,
          "is_bot": false,
          "headline": "add maintenance intent",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-12-17T15:59:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2b647d19fbc1ce623133d7a26e98bd3780fd320a",
          "body": "Quote special characters from filename when pretty-printing them",
          "is_bot": false,
          "headline": "Merge pull request #21 from kit-ty-kate/quoted-filenames-pretty-printer",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-10-07T18:30:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "42e3dd69801abf2b6f064f10a77de2ec54e15f87",
          "body": null,
          "is_bot": false,
          "headline": "Quote special characters from filename when pretty-printing them",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-10-07T17:45:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1807a453a96a61d0a8b236e2e6755e536b969d56",
          "body": null,
          "is_bot": false,
          "headline": "Add some tests showing the behaviour of Patch.pp_operation",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-10-07T17:45:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c1a631fed295266059720ab4d92db0e6f21e7c90",
          "body": "Add a ~p parameter to Patch.parse mimicking the behaviour of patch -p<num>",
          "is_bot": false,
          "headline": "Merge pull request #9 from kit-ty-kate/p1",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-10-07T16:45:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "57366b48c8e3e14d4b1541a727fa6e554b972cad",
          "body": "…<num>\n\nCo-authored-by: Hannes Mehnert <hannes@mehnert.org>",
          "is_bot": false,
          "headline": "Add a ~p parameter to Patch.parse mimicking the behaviour of patch -p…",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-10-07T16:39:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "81d31bdc21809ea6c0888637c0d412260e44a7d6",
          "body": "More robust reading of filenames",
          "is_bot": false,
          "headline": "Merge pull request #20 from Leonidas-from-XIV/filename-spaces",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-10-07T15:55:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7cde69d00a6c81659d9dff10bf5a1a14a1554477",
          "body": "…iff -N",
          "is_bot": false,
          "headline": "Detect file creation/deletion when parsing patch files created with d…",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-10-04T16:14:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ae2812348640ff79e7d414d2d68c6f21cd88696e",
          "body": "Co-authored-by: Marek Kubica <marek@tarides.com>",
          "is_bot": false,
          "headline": "Fix the parsing of filenames coming from GNU/git diff",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-10-04T16:14:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6a754d0a0c22afb08cdbd68973f5bd73285b30f8",
          "body": "Co-authored-by: Kate <kit-ty-kate@outlook.com>",
          "is_bot": false,
          "headline": "Add some tests showing the behaviour of the filename parser",
          "author_name": "Marek Kubica",
          "author_login": "Leonidas-from-XIV",
          "committed_at": "2024-10-04T15:55:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9e89a93ec40a0d4d68343cd4ff83c7e9725bd4ad",
          "body": null,
          "is_bot": false,
          "headline": "changes for 2.0.0",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-04-03T12:49:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "578b2a30c159c3565cb0c062b5f6e1d0a43cedcf",
          "body": null,
          "is_bot": false,
          "headline": "README: formatting fix",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-04-03T11:43:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c32fe1e15da78ca0ae53613b7bb8cf59a12bbe03",
          "body": null,
          "is_bot": false,
          "headline": "minor documentation tweaks",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-04-03T10:45:15Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "28abca162da4c887e39cef56297d0b0142155109",
          "body": "Rename Patch.to_diffs to Patch.parse",
          "is_bot": false,
          "headline": "Merge pull request #16 from kit-ty-kate/rename-to_diffs-parse",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-04-02T18:52:49Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "cad944e246a90350c5200b0ee4d5f1cd2dac9378",
          "body": null,
          "is_bot": false,
          "headline": "Rename Patch.to_diffs to Patch.parse",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-04-02T18:46:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "72181c005ba6a53d593d6cc2498eefadce268518",
          "body": "* Create the dumbest diff implementation\r\n\r\n* Optimize Patch.diff for the case where files are not different\r\n\r\n* Add complete tests for the new Patch.diff function\r\n\r\n* Ensure there are no unused functions in the tests or any other executables\r\n\r\n* Fix all the Patch.diff tests\r\n\r\n* Add tests for Patch.diff when diffing empty files\r\n\r\n* Shorten the new alcotest subnames",
          "is_bot": false,
          "headline": "Create a diff implementation (#12)",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-04-02T18:37:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "349838cb9f7c5b520e2bb2dd03a7061cac73cab8",
          "body": "Merge Edit and Rename",
          "is_bot": false,
          "headline": "Merge pull request #14 from kit-ty-kate/merge-edit-rename",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-03-27T18:11:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "862944337d2ce60dc720a29f9ba09f472a1c385e",
          "body": "I feel like they shouldn't be separated given a diff can be an\nEdit or a Rename solely based on the prefix number. For example:\n```\n--- a/a\n+++ b/a\n```\nwould be Rename (\"a/a\", \"b/a\") but if we're applying it using\n`patch -p1` they're equal.",
          "is_bot": false,
          "headline": "Merge Edit and Rename",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-03-27T16:22:17Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0ae9ca52b23c79945615c098e5b4957166b802a8",
          "body": "Add Patch.pp_list",
          "is_bot": false,
          "headline": "Merge pull request #13 from kit-ty-kate/pp_list",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-03-26T20:16:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f5fc6df529b3d1273057afca9e481475955631ef",
          "body": null,
          "is_bot": false,
          "headline": "Add Patch.pp_list",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-03-26T19:10:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7e9cca9c6cf5cc31476edab5948951e93674bcfe",
          "body": "* Fix parsing of '---' mid diff\r\n\r\n* match GNU patch's behaviour regarding \"\\ No newline at end of file\"\r\n\r\n* Fix parsing (patch chunks are driven by their defined length and nothing else)\r\n\r\n* add test mentioned in the PR\r\n\r\n* Apply suggestions from code review\r\n\r\nCo-authored-by: Kate <kit-ty-kate@outlook.com>\r\n\r\n* opam: add alcotest lower bound\r\n\r\n---------\r\n\r\nCo-authored-by: Hannes Mehnert <hannes@mehnert.org>",
          "is_bot": false,
          "headline": "Fix the diff parser (#10)",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-03-26T14:49:09Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "02c42a1efb9c11d4b516b84afdb4c603efa49365",
          "body": "Pretty printer: Fix no_nl support",
          "is_bot": false,
          "headline": "Merge pull request #11 from kit-ty-kate/fix-pp-no_nl",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-03-25T14:00:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2e27ef67c7004d54232bcfe996cfe952731f9a2a",
          "body": null,
          "is_bot": false,
          "headline": "Pretty printer: Fix no_nl support",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-03-22T20:59:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "87f98e763bc8c97ecfd8cf343b84af729edd19e1",
          "body": null,
          "is_bot": false,
          "headline": "API docs",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-03-21T10:58:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b80267253015e93900ec466fe3fa98bcae3522b5",
          "body": null,
          "is_bot": false,
          "headline": "regression test for git diff",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-03-21T09:20:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f35adfeecb720d5b35d64fc72f5a211c4c34c7a4",
          "body": "Add support for git format-patch headers",
          "is_bot": false,
          "headline": "Merge pull request #7 from kit-ty-kate/git-format-patch-headers",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2024-03-21T09:13:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8cb4d083a5c74a28d6b250ea1463dc631d50730b",
          "body": null,
          "is_bot": false,
          "headline": "Add support for git format-patch headers",
          "author_name": "Kate",
          "author_login": "kit-ty-kate",
          "committed_at": "2024-03-20T13:43:14Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "481cb8748ed6fb3ff72c06a609634625961e4d73",
          "body": null,
          "is_bot": false,
          "headline": "changes for 1.0.1",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2022-10-27T18:12:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0579e87159592090f9c4472f4af054f54a0bbf50",
          "body": null,
          "is_bot": false,
          "headline": "opam: pinned is now dev",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2022-10-27T18:02:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "29b7c70327f30fd618ac487116d3010d5b99d189",
          "body": null,
          "is_bot": false,
          "headline": "remove unneeded bytes dependency",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2022-10-27T18:02:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "82241df17c5f0a29caf7ad28d50f4a83712a2c78",
          "body": null,
          "is_bot": false,
          "headline": "fix compilation",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2022-10-27T18:01:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1d09bbf317519e200e7925b9d9f64ead6bbdd320",
          "body": null,
          "is_bot": false,
          "headline": "use github actions, remove travis",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2022-10-27T17:55:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1d8289c1c4098963caca14b11857232efd518f6c",
          "body": "support for Git diff",
          "is_bot": false,
          "headline": "Merge pull request #4 from hannesm/git-diff",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2019-12-21T22:14:30Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fa928dae273d6e39d9fab6a85a198b71d4990eb4",
          "body": null,
          "is_bot": false,
          "headline": "[ci skip] prepare release",
          "author_name": "Hannes Mehnert",
          "author_login": "hannesm",
          "committed_at": "2019-12-21T22:11:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 11,
      "commits_last_year": 17,
      "latest_release_at": "2026-07-06T08:24:01Z",
      "latest_release_tag": "v3.1.2",
      "releases_from_tags": false,
      "days_since_last_push": 21,
      "active_weeks_last_year": 8,
      "days_since_latest_release": 21,
      "mean_days_between_releases": 149.7
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "has_description": true,
      "has_contributing": false,
      "health_percentage": 42,
      "has_issue_template": false,
      "has_code_of_conduct": false,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": []
    },
    "popularity": {
      "forks": 5,
      "stars": 24,
      "watchers": 4,
      "fork_history": {
        "days": [
          {
            "date": "2019-03-12",
            "count": 1
          },
          {
            "date": "2024-03-20",
            "count": 1
          },
          {
            "date": "2024-09-26",
            "count": 1
          },
          {
            "date": "2025-06-17",
            "count": 1
          },
          {
            "date": "2025-10-10",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 5,
        "total_forks": 5
      },
      "star_history": null,
      "open_issues_and_prs": 12
    },
    "ai_readiness": {
      "has_nix": false,
      "example_dirs": [],
      "has_llms_txt": false,
      "has_dockerfile": false,
      "has_mcp_signal": false,
      "bootstrap_files": [],
      "api_schema_files": [],
      "has_devcontainer": false,
      "typecheck_configs": [],
      "toolchain_manifests": [],
      "largest_source_bytes": null,
      "source_files_sampled": 0,
      "oversized_source_files": 0,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [],
      "advisories": {
        "error": "No resolved dependencies to assess",
        "scope": "repository_graph",
        "source": null,
        "findings": [],
        "collected": false,
        "malicious": [],
        "truncated": false,
        "by_severity": {},
        "advisory_count": 0,
        "affected_count": 0,
        "assessed_count": 0,
        "malicious_count": 0,
        "assessed_package": null,
        "unassessed_count": 0,
        "direct_affected_count": 0
      },
      "ecosystems": [],
      "dependencies": [],
      "all_dependencies": {
        "error": null,
        "source": "github-sbom",
        "packages": [],
        "collected": true,
        "truncated": false,
        "total_count": 0,
        "direct_count": 0,
        "indirect_count": 0
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 5,
        "merged_prs": 24,
        "open_issues": 7,
        "closed_ratio": 0.533,
        "closed_issues": 8,
        "closed_unmerged_prs": 1
      },
      "bus_factor": 1,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "kit-ty-kate",
          "commits": 64,
          "avatar_url": "https://avatars.githubusercontent.com/u/2611789?v=4"
        },
        {
          "type": "User",
          "login": "hannesm",
          "commits": 55,
          "avatar_url": "https://avatars.githubusercontent.com/u/228456?v=4"
        },
        {
          "type": "User",
          "login": "gasche",
          "commits": 4,
          "avatar_url": "https://avatars.githubusercontent.com/u/426238?v=4"
        },
        {
          "type": "User",
          "login": "Alizter",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/8614547?v=4"
        },
        {
          "type": "User",
          "login": "Leonidas-from-XIV",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/121531?v=4"
        },
        {
          "type": "User",
          "login": "shym",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/547679?v=4"
        }
      ],
      "contributors_sampled": 6,
      "top_contributor_share": 0.508
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "main.yml"
      ],
      "has_docs_dir": false,
      "linter_configs": [],
      "has_editorconfig": false,
      "has_linter_config": false,
      "has_precommit_config": false
    },
    "security_signals": {
      "lockfiles": [],
      "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": 0,
            "reason": "branch protection not enabled on development/release branches",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": 5,
            "reason": "5 out of 9 merged PRs checked by a CI test -- score normalized to 5",
            "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": 2,
            "reason": "Found 4/18 approved changesets -- score normalized to 2",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 9 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": 0,
            "reason": "no 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": 9,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 5,
            "reason": "6 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5",
            "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": 10,
            "reason": "0 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "1b977a11d5e3c80c325aed6ea8a85a9801cbe57c",
        "ran_at": "2026-07-27T11:06:45Z",
        "aggregate_score": 3.6,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": false
    },
    "contribution_flow": {
      "collected": true,
      "ci_last_run_at": "2026-07-27T04:38:56Z",
      "oldest_open_prs": [
        {
          "number": 24,
          "created_at": "2025-04-22T00:46:05Z",
          "last_comment_at": "2025-12-22T22:27:00Z",
          "last_comment_author": "kit-ty-kate"
        },
        {
          "number": 25,
          "created_at": "2025-04-22T01:04:13Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 31,
          "created_at": "2025-06-23T00:54:07Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 41,
          "created_at": "2025-12-22T22:19:20Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 44,
          "created_at": "2026-06-09T11:41:10Z",
          "last_comment_at": "2026-06-29T16:33:39Z",
          "last_comment_author": "edwintorok"
        }
      ],
      "last_merged_pr_at": "2026-07-06T08:22:39Z",
      "ci_last_conclusion": "SUCCESS",
      "oldest_open_issues": [
        {
          "number": 5,
          "created_at": "2019-12-24T11:27:39Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 27,
          "created_at": "2025-05-01T16:10:24Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 32,
          "created_at": "2025-07-19T15:30:53Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 33,
          "created_at": "2025-09-15T23:30:02Z",
          "last_comment_at": "2025-10-24T10:29:46Z",
          "last_comment_author": "hannesm"
        },
        {
          "number": 34,
          "created_at": "2025-09-18T16:49:20Z",
          "last_comment_at": "2025-09-19T13:42:38Z",
          "last_comment_author": "kit-ty-kate"
        },
        {
          "number": 40,
          "created_at": "2025-11-04T15:52:24Z",
          "last_comment_at": "2025-11-04T17:41:20Z",
          "last_comment_author": "hannesm"
        },
        {
          "number": 43,
          "created_at": "2026-05-18T10:54:02Z",
          "last_comment_at": "2026-06-09T19:45:36Z",
          "last_comment_author": "edwintorok"
        }
      ]
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/hannesm/patch",
    "host": "github.com",
    "name": "patch",
    "owner": "hannesm"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "at_risk",
      "name": "Overall health",
      "note": null,
      "notes": [],
      "value": 49,
      "inputs": {
        "security": 36,
        "vitality": 61,
        "community": 37,
        "governance": 56,
        "engineering": 51
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "moderate",
        "name": "Vitality",
        "value": 61,
        "weight": 0.22,
        "metrics": [
          {
            "key": "development_activity",
            "band": "moderate",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 51,
            "inputs": {
              "commits_last_year": 17,
              "human_commit_share": 1,
              "days_since_last_push": 21,
              "active_weeks_last_year": 8
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 21 days ago",
                "points": 28.8,
                "status": "partial",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 21
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "8/52 weeks with commits",
                "points": 5.5,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 8
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "17 commits in the last year",
                "points": 11.3,
                "status": "partial",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 17
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "6 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5",
                "points": 5,
                "status": "partial",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "good",
            "name": "Release discipline",
            "note": null,
            "notes": [],
            "value": 76,
            "inputs": {
              "releases_count": 11,
              "latest_release_tag": "v3.1.2",
              "releases_from_tags": false,
              "days_since_latest_release": 21,
              "mean_days_between_releases": 149.7
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "11 releases published",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "releases_published",
                    "params": {
                      "count": 11
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 21 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 21
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~149.7 days",
                "points": 12.6,
                "status": "partial",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 149.7
                    }
                  }
                ],
                "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": "maintained",
              "guards": [],
              "signals": [],
              "red_flag": false,
              "multiplier_pct": 100,
              "declared_reason": null,
              "unverified_reason": null,
              "unanswered_open_prs": null,
              "unanswered_open_issues": null,
              "days_since_last_merged_pr": null,
              "days_since_last_human_commit": 21,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "last human commit 21 days ago",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_maintained",
                    "params": {
                      "days": 21
                    }
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "at_risk",
        "name": "Community & Adoption",
        "value": 37,
        "weight": 0.18,
        "metrics": [
          {
            "key": "popularity",
            "band": "at_risk",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 30,
            "inputs": {
              "forks": 5,
              "stars": 24,
              "watchers": 4,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "24 stars",
                "points": 22.1,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 24
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "5 forks",
                "points": 5,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 5
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "4 watchers",
                "points": 2.7,
                "status": "partial",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 4
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "at_risk",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 44,
            "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": "license file present, not a recognized license",
                "points": 16.9,
                "status": "partial",
                "details": [
                  {
                    "code": "license_custom",
                    "params": {}
                  }
                ],
                "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
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "moderate",
        "name": "Sustainability & Governance",
        "value": 56,
        "weight": 0.24,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "at_risk",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 38,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 6,
              "top_contributor_share": 0.508
            },
            "components": [
              {
                "key": "bus_factor",
                "name": "Bus factor",
                "detail": "1 contributor(s) cover half of all commits",
                "points": 9,
                "status": "partial",
                "details": [
                  {
                    "code": "bus_factor",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 54
              },
              {
                "key": "commit_distribution",
                "name": "Commit distribution",
                "detail": "top contributor authored 51% of commits",
                "points": 11.1,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 51
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "6 contributors",
                "points": 8.1,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 6
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 9 contributing companies or organizations",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "moderate",
            "name": "Issue & PR responsiveness",
            "note": null,
            "notes": [],
            "value": 65,
            "inputs": {
              "merged_prs": 24,
              "open_issues": 7,
              "closed_issues": 8,
              "issue_closed_ratio": 0.533,
              "closed_unmerged_prs": 1
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "53% of issues closed",
                "points": 24.9,
                "status": "partial",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 53
                    }
                  }
                ],
                "max_points": 46.75
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "24/25 decided PRs merged",
                "points": 36.7,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 24,
                      "decided": 25
                    }
                  }
                ],
                "max_points": 38.25
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 4/18 approved changesets -- score normalized to 2",
                "points": 3,
                "status": "partial",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "moderate",
            "name": "Ownership & stewardship",
            "note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "verified_domain"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 68,
            "inputs": {
              "followers": 463,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "hannesm",
              "public_repos": 278,
              "account_age_days": 5970
            },
            "components": [
              {
                "key": "ownership_backing",
                "name": "Ownership backing",
                "detail": "personal (user) account",
                "points": 10,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_personal",
                    "params": {}
                  }
                ],
                "max_points": 30
              },
              {
                "key": "verified_domain",
                "name": "Verified domain",
                "detail": "not applicable to user accounts",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_applicable_to_user_accounts",
                    "params": {}
                  }
                ],
                "max_points": 20
              },
              {
                "key": "owner_reach",
                "name": "Owner reach",
                "detail": "463 followers of hannesm",
                "points": 19.2,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 463,
                      "login": "hannesm"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "278 public repos, account ~16 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 278
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 16
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          }
        ],
        "description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
      },
      {
        "key": "engineering",
        "band": "moderate",
        "name": "Engineering Quality",
        "value": 51,
        "weight": 0.2,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "moderate",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 58,
            "inputs": {
              "has_ci": true,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": false,
              "has_precommit_config": false
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "1 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "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": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 16
              },
              {
                "key": "pre_commit_hooks",
                "name": "Pre-commit hooks",
                "detail": null,
                "points": 0,
                "status": "missed",
                "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": "5 out of 9 merged PRs checked by a CI test -- score normalized to 5",
                "points": 10,
                "status": "partial",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "at_risk",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 40,
            "inputs": {
              "topics": [],
              "has_wiki": false,
              "homepage": null,
              "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": null,
                "points": 0,
                "status": "missed",
                "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": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "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": "at_risk",
        "name": "Security",
        "value": 36,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "at_risk",
            "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": 36,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 17,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 1,
              "scorecard_aggregate": 3.6
            },
            "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 not enabled on development/release branches",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "5 out of 9 merged PRs checked by a CI test -- score normalized to 5",
                "points": 1.2,
                "status": "partial",
                "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": "Found 4/18 approved changesets -- score normalized to 2",
                "points": 1.5,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 9 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": "no update tool detected",
                "points": 0,
                "status": "missed",
                "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.2,
                "status": "partial",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "6 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5",
                "points": 3.8,
                "status": "partial",
                "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": "0 existing vulnerabilities detected",
                "points": 7.5,
                "status": "met",
                "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": 7
            },
            "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": "at_risk",
        "name": "AI Readiness",
        "value": 40,
        "weight": 0,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "critical",
            "name": "Agent context & guidance",
            "note": null,
            "notes": [],
            "value": 19,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": 0.35,
              "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": "35 of 100 human commits state their intent (structured subject or explanatory body)",
                "points": 18.7,
                "status": "partial",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 35,
                      "sampled": 100
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "at_risk",
            "name": "Verify loop (build / test / typecheck)",
            "note": null,
            "notes": [],
            "value": 33,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [],
              "has_dockerfile": false,
              "typed_language": true,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": false,
              "typecheck_configs": [],
              "agent_commit_share": 0,
              "toolchain_manifests": [],
              "dependency_bot_commit_share": 0
            },
            "components": [
              {
                "key": "one_command_bootstrap",
                "name": "One-command bootstrap",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "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": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": "OCaml (statically typed)",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "OCaml"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "no agent-authored commits among the last 100",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_authored_commits",
                    "params": {
                      "sampled": 100
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "no automated dependency updates observed",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_dependency_automation",
                    "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": "Excluded from scoring (no data or not applicable): Manageable file sizes. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "manageable_file_sizes"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "primary_language": "OCaml",
              "largest_source_bytes": null,
              "source_files_sampled": 0,
              "oversized_source_files": 0
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "OCaml (statically typed)",
                "points": 45,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "OCaml"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "no source files detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_source_files",
                    "params": {}
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "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": [
    "Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-27T11:06:59.087262Z",
  "schema_version": "0.27.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/h/hannesm/patch.svg",
  "full_name": "hannesm/patch",
  "license_state": "custom",
  "license_spdx": null
}

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

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

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