公开记录
软件健康报告模式 0.30.0 · 指标 2.5.0 · 2026-08-03 08:46 UTC

larskanis / libusb

Access USB devices from Ruby via libusb-1.x

RubyLGPL-3.0★ 160 星标⑂ 25 复刻始于 2011年3月在 GitHub 上查看 ↗
类型命令行工具如何判定

larskanis/libusb 的健康指数为 100 分中的 57 分,处于「中等」区间。 其得分最高的类别是Sustainability & Governance(62/100),最低的是AI Readiness(27/100)。 最近一次更新在今天。 近期的大部分工作由 1 位贡献者完成。

57
总分 / 100
中等

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

57
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

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

加权总体分 55 经校准后在公布的指数量表上为 57(记录校准 2026-08-02)。

所有权

Lars Kanis个人账户
148 关注者150 个公开仓库始于 2010年1月Comcard

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布
RubyGemslibusb0.8.0-790 天前

按类别列示的指标

活力

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

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

发布纪律

64中等
评分方式
16.2/27有发布版本 — 26 个版本标签(无 GitHub 发布版本)
36/36发布时效 — 最近一次发布版本于 0 天前
5.4/27发布节奏 — 约每 391.5 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — 无数据
所用输入
releases_count26
latest_release_tagv0.8.0
releases_from_tags
days_since_latest_release0
mean_days_between_releases391.5
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

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

57中等 · 占总体的 17%
评分方式
35.7/60星标 — 160 个星标
11.5/25复刻 — 25 个复刻
7.2/15关注者 — 21 位关注者
所用输入
forks25
stars160
watchers21
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(LGPL-3.0)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges2
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesci.appveyor.com, travis-ci.com
has_pull_request_template
评分方式
55.9/80累计下载量 — rubygems 合计历史 239,306 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packageslibusb
dependents
ecosystemsrubygems
total_downloads239,306
monthly_downloads
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

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

62中等 · 占总体的 23%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
0.3/22.5提交分布 — 头号贡献者编写了 98% 的提交
6.8/13.5贡献者广度 — 5 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 7 contributing companies or organizations
所用输入
bus_factor1
contributors_sampled5
top_contributor_share0.985
评分方式
35.8/42议题解决 — 85% 的议题已关闭
23.7/30PR 接受 — 已裁定的 PR 中 15/19 已合并
13/13Newcomer PR acceptance — 30 天内首次贡献者的 PR 已合并 1/1
0/15OpenSSF Scorecard:Code-Review — Found 1/22 approved changesets -- score normalized to 0
所用输入
merged_prs15
open_issues5
closed_issues29
prs_merged_7d3
prs_decided_7d3
prs_merged_30d3
prs_decided_30d3
issue_closed_ratio0.853
closed_unmerged_prs4
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
15.6/25所有者影响力 — larskanis 有 148 位关注者
25/25既往记录 — 150 个公开仓库,账户约 16 年
所用输入
followers148
owner_typeUser
is_verified
owner_loginlarskanis
public_repos150
account_age_days6,054
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — rubygems 上有 1 个软件包
35/35发布时效 — 最近一次发布于 0 天前
20/20版本历史 — 79 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packageslibusb
ecosystemsrubygems
any_deprecated
min_days_since_publish0

工程质量

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

55中等 · 占总体的 19%

工程实践

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

文档

65良好
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点 — http://rubygems.org/gems/libusb
10/10仓库描述
0/10主题标签
10/10Wiki
所用输入
topics
has_wiki
homepagehttp://rubygems.org/gems/libusb
has_readme
has_docs_dir
has_description

安全

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

41薄弱 · 占总体的 16%

安全态势

41薄弱
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
0/2.5CI-Tests — 0 out of 4 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 1/22 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 7 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.5/2.5许可证 — license file detected
7.5/7.5Maintained — 14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — 无数据
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — 无数据
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate4.1
已排除计分(无数据或不适用):packaging, signed_releases。 其余权重已重新归一化。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

27存在风险 · 占总体的 4%
评分方式
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 / 格式化配置
0/11静态类型检查
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
评分方式
0/45可类型检查的代码 — Ruby,未配置类型检查
55/55可控的文件大小 — 采样的 39 个源文件中有 0 个超过 60KB
所用输入
primary_languageRuby
largest_source_bytes28,920
source_files_sampled39
oversized_source_files0

关键数据

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

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • No resolved dependencies carried a version and a supported ecosystem

更多细节

Star 与 Fork 历史 0 ★ / 25 ⇿
0Star
25Fork
18发布

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

05101520252522012-112019-092026-07
主版本 0次版本 6修订 12

每个点涵盖 13 天。

OpenSSF Scorecard 4.1 / 10
4.1综合

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

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
0CI-Tests0 out of 4 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 1/22 approved changesets -- score normalized to 0
10Contributorsproject has 7 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
直接依赖 7
注册表软件包版本约束清单文件
RubyGemsrake-compiler-dock~> 1.1Gemfile
RubyGemsrake-compiler~> 1.0Gemfile
RubyGemsbundler>= 1Gemfile
RubyGemsyard~> 0.6Gemfile
RubyGemsostruct~> 0.1Gemfile
RubyGemsffiGemfile
RubyGemsmini_portile2Gemfile
全部依赖 9

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

注册表软件包版本关系
RubyGemsbundler直接
RubyGemsffi直接
RubyGemsmini_portile2直接
RubyGemsostruct直接
RubyGemsrake-compiler直接
RubyGemsrake-compiler-dock直接
RubyGemsyard直接
RubyGemseventmachine间接
RubyGemsminitest间接
依赖安全公告 未评估

本报告未能完成公告比对:No resolved dependencies carried a version and a supported ecosystem

原始 JSON 报告 机器可读
{
  "data": {
    "repo": {
      "topics": [],
      "is_fork": false,
      "size_kb": 2712,
      "has_wiki": true,
      "homepage": "http://rubygems.org/gems/libusb",
      "languages": {
        "Ruby": 246767
      },
      "pushed_at": "2026-08-02T20:16:42Z",
      "created_at": "2011-03-19T19:45:30Z",
      "owner_type": "User",
      "updated_at": "2026-08-02T20:16:48Z",
      "description": "Access USB devices from Ruby via libusb-1.x",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "LGPL-3.0",
      "default_branch": "master",
      "license_spdx_raw": "LGPL-3.0",
      "primary_language": "Ruby",
      "significant_languages": [
        "Ruby"
      ]
    },
    "owner": {
      "blog": null,
      "name": "Lars Kanis",
      "type": "User",
      "login": "larskanis",
      "company": "Comcard",
      "location": "Europe/Germany",
      "followers": 148,
      "avatar_url": "https://avatars.githubusercontent.com/u/176234?v=4",
      "created_at": "2010-01-04T17:18:27Z",
      "is_verified": null,
      "public_repos": 150,
      "account_age_days": 6054
    },
    "license": {
      "state": "standard",
      "spdx_id": "LGPL-3.0",
      "raw_spdx": "LGPL-3.0",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v0.8.0",
          "kind": "minor",
          "published_at": "2026-08-02T20:16:24Z"
        },
        {
          "tag": "v0.7.2",
          "kind": "patch",
          "published_at": "2024-10-23T19:04:14Z"
        },
        {
          "tag": "v0.7.1",
          "kind": "patch",
          "published_at": "2024-04-20T09:52:39Z"
        },
        {
          "tag": "v0.7.0",
          "kind": "minor",
          "published_at": "2024-04-18T11:50:04Z"
        },
        {
          "tag": "v0.6.4",
          "kind": "patch",
          "published_at": "2018-05-05T15:23:22Z"
        },
        {
          "tag": "v0.6.3",
          "kind": "patch",
          "published_at": "2017-08-20T11:35:54Z"
        },
        {
          "tag": "v0.6.2",
          "kind": "patch",
          "published_at": "2017-01-13T20:58:34Z"
        },
        {
          "tag": "v0.6.1",
          "kind": "patch",
          "published_at": "2016-12-18T16:53:25Z"
        },
        {
          "tag": "0.6.0",
          "kind": "minor",
          "published_at": "2016-12-09T12:15:53Z"
        },
        {
          "tag": "v0.6.0",
          "kind": "minor",
          "published_at": "2016-12-09T12:15:53Z"
        },
        {
          "tag": "0.5.1",
          "kind": "patch",
          "published_at": "2015-09-29T13:27:20Z"
        },
        {
          "tag": "0.5.0",
          "kind": "minor",
          "published_at": "2015-01-08T08:52:58Z"
        },
        {
          "tag": "0.4.1",
          "kind": "patch",
          "published_at": "2014-05-17T14:40:07Z"
        },
        {
          "tag": "0.4.0",
          "kind": "minor",
          "published_at": "2013-11-20T16:36:25Z"
        },
        {
          "tag": "0.3.4",
          "kind": "patch",
          "published_at": "2013-04-05T20:53:33Z"
        },
        {
          "tag": "0.3.3",
          "kind": "patch",
          "published_at": "2013-04-05T16:58:33Z"
        },
        {
          "tag": "0.3.2",
          "kind": "patch",
          "published_at": "2013-02-16T09:10:51Z"
        },
        {
          "tag": "0.3.1",
          "kind": "patch",
          "published_at": "2013-01-22T12:24:12Z"
        },
        {
          "tag": "0.3.0",
          "kind": "minor",
          "published_at": "2013-01-21T15:59:23Z"
        },
        {
          "tag": "0.2.2",
          "kind": "patch",
          "published_at": "2012-10-19T12:06:58Z"
        },
        {
          "tag": "0.2.1",
          "kind": "patch",
          "published_at": "2012-09-25T15:29:48Z"
        },
        {
          "tag": "0.2.0",
          "kind": "minor",
          "published_at": "2012-06-15T17:17:41Z"
        },
        {
          "tag": "0.1.3",
          "kind": "patch",
          "published_at": "2012-03-15T14:40:42Z"
        },
        {
          "tag": "0.1.2",
          "kind": "patch",
          "published_at": "2012-03-14T20:54:30Z"
        },
        {
          "tag": "0.1.1",
          "kind": "patch",
          "published_at": "2011-12-09T11:46:10Z"
        },
        {
          "tag": "0.1.0",
          "kind": "minor",
          "published_at": "2011-10-01T20:15:54Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "d0b3669650f9535c3e8cc4909c75fe203aad4469",
          "body": null,
          "is_bot": false,
          "headline": "Bump VERSION to 0.8.0",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T20:16:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "205069628cc482ff54436941666a0b3717f7e0d6",
          "body": null,
          "is_bot": false,
          "headline": "Add release notes to libusb gem version 0.8.0",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T20:10:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "95b82c6fcf6ea38ae4fe58de0d970d8a86d1f276",
          "body": "It is disabled by default.",
          "is_bot": false,
          "headline": "Enable hotplug support on Windows introduced in libusb-1.0.30",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T19:51:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "76a3a771cd5bbc75ec04866b5df12e0216419b7b",
          "body": "Libusb 1.0.30",
          "is_bot": false,
          "headline": "Merge pull request #54 from larskanis/libusb-1.0.30",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T14:42:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4bfa4dc242e910c93a539fc86918441438c120aa",
          "body": null,
          "is_bot": false,
          "headline": "Add LIBUSB::Device#get_session_data introduced in libusb-1.0.30",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T14:37:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "04732e4d53d88f1c6affd4c4e0f0db06fe3ddb17",
          "body": "It allows to retrieve the device description strings without opening the device.\nSo permissions for open aren't necessary.\n\nAvailable since libusb-1.0.30",
          "is_bot": false,
          "headline": "Add LIBUSB::Device#device_string and use it in Device#inspect",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T14:31:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d47757474335c9fe7c6f82233c66b850a4e3c2b2",
          "body": null,
          "is_bot": false,
          "headline": "Update to libusb-1.0.30",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T14:08:17Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e89b617ab1b9af542c69fa40b56f9434c77611d4",
          "body": "Libusb 1.0.28",
          "is_bot": false,
          "headline": "Merge pull request #53 from larskanis/libusb-1.0.27",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T11:57:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "26fcf528ab697eeffb5d8dbbb03fbed8880d142a",
          "body": null,
          "is_bot": false,
          "headline": "Fix some yardoc warnings and improve docs",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T11:52:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1a38efe1f99662f23910d04fa7922b08ed78eac2",
          "body": null,
          "is_bot": false,
          "headline": "Add SsplusUsbDeviceCapability introduced in libusb-1.0.28",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T11:40:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "eefd500b81224dfd85e9ff2b30586e3a2d27c88d",
          "body": null,
          "is_bot": false,
          "headline": "Update builtin libusb to 1.0.28",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-02T11:39:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "506db8b058cfb8ff76935f7bdcbf117cac8f3d57",
          "body": "Don't kill the EventMachine reactor on LIBUSB_ERROR_INTERRUPTED",
          "is_bot": false,
          "headline": "Merge pull request #52 from rgaufman/tetherbox-eventmachine-eintr",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-08-01T17:40:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e93663f4622ec4e33c4c8f3b228053861f442e1d",
          "body": "Both tests repeated the register / skip-guard / dispatch block, and the\ncopies had drifted: only one of them unregistered the context afterwards.\nMove the reactor round-trip into one helper that always unregisters, and\nhoist the pollfd-availability skip into setup.",
          "is_bot": false,
          "headline": "Deduplicate reactor setup in the EINTR tests",
          "author_name": "Roman Gaufman",
          "author_login": "rgaufman",
          "committed_at": "2026-07-29T01:37:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "68a69e4a008334544ceaf5e08dafdc93ff9439e7",
          "body": "handle_events raises on every negative return, including ERROR_INTERRUPTED,\nwhich only means poll() was interrupted by a signal and no events were\nhandled. It is transient and retryable -- transfer.rb already treats it that\nway on the synchronous path.\n\nThe EventMachine integration called handle_eve\n[…]\n other\nlibusb error still propagates unchanged.\n\nTests need no USB device: they drive the registered callback directly, and\ncover both that ERROR_INTERRUPTED is survived and that other errors are not.",
          "is_bot": false,
          "headline": "Don't kill the EventMachine reactor on LIBUSB_ERROR_INTERRUPTED",
          "author_name": "Roman Gaufman",
          "author_login": "rgaufman",
          "committed_at": "2026-07-29T00:34:43Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "97d1cc094b84c54215f2e64b0c73d3db0f9a6681",
          "body": null,
          "is_bot": false,
          "headline": "Fix \"rake test\" on Windows",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2026-02-04T11:18:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "892b64e4e708b9d50ca1b63cde5505d4f1c086f4",
          "body": null,
          "is_bot": false,
          "headline": "Move require to where it is used and add ostruct as dependency",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2025-12-17T16:22:49Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4142699198c98aeb5f16fc9a860258aa1e5689e0",
          "body": null,
          "is_bot": false,
          "headline": "Allow bundler-4.x",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2025-12-17T16:11:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "09f9c6979941ee7e97b1bf6c5255f8093cad51cf",
          "body": null,
          "is_bot": false,
          "headline": "Bump VERSION to 0.7.2",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-10-23T19:04:14Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3be29bf6c46a7925b15101a88b5ba41afb32650e",
          "body": "Call libusb_set_log_cb only when available",
          "is_bot": false,
          "headline": "Merge pull request #51 from larskanis/fix-compat-1.0.8",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-10-23T19:00:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4998da74b1d7dadd668a8870084dc2da920f7945",
          "body": "This was a regression, since it was call unconditionally when freeing a Context.\n\nFixes #50",
          "is_bot": false,
          "headline": "Call libusb_set_log_cb only when available",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-10-23T18:49:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2f78c3245776542340df07db9165bb1fc5f66398",
          "body": "Since they aren't distributed for now.",
          "is_bot": false,
          "headline": "CI: Disable linux binary gems",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-21T16:05:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4dd3ccbba5e383d154a356465d5b5b6fe5e8fcb0",
          "body": null,
          "is_bot": false,
          "headline": "Add release notes for libusb-0.7.1",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-20T09:52:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d850f0af53158a40e1c726b0c130d965771c7c8b",
          "body": null,
          "is_bot": false,
          "headline": "Bump VERSION to 0.7.1",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-20T09:52:17Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c7df122853fd7c976408421bf3b158898e524471",
          "body": "There is the issue, that linux binary builds depend on libudev to be installed on the target system and not all distributions provide it.\nThe solution would be to static link the fat binary libusb to libudev, but libudev is part of systemd and that needs meson and ninja in very recent versions, making it hard to buill in the RCD environment.\nSo for now linux binary gems are not distributed.",
          "is_bot": false,
          "headline": "Disable linux fat binary builds",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-20T09:41:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9617c683b4e97b787880c8118befb894386f09f5",
          "body": "The unref Context was sent to the wrong object.\nThis prevented freeing of Context objects, as soon as a transfer was executed.",
          "is_bot": false,
          "headline": "Fix unreferencing LIBUSB::Context from Call::Transfer",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-20T09:22:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8bd6507ebc411f79dcb3e80b7732dbb172513a04",
          "body": "https://github.com/rubygems/rubygems/blob/7f3bf6c08c379aacd95d18d8af6a1a02fefc85a2/bundler/lib/bundler/gem_helper.rb#L184",
          "is_bot": false,
          "headline": "Update gem_helper to latest rubygems",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-18T19:54:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4f90751edbfd07418ef7e0f76d223a6cc04db38d",
          "body": "In contrast to \"rake ci\" where the gem libusb must be installed.",
          "is_bot": false,
          "headline": "Run \"rake test\" with libusb from the project directory",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-18T11:50:04Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "122d98566aa12563004874bbf65ceab19ff83667",
          "body": "Properly initialize the logging to avoid the error output:\n  libusb: error [usbi_get_context] API misuse! Using non-default context as implicit default.",
          "is_bot": false,
          "headline": "Fix sporadic test failure",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-18T11:38:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c2fb572176fddd3e04da7badbb750f715b5f0556",
          "body": null,
          "is_bot": false,
          "headline": "Merge branch 'unify-context-ref'",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-18T11:31:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "01e7874536b36d72223c9433eb10ab001fbdd1a5",
          "body": null,
          "is_bot": false,
          "headline": "Add release notes for libusb-0.7.0",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-18T11:31:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4a8cf9bc376f0de8d5c4866cf35d66ddd00ee675",
          "body": null,
          "is_bot": false,
          "headline": "Fix bulk stream test",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-18T11:19:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3415f06c558ba575a7b51bd704b1a1fca2ed6d61",
          "body": ".. as soon as a device handle is assigned to make sure, that libusb_free_transfer is called before libusb_exit.\nThe transfer is originally not bound to a context, but when it was used to send a packet, it references the device in use until libusb_free_transfer is called.\n\nThis avoids warnings about still referenced devices kind of:\n  libusb: warning [libusb_exit] device <BUS>.<DEV> still referenced",
          "is_bot": false,
          "headline": "Also register LIBUSB::Call::Transfer at the LIBUSB::Context",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-18T10:54:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a92367eaf260199ebbcaa3561ab7c1952d4e0797",
          "body": "…ster\n\nAlso add the ability to unregister the callback through the API and document this.\n\nUnregistering callbacks in eventmachine part was a missing cleanup step.\nAnd because the callbacks are typically GC'ed before the LIBUSB::Context, they are no longer valid when libusb_exit is called, leading to segfauls.\n\nFixing both parts makes sure, that ressources are properly freed and even if not, they don't cause a segfault.",
          "is_bot": false,
          "headline": "Deregister callbacks when Context is GC'ed and on eventmachine_unregi…",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-18T07:46:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "28a09a532204499f9404b710896621c8297d0ed9",
          "body": null,
          "is_bot": false,
          "headline": "Add a Testing section to the README",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-16T07:43:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1d03c3c3c625022d0b174ec48686c576e64f7331",
          "body": "since that raises warnings by libusb that there are remaining references.",
          "is_bot": false,
          "headline": "Do not exit Context manuelly",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-15T13:23:15Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d5a33a91e5976dfd47c35f11d4e80655dc232e38",
          "body": null,
          "is_bot": false,
          "headline": "Fix Context reference in hotplug device",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-15T13:22:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3647d3d36fc5811ff4668f1df147e472f9523f6a",
          "body": null,
          "is_bot": false,
          "headline": "Update Eventmachine support for ruby-3.x",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-15T13:19:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fecd3eca2ab1a71a3a1e0f32acf2e3fc645a3e01",
          "body": ".. in commit 490b11a7486e7e0f28a56609ff819ead869c3787",
          "is_bot": false,
          "headline": "Re-add Argument error acidently removed",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-15T12:41:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "e0b6a16abdc1c48ddb105c4d2df1bb3e439a07ff",
          "body": null,
          "is_bot": false,
          "headline": "Fix some cases in our test suite",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-15T12:40:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "89f7a2645156aa4b1e16f4de08ff41c4873dd974",
          "body": null,
          "is_bot": false,
          "headline": "Fix warning about frozen String literal",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-15T12:11:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "634e1a6238cf8abee1842b1224879e10a86c55d2",
          "body": "Either by Context#exit or by the GC.\nAnd ensure, that two calls doesn't harm.\nAnd raise an error, if not all references are unref'd.",
          "is_bot": false,
          "headline": "Ensure the LIBUSB::Context is freed only once",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-15T12:09:20Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "317a4233b279ab608b9e42bf93bfdd7ff6cf8acc",
          "body": "Instead of repeating the code.",
          "is_bot": false,
          "headline": "Unify Context referencing GCs into ContextReference",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-15T08:47:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6bd542b5b01a56bbd7e6b29a4cb80711d5b00d93",
          "body": null,
          "is_bot": false,
          "headline": "Use unpack1 where possible",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-13T20:46:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "147bea4c402aa6fd8313597423e780c558a52f25",
          "body": "Since this is what we test in the CI.",
          "is_bot": false,
          "headline": "Raise minimum ruby version to 2.5.0",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-13T20:42:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "aac14c3f215108c3be248ecadf13e5a68205b7a3",
          "body": null,
          "is_bot": false,
          "headline": "Bump VERSION to 0.7.0",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-13T20:41:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0dc9b61741d4552c48f5cc84d883321a6b78d783",
          "body": "Add BOS platform descriptor new in libusb-1.0.27",
          "is_bot": false,
          "headline": "Merge pull request #49 from larskanis/add-platform-desc",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-13T17:10:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "08c0915e0de71d8d54b023060f031817b7a3c539",
          "body": "This is the only one of the new USB-3.2 BOS descriptors that libusb supports natively.\n\nAs an extension to libusb-1-0.27 this patch adds at least the enums for all USB-3.2-V1.1 spec, not just the BT_PLATFORM_DESCRIPTOR.",
          "is_bot": false,
          "headline": "Add BOS platform descriptor new in libusb-1.0.27",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-13T16:34:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "59e79c1f6e9ebf75b8e38a14f4b35f563bab4576",
          "body": "Add reference counter for LIBUSB::Context usage",
          "is_bot": false,
          "headline": "Merge pull request #47 from larskanis/ref-context",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-13T12:13:30Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "718b114a01db623c91a347aa4cb12f5bea866448",
          "body": "The reference counter is increased on every object that is bound to a libusb context.\nIf the context is freed before any object that is bound to a context, then the call to `libusb_exit` is postponed to the last unreferening object.\nThat avoids segfaults caused by logging through the context when ot\n[…]\nlizer.\nThis is because we can not easily pass a ctx pointer to the ManagedStruct release method.\n\nThe Call::Transfer is independent from the context and doesn't need the reference counting.\n\nFixes #46",
          "is_bot": false,
          "headline": "Add reference counter for LIBUSB::Context usage",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-13T11:32:43Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "05855404673f807a22d499117ea9810448de37f0",
          "body": "The bmAttributes member is defined as uint8_t not uint32_t.\n\nFixes #48",
          "is_bot": false,
          "headline": "Fix struct member size in Bos::SsUsbDeviceCapability",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-13T09:01:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1630f739ca12848944b67242f380edca7e723846",
          "body": null,
          "is_bot": false,
          "headline": "Remove unused accessor",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T17:19:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4c5177d35e8ef4be13e19de52dda07510ee4279a",
          "body": "CI: Add an extra run with and without system libusb",
          "is_bot": false,
          "headline": "Merge pull request #44 from larskanis/endisable-libusb",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T17:18:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "68811eac118a2c74e83c9567e1ff1324491682a8",
          "body": null,
          "is_bot": false,
          "headline": "CI: Use ruby-3.0 to avoid bundler/rubygems version mismatch",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T16:49:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7519cef7f0f84c59c9611ab34ce35560077bf25e",
          "body": "It fails due to a bug in mini_portile2 / JRuby:\n\n```\nRunning 'configure' for libusb 1.0.27... ERROR. Please review logs to see what happened:\n----- contents of 'D:/jruby-9.4.6.0/lib/ruby/gems/shared/gems/libusb-0.6.4/ext/tmp/x86_64-w64-mingw32/ports/libusb/1.0.27/configure.log' -----\nconfigure: error: unrecognized option: `--prefix\\=D:/jruby-9.4.6.0/lib/ruby/gems/shared/gems/libusb-0.6.4/ports/x86_64-w64-mingw32/libusb/1.0.27'\nTry `./configure --help' for more information\n```",
          "is_bot": false,
          "headline": "Disable JRuby on Windows with inline build of libusb",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T16:35:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a25f1400c59aa14fd5d31988e866c99e686b8fbb",
          "body": "So that it's not executed in CI, since the CI doesn't provide enough USB to run it.",
          "is_bot": false,
          "headline": "Move test_log_callback to context tests",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T16:32:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ff4c7b26b30c9f6c1c86c75564ca23ac1e6c1e7d",
          "body": "It fails to install libusb package of msys2.",
          "is_bot": false,
          "headline": "CI: Don't test JRuby on Windows with system-libusb",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T16:32:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4e18b28effaf8c77226860c3e77597d17303c3f3",
          "body": null,
          "is_bot": false,
          "headline": "CI: Add extconf option to job name",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T16:31:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7f122279a876c0d3d8723b211b0abd3ca18bca8d",
          "body": "Otherwise it fails on Macos like so:\n\n[\"make\", \"DESTDIR=\", \"sitearchdir=./.gem.20240310-958-frab35\", \"sitelibdir=./.gem.20240310-958-frab35\", \"install\"]\ncp -r \"/Users/runner/.rubies/jruby-9.4.6.0/lib/ruby/gems/shared/gems/libusb-0.6.4/ports/x86_64-apple-darwin21.6.0/libusb/1.0.27\"/*/* \"/Users/runner/.rubies/jruby-9.4.6.0/lib/ruby/3.1/site_ruby\"\ncp: /Users/runner/.rubies/jruby-9.4.6.0/lib/ruby/3.1/site_ruby is not a directory\nmake: *** [install] Error 1",
          "is_bot": false,
          "headline": "Create the RUBYARCHDIR if not exist",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T16:31:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8c6d57d301b632b4a0e13d408182c7b34b6512b1",
          "body": null,
          "is_bot": false,
          "headline": "CI: Add an extra run with and without system libusb",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-12T16:31:22Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "42feb6fa44ba581c1b0b6990b7e9be0a07e2e8ca",
          "body": "It's not our fault, so that it's just deactivated for now.",
          "is_bot": false,
          "headline": "CI: JRuby on Windows doesn't call the libusb configure script right",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-05T12:04:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "737484d1b2fe3ed9484cc2f5cdd9ee8a3cdb716b",
          "body": "In therory libusb_dev_mem_alloc shouldn't provide a pointer unless zero-copy-memory is supported by the linux kernel.\nBut in practice this has been a repeating cause of issues, since some kernels don't handle these transfers.\nSo it's better to enable it on request only.\n\nFor instance older raspberry pi kernels didn't handle zero-copy-memory.",
          "is_bot": false,
          "headline": "Make ZeroCopyMemory an opt-in rather then enforcing it",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-05T12:01:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c1347af865478c27af71a29a77d297e0685b6a9c",
          "body": "This circular reference blocked all objects referenced by a LIBUSB::Transfer to be released.",
          "is_bot": false,
          "headline": "Fix a circular reference in ZeroCopyMemory",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-05T11:12:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "921f33e3e5c42735027d82555b45853d19e845a6",
          "body": "So far LIBUSB::Context instances had to be released explicit by Context#exit , but were not freed by the GC.",
          "is_bot": false,
          "headline": "Fix memory bloat due to not GC'ing LIBUSB::Context",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-04-05T11:10:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "61f9493abe1fb7797921a288808b71c89880b2af",
          "body": "CI: Update appveyor script",
          "is_bot": false,
          "headline": "Merge pull request #43 from larskanis/larskanis-patch-1",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-06T10:15:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "276076058a463b39ae43b96d926452df9f44e34e",
          "body": null,
          "is_bot": false,
          "headline": "CI: Update appveyor script",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-06T09:36:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "00370f2badefb35cb7f7c38b7097e18bfb6f04cf",
          "body": null,
          "is_bot": false,
          "headline": "Skip test on unsupported OS or LIBUSB version",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T15:01:21Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "66cd2c784a4b572376bd8577b2ed73b9e0bf4e87",
          "body": null,
          "is_bot": false,
          "headline": "Add \"rake compile\" files to \"rake clean\"",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T15:00:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a436aaf6468b1e1f0310d60431e3a88a021eb074",
          "body": "test/test_libusb.rb:66: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator",
          "is_bot": false,
          "headline": "Avoid Warnings about missing parentheses",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T14:26:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5d13dad5686d18c15ba9d6c6f309051597c4cbc2",
          "body": null,
          "is_bot": false,
          "headline": "Remove unnecessary code",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T14:25:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a77fea1d7b2e163e4d3ba9493eb91e2ce832aa6e",
          "body": null,
          "is_bot": false,
          "headline": "Merge branch 'master' of https://github.com/larskanis/libusb",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T14:17:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d166b059c3c4527cddf57a04d35ca4462f3f33fc",
          "body": "Wrap new functions introduced in libusb-1.0.27",
          "is_bot": false,
          "headline": "Merge pull request #42 from larskanis/libusb-1.0.27",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T14:17:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1dadb67b906a31acefa406c5ff1486cfb05367de",
          "body": "Build and run binary gems in CI",
          "is_bot": false,
          "headline": "Merge pull request #37 from larskanis/ci",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T14:16:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3accc060da71ea2028bb7829ae0ef47785821964",
          "body": null,
          "is_bot": false,
          "headline": "CI: Update node-script versions due to deprecation warnings",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T14:14:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "37563602ef2d5fbb3c8ae64c64af3395e47441f6",
          "body": "- Bump ruby versions\n- Print logs in case of errors while building binary gems\n- Don't use bundler cache for gem testing, because this would enable $pwd/vendor and wouldn't use the installed libusb gem.\n- Remove platforms not (yet) supported by binary gems\n- Download libusb tar before \"rake gem\"\n- Use a dedicated Gemfile to avoid in-tree lib, but use installed libusb.gem\n- Run cmpile task only explicit, so that CI runs with binary gems don't compile.",
          "is_bot": false,
          "headline": "Update CI to test gem install and gem use with source and binary gems",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T14:10:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "49261fd6c469516745678ca50ada1267f4bdf8a6",
          "body": null,
          "is_bot": false,
          "headline": "restrict yard version to avoid insecure versions",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-05T13:53:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8d2a2f12c9842d75cda3643d57aec8c8b8712434",
          "body": null,
          "is_bot": false,
          "headline": "Add a missing build directory to \"rake clean\"",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-04T20:04:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2f2586765f162a62a23b4dd0c1cc8327ee2afbc6",
          "body": null,
          "is_bot": false,
          "headline": "Add tests for Context#wrap_sys_device",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-04T20:04:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1f91637843e5dc3ef3c31c99bb73d6cd72faab8f",
          "body": "Introduced in libusb-1.0.27 as libusb_get_max_alt_packet_size()",
          "is_bot": false,
          "headline": "Add LIBUSB::Device.max_alt_packet_size",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-04T20:04:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a0123c9f971e74246790fd2152594c96c965ef20",
          "body": "Also add patches to fix libusb_set_option behavior reg. log callback",
          "is_bot": false,
          "headline": "Add tests for new functions of libusb-1.0.27-rc1",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-04T20:04:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "44f7a9faf3d92a5109e1391790e075397db6175b",
          "body": null,
          "is_bot": false,
          "headline": "Add global set_option and set_options",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-04T20:04:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "aa859ffd5c821316d0af7c2dfffef08015cff196",
          "body": "They are:\n- libusb_init_context\n- libusb_set_log_cb\n- libusb_wrap_sys_device",
          "is_bot": false,
          "headline": "Add support for new functions of libusb-1.0.27",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2024-03-04T20:04:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5aae32edd98ee1c5956638ab1180c6ee8289eeb8",
          "body": "Cancel USB transfers on any exceptions",
          "is_bot": false,
          "headline": "Merge pull request #41 from larskanis/cancel-exception",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2023-12-18T10:53:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "056f24d6f285c0478294922958ee58fd3e24176c",
          "body": ".. not only LIBUSB::Error, but also Interrupt or IRB::Abort, etc.\n\nOtherwise incomplete transfers lead to LIBUSB::ERROR_BUSY at the next command.",
          "is_bot": false,
          "headline": "Cancel USB transfers on any exceptions",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2023-12-14T12:36:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8497f6e8d0cecb564cd31578fce99ce1964063f3",
          "body": "As described in: https://github.com/oneclick/rubyinstaller2/wiki/FAQ#q-how-do-i-perform-a-silentunattended-install-with-the-rubyinstaller",
          "is_bot": false,
          "headline": "CI: Fix installation of RubyInstaller-head",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2023-12-14T12:25:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "165bff575c92325e6afb4687de9bdea30c26d886",
          "body": null,
          "is_bot": false,
          "headline": "Add github CI",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2023-01-04T18:23:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "18b17b9d99bf646c96891ef9faaad9589a3e2522",
          "body": null,
          "is_bot": false,
          "headline": "Add platform x64-mingw-ucrt to \"rake gem:native\"",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2023-01-04T18:08:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "966d63d6d4fc032d1c5f2770fa050e2e9efe389a",
          "body": null,
          "is_bot": false,
          "headline": "Run parallel make build and add some debug info",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2023-01-04T18:08:01Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7f91d323ad13e31bbf6ea0e2c541e3be0401d626",
          "body": null,
          "is_bot": false,
          "headline": "yum (for binary gems) needs root permissions",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2023-01-02T12:52:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "05df36509e9e91f4b31c5159c0271632021b4190",
          "body": "Fix ci",
          "is_bot": false,
          "headline": "Merge pull request #35 from larskanis/fix-ci",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-07-20T13:44:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "32ccee1b6f5917994ea1587634e79aef16cbe6f3",
          "body": null,
          "is_bot": false,
          "headline": "CI: Print some version information and use ridk enable",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-07-20T13:25:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0889dd3c5e44e2c8396bf49dac1cd8eb3eb84808",
          "body": null,
          "is_bot": false,
          "headline": "Move development dependencies from gemspec to Gemfile",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-07-20T13:18:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "68b981460181818698a2f6d03347cb721520cbbe",
          "body": "That's not the case for ruby-head (with UCRT) per default.",
          "is_bot": false,
          "headline": "CI: Make sure gcc and openssl are installed on Windows MSYS2",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-07-20T13:17:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b08260c8915609e44a158fd7f492ecbe02c77450",
          "body": null,
          "is_bot": false,
          "headline": "Update description about binary gems",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-07-20T13:07:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "490b11a7486e7e0f28a56609ff819ead869c3787",
          "body": "Keyword arguments are implemented since ruby-2.1.",
          "is_bot": false,
          "headline": "Use ruby keyword arguments instead of manual args processing",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-01-22T22:30:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b1efb3c07fa69550eaeca0ba6415bccb26768895",
          "body": "since keyword arguments must be listed explicit to be forwarded in ruby-3.",
          "is_bot": false,
          "headline": "Make try_attach_function private and use kwargs",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-01-22T22:28:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c43174e43e00dbb1a939ce1c6ab6b134b87e63a3",
          "body": null,
          "is_bot": false,
          "headline": "Add truffleruby to CI",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-01-22T22:19:30Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8150a3318ed544f0ab4a52fe83ae1a18688dba15",
          "body": null,
          "is_bot": false,
          "headline": "Update travis-ci and appveyor CI",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-01-22T21:59:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ff4e7385d29506ab9f2e8c8f3b6ffddddce984c4",
          "body": null,
          "is_bot": false,
          "headline": "Update to libusb-1.0.24 for binary gems",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-01-22T21:53:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4892a570e347745dedeed52f789674f9000776e7",
          "body": null,
          "is_bot": false,
          "headline": "Bump ruby version requirement to 2.3",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-01-22T21:52:57Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "bbef93c1793e5e456b671e46732ba6cec06d4f74",
          "body": null,
          "is_bot": false,
          "headline": "Hide appveyor.yml equally to travis-ci",
          "author_name": "Lars Kanis",
          "author_login": "larskanis",
          "committed_at": "2021-01-22T21:42:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 26,
      "commits_last_year": 17,
      "latest_release_at": "2026-08-02T20:16:24Z",
      "latest_release_tag": "v0.8.0",
      "releases_from_tags": true,
      "days_since_last_push": 0,
      "active_weeks_last_year": 3,
      "days_since_latest_release": 0,
      "mean_days_between_releases": 391.5
    },
    "artifacts": {
      "collected": true,
      "structure": [],
      "declarations": [
        {
          "name": "libusb",
          "path": "libusb.gemspec",
          "tokens": [
            "gem.gemspec",
            "gem.executables"
          ],
          "ecosystem": "rubygems"
        }
      ]
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "readme_badges": {
        "hosts": [
          "ci.appveyor.com",
          "travis-ci.com"
        ],
        "total": 2,
        "header": 2,
        "collected": true,
        "has_inspect_badge": false
      },
      "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": [
        {
          "name": "libusb",
          "exists": true,
          "license": "LGPL-3.0",
          "keywords": [],
          "ecosystem": "rubygems",
          "categories": [],
          "matches_repo": true,
          "registry_url": "https://rubygems.org/gems/libusb",
          "declared_type": null,
          "is_deprecated": false,
          "latest_version": "0.8.0",
          "repository_url": "http://github.com/larskanis/libusb",
          "versions_count": 79,
          "total_downloads": 239306,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": null,
          "first_published_at": "2011-10-01T20:23:18.358000Z",
          "latest_published_at": "2026-08-03T08:41:26.361000Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 0
        }
      ]
    },
    "popularity": {
      "forks": 25,
      "stars": 160,
      "watchers": 21,
      "fork_history": {
        "days": [
          {
            "date": "2012-11-29",
            "count": 1
          },
          {
            "date": "2013-01-22",
            "count": 1
          },
          {
            "date": "2013-01-26",
            "count": 1
          },
          {
            "date": "2013-06-14",
            "count": 1
          },
          {
            "date": "2013-07-26",
            "count": 1
          },
          {
            "date": "2013-08-08",
            "count": 1
          },
          {
            "date": "2013-08-15",
            "count": 1
          },
          {
            "date": "2013-08-23",
            "count": 1
          },
          {
            "date": "2013-08-24",
            "count": 1
          },
          {
            "date": "2013-08-30",
            "count": 1
          },
          {
            "date": "2013-09-29",
            "count": 1
          },
          {
            "date": "2013-11-12",
            "count": 1
          },
          {
            "date": "2013-11-18",
            "count": 1
          },
          {
            "date": "2014-02-28",
            "count": 1
          },
          {
            "date": "2014-05-11",
            "count": 1
          },
          {
            "date": "2015-06-05",
            "count": 1
          },
          {
            "date": "2015-08-06",
            "count": 1
          },
          {
            "date": "2016-11-15",
            "count": 1
          },
          {
            "date": "2017-01-24",
            "count": 1
          },
          {
            "date": "2018-09-05",
            "count": 1
          },
          {
            "date": "2019-05-28",
            "count": 1
          },
          {
            "date": "2020-04-10",
            "count": 1
          },
          {
            "date": "2020-08-08",
            "count": 1
          },
          {
            "date": "2023-01-01",
            "count": 1
          },
          {
            "date": "2026-07-28",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 25,
        "total_forks": 25
      },
      "star_history": null,
      "open_issues_and_prs": 6
    },
    "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": 28920,
      "source_files_sampled": 39,
      "oversized_source_files": 0,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "Gemfile"
      ],
      "advisories": {
        "error": "No resolved dependencies carried a version and a supported ecosystem",
        "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": 9,
        "direct_affected_count": 0
      },
      "ecosystems": [
        "rubygems"
      ],
      "dependencies": [
        {
          "name": "rake-compiler-dock",
          "manifest": "Gemfile",
          "ecosystem": "rubygems",
          "version_constraint": "~> 1.1"
        },
        {
          "name": "rake-compiler",
          "manifest": "Gemfile",
          "ecosystem": "rubygems",
          "version_constraint": "~> 1.0"
        },
        {
          "name": "bundler",
          "manifest": "Gemfile",
          "ecosystem": "rubygems",
          "version_constraint": ">= 1"
        },
        {
          "name": "yard",
          "manifest": "Gemfile",
          "ecosystem": "rubygems",
          "version_constraint": "~> 0.6"
        },
        {
          "name": "ostruct",
          "manifest": "Gemfile",
          "ecosystem": "rubygems",
          "version_constraint": "~> 0.1"
        },
        {
          "name": "ffi",
          "manifest": "Gemfile",
          "ecosystem": "rubygems",
          "version_constraint": null
        },
        {
          "name": "mini_portile2",
          "manifest": "Gemfile",
          "ecosystem": "rubygems",
          "version_constraint": null
        }
      ],
      "all_dependencies": {
        "error": null,
        "source": "github-sbom",
        "packages": [
          {
            "name": "bundler",
            "direct": true,
            "version": null,
            "ecosystem": "rubygems"
          },
          {
            "name": "ffi",
            "direct": true,
            "version": null,
            "ecosystem": "rubygems"
          },
          {
            "name": "mini_portile2",
            "direct": true,
            "version": null,
            "ecosystem": "rubygems"
          },
          {
            "name": "ostruct",
            "direct": true,
            "version": null,
            "ecosystem": "rubygems"
          },
          {
            "name": "rake-compiler",
            "direct": true,
            "version": null,
            "ecosystem": "rubygems"
          },
          {
            "name": "rake-compiler-dock",
            "direct": true,
            "version": null,
            "ecosystem": "rubygems"
          },
          {
            "name": "yard",
            "direct": true,
            "version": null,
            "ecosystem": "rubygems"
          },
          {
            "name": "eventmachine",
            "direct": false,
            "version": null,
            "ecosystem": "rubygems"
          },
          {
            "name": "minitest",
            "direct": false,
            "version": null,
            "ecosystem": "rubygems"
          }
        ],
        "collected": true,
        "truncated": false,
        "total_count": 9,
        "direct_count": 7,
        "indirect_count": 2
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 1,
        "merged_prs": 15,
        "open_issues": 5,
        "closed_ratio": 0.853,
        "closed_issues": 29,
        "closed_unmerged_prs": 4
      },
      "bus_factor": 1,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "larskanis",
          "commits": 468,
          "avatar_url": "https://avatars.githubusercontent.com/u/176234?v=4"
        },
        {
          "type": "User",
          "login": "colindean",
          "commits": 2,
          "avatar_url": "https://avatars.githubusercontent.com/u/197224?v=4"
        },
        {
          "type": "User",
          "login": "r3n4ud",
          "commits": 2,
          "avatar_url": "https://avatars.githubusercontent.com/u/699794?v=4"
        },
        {
          "type": "User",
          "login": "rgaufman",
          "commits": 2,
          "avatar_url": "https://avatars.githubusercontent.com/u/33842342?v=4"
        },
        {
          "type": "User",
          "login": "strazzere",
          "commits": 1,
          "avatar_url": "https://avatars.githubusercontent.com/u/623686?v=4"
        }
      ],
      "contributors_sampled": 5,
      "top_contributor_share": 0.985
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "ci.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": 0,
            "reason": "0 out of 4 merged PRs checked by a CI test -- score normalized to 0",
            "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": 0,
            "reason": "Found 1/22 approved changesets -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 7 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": 10,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 10,
            "reason": "14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": null,
            "reason": "packaging workflow not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": 0,
            "reason": "dependency not pinned by hash detected -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 0,
            "reason": "SAST tool is not run on all commits -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
          },
          {
            "name": "Security-Policy",
            "score": 0,
            "reason": "security policy file not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
          },
          {
            "name": "Signed-Releases",
            "score": null,
            "reason": "no releases found",
            "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": "d0b3669650f9535c3e8cc4909c75fe203aad4469",
        "ran_at": "2026-08-03T08:46:35Z",
        "aggregate_score": 4.1,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": false
    },
    "contribution_flow": {
      "collected": true,
      "recent_prs": {
        "merged_7d": 3,
        "decided_7d": 3,
        "merged_30d": 3,
        "authors_30d": 2,
        "decided_30d": 3,
        "sample_size": 19,
        "window_days": 30,
        "sample_exhausted": false,
        "authors_probed_30d": 2,
        "newcomer_merged_30d": 1,
        "bot_prs_excluded_30d": 0,
        "newcomer_authors_30d": 1,
        "newcomer_decided_30d": 1
      },
      "ci_last_run_at": "2026-08-02T20:16:41Z",
      "oldest_open_prs": [
        {
          "number": 45,
          "created_at": "2024-04-05T12:22:04Z",
          "last_comment_at": null,
          "last_comment_author": null
        }
      ],
      "last_merged_pr_at": "2026-08-02T14:42:37Z",
      "ci_last_conclusion": null,
      "oldest_open_issues": [
        {
          "number": 25,
          "created_at": "2017-05-14T07:57:49Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 30,
          "created_at": "2018-10-04T10:11:40Z",
          "last_comment_at": "2019-01-28T20:28:27Z",
          "last_comment_author": "larskanis"
        },
        {
          "number": 31,
          "created_at": "2019-01-19T21:31:31Z",
          "last_comment_at": "2019-01-28T20:26:36Z",
          "last_comment_author": "larskanis"
        },
        {
          "number": 32,
          "created_at": "2019-05-29T13:10:58Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 33,
          "created_at": "2020-10-19T09:18:00Z",
          "last_comment_at": null,
          "last_comment_author": null
        }
      ]
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/larskanis/libusb",
    "host": "github.com",
    "name": "libusb",
    "owner": "larskanis"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "moderate",
      "name": "Overall health",
      "note": "The weighted overall 55 is calibrated to 57 on the published index scale (record calibration 2026-08-02).",
      "notes": [
        {
          "code": "overall_calibration",
          "params": {
            "raw": 55,
            "calibrated": 57,
            "calibration": "2026-08-02"
          }
        }
      ],
      "value": 57,
      "inputs": {
        "security": 41,
        "vitality": 61,
        "community": 57,
        "governance": 62,
        "calibration": "2026-08-02",
        "engineering": 55,
        "ai_readiness": 27,
        "weighted_overall_raw": 55
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "moderate",
        "name": "Vitality",
        "value": 61,
        "weight": 0.21,
        "metrics": [
          {
            "key": "development_activity",
            "band": "moderate",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 59,
            "inputs": {
              "commits_last_year": 17,
              "human_commit_share": 1,
              "days_since_last_push": 0,
              "active_weeks_last_year": 3
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 0 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "3/52 weeks with commits",
                "points": 2.1,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 3
                    }
                  }
                ],
                "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": "14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "moderate",
            "name": "Release discipline",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 64,
            "inputs": {
              "releases_count": 26,
              "latest_release_tag": "v0.8.0",
              "releases_from_tags": true,
              "days_since_latest_release": 0,
              "mean_days_between_releases": 391.5
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "26 version tags (no GitHub releases)",
                "points": 16.2,
                "status": "partial",
                "details": [
                  {
                    "code": "version_tags_no_releases",
                    "params": {
                      "count": 26
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 0 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~391.5 days",
                "points": 5.4,
                "status": "partial",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 391.5
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "openssf_scorecard_signed_releases",
                "name": "OpenSSF Scorecard: Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              }
            ]
          },
          {
            "key": "abandonment",
            "band": "exceptional",
            "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": 1,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "last human commit 1 days ago",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_maintained",
                    "params": {
                      "days": 1
                    }
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "moderate",
        "name": "Community & Adoption",
        "value": 57,
        "weight": 0.17,
        "metrics": [
          {
            "key": "popularity",
            "band": "moderate",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 54,
            "inputs": {
              "forks": 25,
              "stars": 160,
              "watchers": 21,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "160 stars",
                "points": 35.7,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 160
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "25 forks",
                "points": 11.5,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 25
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "21 watchers",
                "points": 7.2,
                "status": "partial",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 21
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "moderate",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 50,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "readme_badges": 2,
              "has_contributing": false,
              "has_issue_template": false,
              "has_code_of_conduct": false,
              "readme_badge_services": [
                "ci.appveyor.com",
                "travis-ci.com"
              ],
              "has_pull_request_template": false
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 22.5,
                "status": "met",
                "details": [],
                "max_points": 22.5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "recognized license (LGPL-3.0)",
                "points": 22.5,
                "status": "met",
                "details": [
                  {
                    "code": "license_standard",
                    "params": {}
                  },
                  {
                    "code": "license_spdx",
                    "params": {
                      "spdx": "LGPL-3.0"
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributing_guide",
                "name": "CONTRIBUTING guide",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "code_of_conduct",
                "name": "Code of conduct",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 13.5
              },
              {
                "key": "issue_template",
                "name": "Issue template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.2
              },
              {
                "key": "pr_template",
                "name": "PR template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.3
              }
            ]
          },
          {
            "key": "ecosystem_adoption",
            "band": "good",
            "name": "Ecosystem adoption (downloads)",
            "note": "Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "registry_dependents"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 70,
            "inputs": {
              "packages": [
                "libusb"
              ],
              "dependents": null,
              "ecosystems": "rubygems",
              "total_downloads": 239306,
              "monthly_downloads": null
            },
            "components": [
              {
                "key": "total_downloads",
                "name": "Total downloads",
                "detail": "239,306 downloads all-time across rubygems",
                "points": 55.9,
                "status": "partial",
                "details": [
                  {
                    "code": "downloads_total",
                    "params": {
                      "count": 239306,
                      "ecosystems": "rubygems"
                    }
                  }
                ],
                "max_points": 80
              },
              {
                "key": "registry_dependents",
                "name": "Registry dependents",
                "detail": "not reported by this ecosystem",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "not_reported_by_this_ecosystem",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "moderate",
        "name": "Sustainability & Governance",
        "value": 62,
        "weight": 0.23,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "at_risk",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 26,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 5,
              "top_contributor_share": 0.985
            },
            "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 98% of commits",
                "points": 0.3,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 98
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "5 contributors",
                "points": 6.8,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 5
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 7 contributing companies or organizations",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "good",
            "name": "Issue & PR responsiveness",
            "note": null,
            "notes": [],
            "value": 72,
            "inputs": {
              "merged_prs": 15,
              "open_issues": 5,
              "closed_issues": 29,
              "prs_merged_7d": 3,
              "prs_decided_7d": 3,
              "prs_merged_30d": 3,
              "prs_decided_30d": 3,
              "issue_closed_ratio": 0.853,
              "closed_unmerged_prs": 4,
              "first_time_authors_30d": 1,
              "first_time_prs_merged_30d": 1,
              "first_time_prs_decided_30d": 1
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "85% of issues closed",
                "points": 35.8,
                "status": "partial",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 85
                    }
                  }
                ],
                "max_points": 42
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "15/19 decided PRs merged",
                "points": 23.7,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 15,
                      "decided": 19
                    }
                  }
                ],
                "max_points": 30
              },
              {
                "key": "newcomer_pr_acceptance",
                "name": "Newcomer PR acceptance",
                "detail": "1/1 first-time contributors' PRs merged in 30d",
                "points": 13,
                "status": "met",
                "details": [
                  {
                    "code": "newcomer_prs_merged",
                    "params": {
                      "days": 30,
                      "merged": 1,
                      "decided": 1
                    }
                  }
                ],
                "max_points": 13
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 1/22 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "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": 63,
            "inputs": {
              "followers": 148,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "larskanis",
              "public_repos": 150,
              "account_age_days": 6054
            },
            "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": "148 followers of larskanis",
                "points": 15.6,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 148,
                      "login": "larskanis"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "150 public repos, account ~16 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 150
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 16
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "exceptional",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "libusb"
              ],
              "ecosystems": "rubygems",
              "any_deprecated": false,
              "min_days_since_publish": 0
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on rubygems",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "rubygems"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 0 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "79 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 79
                    }
                  }
                ],
                "max_points": 20
              },
              {
                "key": "not_deprecated",
                "name": "Not deprecated",
                "detail": "active, not deprecated or yanked",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "package_not_deprecated",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
      },
      {
        "key": "engineering",
        "band": "moderate",
        "name": "Engineering Quality",
        "value": 55,
        "weight": 0.19,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "weak",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 48,
            "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": "0 out of 4 merged PRs checked by a CI test -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "good",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 65,
            "inputs": {
              "topics": [],
              "has_wiki": true,
              "homepage": "http://rubygems.org/gems/libusb",
              "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": "http://rubygems.org/gems/libusb",
                "points": 15,
                "status": "met",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "weak",
        "name": "Security",
        "value": 41,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "weak",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "packaging",
                    "signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 41,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 16,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 2,
              "scorecard_aggregate": 4.1
            },
            "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": "0 out of 4 merged PRs checked by a CI test -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "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 1/22 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 7 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.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow not detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "SAST tool is not run on all commits -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "security_policy",
                "name": "Security-Policy",
                "detail": "security policy file not detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "signed_releases",
                "name": "Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "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": "exceptional",
            "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"
              ],
              "commit_weight_rule": {
                "min_commits": 50,
                "min_commit_share": 0.1
              },
              "review_only_matches": 0,
              "below_threshold_exposures": [],
              "assessed_self_published_locations": 12
            },
            "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": 27,
        "weight": 0.04,
        "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": 22,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [],
              "has_dockerfile": false,
              "typed_language": false,
              "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": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "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": "moderate",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 55,
            "inputs": {
              "primary_language": "Ruby",
              "largest_source_bytes": 28920,
              "source_files_sampled": 39,
              "oversized_source_files": 0
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "Ruby without a type-check config",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_typecheck_config_language",
                    "params": {
                      "language": "Ruby"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "0/39 source files over 60KB",
                "points": 55,
                "status": "met",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 39,
                      "oversized": 0
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight: agent tooling is a real maintenance signal, but its absence must never gate the top of the scale (calibration saturates at raw 91, so 100/100 remains reachable with AI Readiness at zero)."
      }
    ],
    "classification": {
      "top": [
        "library",
        "application"
      ],
      "labels": [
        "library",
        "cli"
      ],
      "scores": {
        "cli": 10,
        "library": 14
      },
      "primary": "library",
      "evidence": [
        {
          "tier": "declared",
          "label": "cli",
          "source": "gem.executables",
          "weight": 10
        },
        {
          "tier": "declared",
          "label": "library",
          "source": "gem.gemspec",
          "weight": 8
        },
        {
          "tier": "distribution",
          "label": "library",
          "source": "registry:rubygems",
          "weight": 6
        }
      ],
      "artifacts": [
        {
          "path": "libusb.gemspec",
          "labels": [
            "cli",
            "library"
          ],
          "ecosystem": "rubygems"
        }
      ],
      "confidence": "high",
      "host_extension": false,
      "runs_as_process": true,
      "consumed_by_code": true
    },
    "metrics_version": "2.5.0"
  },
  "warnings": [
    "Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token",
    "No resolved dependencies carried a version and a supported ecosystem"
  ],
  "report_type": "repository",
  "generated_at": "2026-08-03T08:46:47.337772Z",
  "schema_version": "0.30.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/l/larskanis/libusb.svg",
  "full_name": "larskanis/libusb",
  "license_state": "standard",
  "license_spdx": "LGPL-3.0"
}

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

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

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