公开记录
软件健康报告模式 0.27.0 · 指标 1.13.0 · 2026-07-22 21:48 UTC

ljharb / set-function-length

Set a function's length property

JavaScriptMIT★ 4 星标⑂ 2 复刻始于 2023年10月在 GitHub 上查看 ↗

ljharb/set-function-length 的健康指数为 100 分中的 49 分,处于「存在风险」区间。 其得分最高的类别是Engineering Quality(68/100),最低的是Vitality(23/100)。 最近一次更新在 204 天前。 近期的大部分工作由 1 位贡献者完成。

49
总分 / 100
存在风险

软件健康指数

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

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

评分画像

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

所有权

Jordan Harband个人账户
8,196 关注者282 个公开仓库始于 2009年1月@socketdev @tc39

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
npmset-function-length1.2.2362,321,4617865 天前javascriptecmascriptsetfunctionlengthfunction.length

按类别列示的指标

活力

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

23危急 · 占总体的 22%
评分方式
3.6/36推送新近度 — 最近一次推送于 204 天前
0.7/36提交节奏 — 52 周中有 1 周有提交
2.7/18提交量 — 最近一年 1 次提交
0/10OpenSSF Scorecard:Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
所用输入
commits_last_year1
human_commit_share1
days_since_last_push204
active_weeks_last_year1

发布纪律

48存在风险
评分方式
16.2/27有发布版本 — 7 个版本标签(无 GitHub 发布版本)
0/36发布时效 — 最近一次发布版本于 865 天前
27/27发布节奏 — 约每 24.8 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — 无数据
所用输入
releases_count7
latest_release_tagv1.2.2
releases_from_tags
days_since_latest_release865
mean_days_between_releases24.8
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

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

58中等 · 占总体的 18%
评分方式
7.7/60星标 — 4 个星标
0/25复刻 — 2 个复刻
0/15关注者 — 1 位关注者
所用输入
forks2
stars4
watchers1
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

85优秀
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(MIT)
18/18CONTRIBUTING 指南
13.5/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
has_contributing
has_issue_template
has_code_of_conduct
has_pull_request_template
评分方式
80/80月度下载量 — npm 合计每月 362,321,461 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packagesset-function-length
dependents
ecosystemsnpm
total_downloads
monthly_downloads362,321,461
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

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

48存在风险 · 占总体的 24%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
0/22.5提交分布 — 头号贡献者编写了 100% 的提交
1.4/13.5贡献者广度 — 1 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 31 contributing companies or organizations
所用输入
bus_factor1
contributors_sampled1
top_contributor_share1
评分方式
23.4/46.8议题解决 — 50% 的议题已关闭
0/38.3PR 接受 — 没有已裁定的拉取请求或无数据
0/15OpenSSF Scorecard:Code-Review — Found 0/30 approved changesets -- score normalized to 0
所用输入
merged_prs0
open_issues1
closed_issues1
issue_closed_ratio0.5
closed_unmerged_prs0
已排除计分(无数据或不适用):PR 接受。 其余权重已重新归一化。
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
25/25所有者影响力 — ljharb 有 8,196 位关注者
25/25既往记录 — 282 个公开仓库,账户约 17 年
所用输入
followers8,196
owner_typeUser
is_verified
owner_loginljharb
public_repos282
account_age_days6,402
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — npm 上有 1 个软件包
4/35发布时效 — 最近一次发布于 865 天前
20/20版本历史 — 7 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packagesset-function-length
ecosystemsnpm
any_deprecated
min_days_since_publish865

工程质量

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

68中等 · 占总体的 20%

工程实践

80良好
评分方式
24/24CI 工作流 — 5 个工作流
24/24存在测试
16/16Linter 配置 — .eslintrc
0/9.6Pre-commit 钩子
0/6.4.editorconfig
0/20OpenSSF Scorecard:CI-Tests — 无数据
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config
已排除计分(无数据或不适用):OpenSSF Scorecard:CI-Tests。 其余权重已重新归一化。

文档

50中等
评分方式
30/30README
0/25文档目录
0/15文档 / 主页站点
10/10仓库描述
10/10主题标签 — 5 个主题标签
0/10Wiki
所用输入
topicsecmascript, function, javascript, length, set
has_wiki
homepage
has_readme
has_docs_dir
has_description

安全

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

54中等 · 占总体的 16%

安全态势

42存在风险
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — 无数据
0/2.5CI-Tests — 无数据
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0/7.5Code-Review — Found 0/30 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 31 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
0/7.5Maintained — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packaging — 无数据
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — no SAST tool detected
5/5Security-Policy — security policy file 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_evaluated14
scorecard_versionv5.5.0
checks_inconclusive4
scorecard_aggregate4.2
已排除计分(无数据或不适用):branch_protection, ci_tests, packaging, signed_releases。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告 — 没有直接依赖携带已知公告
25/25间接依赖不含已知公告 — 没有间接依赖携带已知公告
0/40没有长期未处理的公告 — 没有公告带有发布日期
所用输入
sourceosv
advisories0
affected_packages0
assessed_packages17
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
已排除计分(无数据或不适用):没有长期未处理的公告。 其余权重已重新归一化。 比对的是 npm:set-function-length@1.2.2 的运行时依赖闭包——安装已发布的软件包时真正被拉取进来的内容——共 17 个软件包。 未对可达性进行分析。

AI 就绪度

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

36存在风险 · 占总体的 0%
评分方式
0/45代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
1.6/40可读的提交历史 — 34 次人类提交中有 1 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
legible_history_share0.029
agent_instruction_files
agent_instruction_max_bytes
评分方式
0/18一条命令的引导启动
22/22自动化测试
11/11Lint / 格式化配置 — .eslintrc
11/11静态类型检查 — tsconfig.json
0/10可复现环境
0/10已体现的代理实践 — 最近 34 次提交中没有代理编写的提交
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_configstsconfig.json
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
评分方式
27/45可类型检查的代码 — JavaScript,已配置类型检查(tsconfig.json)
55/55可控的文件大小 — 采样的 6 个源文件中有 0 个超过 60KB
所用输入
primary_languageJavaScript
largest_source_bytes3,193
source_files_sampled6
oversized_source_files0

关键数据

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

数据采集警告

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

更多细节

Star 与 Fork 历史 0 ★ / 2 ⇿
0Star
2Fork

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

111222212024-072025-062026-05

每个点涵盖 2 天。

OpenSSF Scorecard 4.2 / 10
4.2综合

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

10Binary-Artifactsno binaries found in the repo
不适用Branch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
不适用CI-Testsno pull request found
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
10Contributorsproject has 31 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTno SAST tool detected
10Security-Policysecurity policy file detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
直接依赖 6
注册表软件包版本约束清单文件
npmdefine-data-property^1.1.4package.json
npmes-errors^1.3.0package.json
npmfunction-bind^1.1.2package.json
npmget-intrinsic^1.2.4package.json
npmgopd^1.0.1package.json
npmhas-property-descriptors^1.0.2package.json
全部依赖 32

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

注册表软件包版本关系
npmdefine-data-property^1.1.4直接
npmes-errors^1.3.0直接
npmfunction-bind^1.1.2直接
npmget-intrinsic^1.2.4直接
npmgopd^1.0.1直接
npmhas-property-descriptors^1.0.2直接
npm@arethetypeswrong/cli^0.15.1间接
npm@ljharb/eslint-config^21.1.0间接
npm@ljharb/tsconfig^0.1.1间接
npm@types/call-bind^1.0.5间接
npm@types/define-properties^1.1.5间接
npm@types/es-value-fixtures^1.4.4间接
npm@types/for-each^0.3.3间接
npm@types/function-bind^1.1.10间接
npm@types/gopd^1.0.3间接
npm@types/has-property-descriptors^1.0.3间接
npm@types/object-inspect^1.8.4间接
npm@types/tape^5.6.4间接
npmaud^2.0.4间接
npmauto-changelog^2.4.0间接
npmcall-bind^1.0.7间接
npmes-value-fixtures^1.4.2间接
npmeslint8.8.0间接
npmevalmd^0.0.19间接
npmfor-each^0.3.3间接
npmin-publish^2.0.1间接
npmnpmignore^0.3.1间接
npmnyc^10.3.2间接
npmobject-inspect^1.13.1间接
npmsafe-publish-latest^2.0.0间接
npmtape^5.7.5间接
npmtypescriptnext间接
依赖安全公告 0

安装 npm:set-function-length@1.2.2 会引入 17 个包(直接与传递):其中 0 个存在已知公告,0 个为直接依赖。

没有已知公告影响已评估的依赖。

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读
{
  "data": {
    "repo": {
      "topics": [
        "ecmascript",
        "function",
        "javascript",
        "length",
        "set"
      ],
      "is_fork": false,
      "size_kb": 76,
      "has_wiki": false,
      "homepage": null,
      "languages": {
        "JavaScript": 8337
      },
      "pushed_at": "2025-12-30T01:57:40Z",
      "created_at": "2023-10-12T21:29:58Z",
      "owner_type": "User",
      "updated_at": "2025-12-30T01:57:44Z",
      "description": "Set a function's length property",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "MIT",
      "default_branch": "main",
      "license_spdx_raw": "MIT",
      "primary_language": "JavaScript",
      "significant_languages": [
        "JavaScript"
      ]
    },
    "owner": {
      "blog": "https://linkedin.com/in/ljharb",
      "name": "Jordan Harband",
      "type": "User",
      "login": "ljharb",
      "company": "@socketdev @tc39 ",
      "location": "Hillsborough, CA",
      "followers": 8196,
      "avatar_url": "https://avatars.githubusercontent.com/u/45469?v=4",
      "created_at": "2009-01-10T01:28:02Z",
      "is_verified": null,
      "public_repos": 282,
      "account_age_days": 6402
    },
    "license": {
      "state": "standard",
      "spdx_id": "MIT",
      "raw_spdx": "MIT",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v1.2.2",
          "kind": "patch",
          "published_at": "2024-03-09T17:40:53Z"
        },
        {
          "tag": "v1.2.1",
          "kind": "patch",
          "published_at": "2024-02-06T16:48:00Z"
        },
        {
          "tag": "v1.2.0",
          "kind": "minor",
          "published_at": "2024-01-14T20:55:39Z"
        },
        {
          "tag": "v1.1.1",
          "kind": "patch",
          "published_at": "2023-10-19T22:47:09Z"
        },
        {
          "tag": "v1.1.0",
          "kind": "minor",
          "published_at": "2023-10-13T20:26:28Z"
        },
        {
          "tag": "v1.0.1",
          "kind": "patch",
          "published_at": "2023-10-13T05:26:23Z"
        },
        {
          "tag": "v1.0.0",
          "kind": "major",
          "published_at": "2023-10-13T04:21:05Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "478804551915034f2b814a8a4a5e135aca2050a1",
          "body": null,
          "is_bot": false,
          "headline": "[readme] replace runkit CI badge with shields.io check-runs badge",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2025-12-29T22:51:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "85f4b57ec0560b9fd3ad75eb7b13c05c6af9f42d",
          "body": null,
          "is_bot": false,
          "headline": "v1.2.2",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-03-09T17:40:53Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1fd4fb1c58bd5170f0dcff7e320077c0aa2ffdeb",
          "body": "also skip `npm ls` on node < 10 due to TS",
          "is_bot": false,
          "headline": "[actions] remove redundant finisher; use reusable workflow",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-03-09T17:40:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "027032fe9cc439644a07248ea6a8d813fcc767cb",
          "body": null,
          "is_bot": false,
          "headline": "[types] use shared config",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-03-09T07:42:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7e22425d15957fd3d6da0b6bca4afc0c8d255d2d",
          "body": null,
          "is_bot": false,
          "headline": "[Tests] use `@arethetypeswrong/cli`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-03-09T07:41:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "01b9761742c95e1118e8c2d153ce2ae43d9731aa",
          "body": null,
          "is_bot": false,
          "headline": "[types] use a handwritten d.ts file instead of emit",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-03-09T07:40:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "bee8eaf7749f325357ade85cffeaeef679e513d4",
          "body": "…descriptors`",
          "is_bot": false,
          "headline": "[Deps] update `define-data-property`, `get-intrinsic`, `has-property-…",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-03-09T07:36:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5dae579fdc3aab91b14ebb58f9c19ee3f509d434",
          "body": null,
          "is_bot": false,
          "headline": "[Dev Deps] update `call-bind`, `tape`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-03-09T07:35:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "55919f203485ad463b49d2ba2c1abf5118df236d",
          "body": null,
          "is_bot": false,
          "headline": "v1.2.1",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-02-06T16:48:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b4bfe5ae0953b906d55b85f867eca5e7f673ebf4",
          "body": "…d `get-intrinsic`",
          "is_bot": false,
          "headline": "[Refactor] use `es-errors`, so things that only need those do not nee…",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-02-06T05:27:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "38d39aed13a757ed36211d5b0437b88485090c6b",
          "body": null,
          "is_bot": false,
          "headline": "[Deps] update `define-data-property`, `get-intrinsic`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-02-06T05:26:35Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d9a460199c4c1fa37da9ebe055e2c884128f0738",
          "body": null,
          "is_bot": false,
          "headline": "[Dev Deps] update `call-bind`, `tape`, `typescript`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-02-06T05:26:09Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6cc4721675c96ac4bc8b919c1ab5398213a1568c",
          "body": null,
          "is_bot": false,
          "headline": "v1.2.0",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-01-14T20:55:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f6d9088b9283a3112b21c6776e8bef6d1f30558a",
          "body": null,
          "is_bot": false,
          "headline": "[New] add types",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-01-14T06:40:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0c42f84979086389b3229e1b4272697fd352275a",
          "body": null,
          "is_bot": false,
          "headline": "[Fix] ensure `env` properties are always booleans",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-01-14T06:36:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8bb9b78c11c621123f725c9470222f43466c01d0",
          "body": null,
          "is_bot": false,
          "headline": "[meta] add `sideEffects` flag",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-01-14T06:24:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "19bf0fc4ffaa5ad425acbfa150516be9f3b6263a",
          "body": null,
          "is_bot": false,
          "headline": "[Deps] update `get-intrinsic`, `has-property-descriptors`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-01-14T06:23:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2b75f75468093a4bb8ce8ca989b2edd2e80d95d1",
          "body": null,
          "is_bot": false,
          "headline": "[Dev Deps] update `aud`, `call-bind`, `npmignore`, `tape`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2024-01-14T06:23:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "667210f7dadd064646ae4cf9810939160d96640a",
          "body": null,
          "is_bot": false,
          "headline": "v1.1.1",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-19T22:47:09Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "50cdf3228a3cf74331273401e7a5f852abe9da68",
          "body": "Fixes #2",
          "is_bot": false,
          "headline": "[Fix] move `define-data-property` to runtime deps",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-19T22:44:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5aecf79e7d6400957a5d9bd9ac20d4528908ca18",
          "body": null,
          "is_bot": false,
          "headline": "[Dev Deps] update `object-inspect`; add missing `call-bind`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-19T22:45:58Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ea405930d0c88865b020e6b6010e399ba619e96f",
          "body": null,
          "is_bot": false,
          "headline": "v1.1.0",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T20:26:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "475c87aa2f59b700aaed589d980624ec596acdcb",
          "body": " - `boundFnsHaveConfigurableLengths`\n - `boundFnsHaveWritableLengths`\n - `functionsHaveConfigurableLengths`\n - `functionsHaveWritableLengths`",
          "is_bot": false,
          "headline": "[New] add `env` entry point",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T05:28:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d727e7c6c9a40d7bf26797694e500ea68741feea",
          "body": null,
          "is_bot": false,
          "headline": "[Deps] update `define-data-property`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T05:37:17Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "14f0bf8c145ae60bf14a026420a06bb7be132c36",
          "body": null,
          "is_bot": false,
          "headline": "[Tests] add coverage with `nyc`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T05:27:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fb516f93c664057138c53559ef63c8622a093335",
          "body": null,
          "is_bot": false,
          "headline": "[eslint] fix linting failure",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T05:59:14Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "878e8f699e073e3beef93742fb365fe43cca00d8",
          "body": null,
          "is_bot": false,
          "headline": "v1.0.1",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T05:26:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "72acfe5a0310071fb205a72caba5ecbab24336a0",
          "body": "This isn‘t a breaking change, since I just published this package an hour ago",
          "is_bot": false,
          "headline": "[meta] add `exports`",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T05:26:18Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "278a954a06cd849051c569ff7aee56df6798933e",
          "body": null,
          "is_bot": false,
          "headline": "[Refactor] use `get-intrinsic`, since it‘s in the dep graph anyways",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T05:20:54Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5a7527d3fea222561527c1f312af8f217e47faf8",
          "body": null,
          "is_bot": false,
          "headline": "v1.0.0",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-13T04:21:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "fce14e17586460e4f294405173be72b6ffdf7e5f",
          "body": null,
          "is_bot": false,
          "headline": "Initial implementation, tests, readme",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-12T21:54:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d2bf6c43de8a51b02a0aa53e8d62cb50c4a2b0da",
          "body": null,
          "is_bot": false,
          "headline": "Only apps should have lockfiles",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-12T21:32:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6a7e493927736cebcaf5c1a84e69b8e6b7b744d8",
          "body": null,
          "is_bot": false,
          "headline": "npm init",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-12T21:32:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ca7ba857c7c283f9d26e21f14e71cd388f2cb722",
          "body": null,
          "is_bot": false,
          "headline": "Initial commit",
          "author_name": "Jordan Harband",
          "author_login": "ljharb",
          "committed_at": "2023-10-12T21:29:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 7,
      "commits_last_year": 1,
      "latest_release_at": "2024-03-09T17:40:53Z",
      "latest_release_tag": "v1.2.2",
      "releases_from_tags": true,
      "days_since_last_push": 204,
      "active_weeks_last_year": 1,
      "days_since_latest_release": 865,
      "mean_days_between_releases": 24.8
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "has_description": true,
      "has_contributing": true,
      "health_percentage": 85,
      "has_issue_template": false,
      "has_code_of_conduct": true,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": [
        {
          "name": "set-function-length",
          "exists": true,
          "license": "MIT",
          "keywords": [
            "javascript",
            "ecmascript",
            "set",
            "function",
            "length",
            "function.length"
          ],
          "ecosystem": "npm",
          "matches_repo": true,
          "registry_url": "https://www.npmjs.com/package/set-function-length",
          "is_deprecated": false,
          "latest_version": "1.2.2",
          "repository_url": "https://github.com/ljharb/set-function-length",
          "versions_count": 7,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": 1,
          "monthly_downloads": 362321461,
          "first_published_at": "2023-10-13T04:21:43.602000Z",
          "latest_published_at": "2024-03-09T17:40:59.599000Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 865
        }
      ]
    },
    "popularity": {
      "forks": 2,
      "stars": 4,
      "watchers": 1,
      "fork_history": {
        "days": [
          {
            "date": "2024-07-28",
            "count": 1
          },
          {
            "date": "2026-05-03",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 2,
        "total_forks": 2
      },
      "star_history": null,
      "open_issues_and_prs": 1
    },
    "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": [
        "tsconfig.json"
      ],
      "toolchain_manifests": [],
      "largest_source_bytes": 3193,
      "source_files_sampled": 6,
      "oversized_source_files": 0,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "package.json"
      ],
      "advisories": {
        "error": null,
        "scope": "published_package",
        "source": "osv",
        "findings": [],
        "collected": true,
        "malicious": [],
        "truncated": false,
        "by_severity": {},
        "advisory_count": 0,
        "affected_count": 0,
        "assessed_count": 17,
        "malicious_count": 0,
        "assessed_package": "npm:set-function-length@1.2.2",
        "unassessed_count": 0,
        "direct_affected_count": 0
      },
      "ecosystems": [
        "npm"
      ],
      "dependencies": [
        {
          "name": "define-data-property",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^1.1.4"
        },
        {
          "name": "es-errors",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^1.3.0"
        },
        {
          "name": "function-bind",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^1.1.2"
        },
        {
          "name": "get-intrinsic",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^1.2.4"
        },
        {
          "name": "gopd",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^1.0.1"
        },
        {
          "name": "has-property-descriptors",
          "manifest": "package.json",
          "ecosystem": "npm",
          "version_constraint": "^1.0.2"
        }
      ],
      "all_dependencies": {
        "error": null,
        "source": "github-sbom",
        "packages": [
          {
            "name": "define-data-property",
            "direct": true,
            "version": "^1.1.4",
            "ecosystem": "npm"
          },
          {
            "name": "es-errors",
            "direct": true,
            "version": "^1.3.0",
            "ecosystem": "npm"
          },
          {
            "name": "function-bind",
            "direct": true,
            "version": "^1.1.2",
            "ecosystem": "npm"
          },
          {
            "name": "get-intrinsic",
            "direct": true,
            "version": "^1.2.4",
            "ecosystem": "npm"
          },
          {
            "name": "gopd",
            "direct": true,
            "version": "^1.0.1",
            "ecosystem": "npm"
          },
          {
            "name": "has-property-descriptors",
            "direct": true,
            "version": "^1.0.2",
            "ecosystem": "npm"
          },
          {
            "name": "@arethetypeswrong/cli",
            "direct": false,
            "version": "^0.15.1",
            "ecosystem": "npm"
          },
          {
            "name": "@ljharb/eslint-config",
            "direct": false,
            "version": "^21.1.0",
            "ecosystem": "npm"
          },
          {
            "name": "@ljharb/tsconfig",
            "direct": false,
            "version": "^0.1.1",
            "ecosystem": "npm"
          },
          {
            "name": "@types/call-bind",
            "direct": false,
            "version": "^1.0.5",
            "ecosystem": "npm"
          },
          {
            "name": "@types/define-properties",
            "direct": false,
            "version": "^1.1.5",
            "ecosystem": "npm"
          },
          {
            "name": "@types/es-value-fixtures",
            "direct": false,
            "version": "^1.4.4",
            "ecosystem": "npm"
          },
          {
            "name": "@types/for-each",
            "direct": false,
            "version": "^0.3.3",
            "ecosystem": "npm"
          },
          {
            "name": "@types/function-bind",
            "direct": false,
            "version": "^1.1.10",
            "ecosystem": "npm"
          },
          {
            "name": "@types/gopd",
            "direct": false,
            "version": "^1.0.3",
            "ecosystem": "npm"
          },
          {
            "name": "@types/has-property-descriptors",
            "direct": false,
            "version": "^1.0.3",
            "ecosystem": "npm"
          },
          {
            "name": "@types/object-inspect",
            "direct": false,
            "version": "^1.8.4",
            "ecosystem": "npm"
          },
          {
            "name": "@types/tape",
            "direct": false,
            "version": "^5.6.4",
            "ecosystem": "npm"
          },
          {
            "name": "aud",
            "direct": false,
            "version": "^2.0.4",
            "ecosystem": "npm"
          },
          {
            "name": "auto-changelog",
            "direct": false,
            "version": "^2.4.0",
            "ecosystem": "npm"
          },
          {
            "name": "call-bind",
            "direct": false,
            "version": "^1.0.7",
            "ecosystem": "npm"
          },
          {
            "name": "es-value-fixtures",
            "direct": false,
            "version": "^1.4.2",
            "ecosystem": "npm"
          },
          {
            "name": "eslint",
            "direct": false,
            "version": "8.8.0",
            "ecosystem": "npm"
          },
          {
            "name": "evalmd",
            "direct": false,
            "version": "^0.0.19",
            "ecosystem": "npm"
          },
          {
            "name": "for-each",
            "direct": false,
            "version": "^0.3.3",
            "ecosystem": "npm"
          },
          {
            "name": "in-publish",
            "direct": false,
            "version": "^2.0.1",
            "ecosystem": "npm"
          },
          {
            "name": "npmignore",
            "direct": false,
            "version": "^0.3.1",
            "ecosystem": "npm"
          },
          {
            "name": "nyc",
            "direct": false,
            "version": "^10.3.2",
            "ecosystem": "npm"
          },
          {
            "name": "object-inspect",
            "direct": false,
            "version": "^1.13.1",
            "ecosystem": "npm"
          },
          {
            "name": "safe-publish-latest",
            "direct": false,
            "version": "^2.0.0",
            "ecosystem": "npm"
          },
          {
            "name": "tape",
            "direct": false,
            "version": "^5.7.5",
            "ecosystem": "npm"
          },
          {
            "name": "typescript",
            "direct": false,
            "version": "next",
            "ecosystem": "npm"
          }
        ],
        "collected": true,
        "truncated": false,
        "total_count": 32,
        "direct_count": 6,
        "indirect_count": 26
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 0,
        "merged_prs": 0,
        "open_issues": 1,
        "closed_ratio": 0.5,
        "closed_issues": 1,
        "closed_unmerged_prs": 0
      },
      "bus_factor": 1,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "ljharb",
          "commits": 34,
          "avatar_url": "https://avatars.githubusercontent.com/u/45469?v=4"
        }
      ],
      "contributors_sampled": 1,
      "top_contributor_share": 1
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "node-aught.yml",
        "node-pretest.yml",
        "node-tens.yml",
        "rebase.yml",
        "require-allow-edits.yml"
      ],
      "has_docs_dir": false,
      "linter_configs": [
        ".eslintrc"
      ],
      "has_editorconfig": false,
      "has_linter_config": true,
      "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": null,
            "reason": "internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": null,
            "reason": "no pull request found",
            "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 0/30 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 31 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": 0,
            "reason": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
            "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": "no SAST tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
          },
          {
            "name": "Security-Policy",
            "score": 10,
            "reason": "security policy file 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": "478804551915034f2b814a8a4a5e135aca2050a1",
        "ran_at": "2026-07-22T21:48:46Z",
        "aggregate_score": 4.2,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": false
    },
    "contribution_flow": {
      "collected": true,
      "ci_last_run_at": "2025-12-30T03:36:21Z",
      "oldest_open_prs": [],
      "last_merged_pr_at": null,
      "ci_last_conclusion": "FAILURE",
      "oldest_open_issues": [
        {
          "number": 1,
          "created_at": "2023-10-12T21:30:10Z",
          "last_comment_at": null,
          "last_comment_author": null
        }
      ]
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/ljharb/set-function-length",
    "host": "github.com",
    "name": "set-function-length",
    "owner": "ljharb"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "at_risk",
      "name": "Overall health",
      "note": null,
      "notes": [],
      "value": 49,
      "inputs": {
        "security": 54,
        "vitality": 23,
        "community": 58,
        "governance": 48,
        "engineering": 68
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "critical",
        "name": "Vitality",
        "value": 23,
        "weight": 0.22,
        "metrics": [
          {
            "key": "development_activity",
            "band": "critical",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 7,
            "inputs": {
              "commits_last_year": 1,
              "human_commit_share": 1,
              "days_since_last_push": 204,
              "active_weeks_last_year": 1
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 204 days ago",
                "points": 3.6,
                "status": "partial",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 204
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "1/52 weeks with commits",
                "points": 0.7,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 1
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "1 commits in the last year",
                "points": 2.7,
                "status": "partial",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "at_risk",
            "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": 48,
            "inputs": {
              "releases_count": 7,
              "latest_release_tag": "v1.2.2",
              "releases_from_tags": true,
              "days_since_latest_release": 865,
              "mean_days_between_releases": 24.8
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "7 version tags (no GitHub releases)",
                "points": 16.2,
                "status": "partial",
                "details": [
                  {
                    "code": "version_tags_no_releases",
                    "params": {
                      "count": 7
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 865 days ago",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 865
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~24.8 days",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 24.8
                    }
                  }
                ],
                "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": "excellent",
            "name": "Abandonment",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "cap": null,
              "state": "dormant",
              "guards": [
                "no_open_demand",
                "dependencies_clean"
              ],
              "signals": [
                "release_stall",
                "scorecard_unmaintained",
                "broken_ci"
              ],
              "red_flag": false,
              "multiplier_pct": 100,
              "declared_reason": null,
              "unverified_reason": null,
              "unanswered_open_prs": 0,
              "unanswered_open_issues": 1,
              "days_since_last_merged_pr": null,
              "days_since_last_human_commit": 204,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "no human commit for 204 days, with nothing left unanswered; held at dormant by nothing open to answer, no affected dependency",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_quiet",
                    "params": {
                      "days": 204
                    }
                  },
                  {
                    "code": "abandonment_guarded",
                    "params": {
                      "guards": "nothing open to answer, no affected dependency"
                    }
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "moderate",
        "name": "Community & Adoption",
        "value": 58,
        "weight": 0.18,
        "metrics": [
          {
            "key": "popularity",
            "band": "critical",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 8,
            "inputs": {
              "forks": 2,
              "stars": 4,
              "watchers": 1,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "4 stars",
                "points": 7.7,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 4
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "2 forks",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 2
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "1 watchers",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "excellent",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 85,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "has_contributing": true,
              "has_issue_template": false,
              "has_code_of_conduct": true,
              "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 (MIT)",
                "points": 22.5,
                "status": "met",
                "details": [
                  {
                    "code": "license_standard",
                    "params": {}
                  },
                  {
                    "code": "license_spdx",
                    "params": {
                      "spdx": "MIT"
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributing_guide",
                "name": "CONTRIBUTING guide",
                "detail": null,
                "points": 18,
                "status": "met",
                "details": [],
                "max_points": 18
              },
              {
                "key": "code_of_conduct",
                "name": "Code of conduct",
                "detail": null,
                "points": 13.5,
                "status": "met",
                "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": "excellent",
            "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": 100,
            "inputs": {
              "packages": [
                "set-function-length"
              ],
              "dependents": null,
              "ecosystems": "npm",
              "total_downloads": null,
              "monthly_downloads": 362321461
            },
            "components": [
              {
                "key": "monthly_downloads",
                "name": "Monthly downloads",
                "detail": "362,321,461 downloads/month across npm",
                "points": 80,
                "status": "met",
                "details": [
                  {
                    "code": "downloads_monthly",
                    "params": {
                      "count": 362321461,
                      "ecosystems": "npm"
                    }
                  }
                ],
                "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": "at_risk",
        "name": "Sustainability & Governance",
        "value": 48,
        "weight": 0.24,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "critical",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 20,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 1,
              "top_contributor_share": 1
            },
            "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 100% of commits",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 100
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "1 contributors",
                "points": 1.4,
                "status": "partial",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 31 contributing companies or organizations",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "at_risk",
            "name": "Issue & PR responsiveness",
            "note": "Excluded from scoring (no data or not applicable): PR acceptance. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "pr_acceptance"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 38,
            "inputs": {
              "merged_prs": 0,
              "open_issues": 1,
              "closed_issues": 1,
              "issue_closed_ratio": 0.5,
              "closed_unmerged_prs": 0
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "50% of issues closed",
                "points": 23.4,
                "status": "partial",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 50
                    }
                  }
                ],
                "max_points": 46.75
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "no decided pull requests or no data",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_decided_prs_or_data",
                    "params": {}
                  }
                ],
                "max_points": 38.25
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 0/30 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "good",
            "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": 75,
            "inputs": {
              "followers": 8196,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "ljharb",
              "public_repos": 282,
              "account_age_days": 6402
            },
            "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": "8,196 followers of ljharb",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 8196,
                      "login": "ljharb"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "282 public repos, account ~17 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 282
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 17
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "moderate",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 69,
            "inputs": {
              "packages": [
                "set-function-length"
              ],
              "ecosystems": "npm",
              "any_deprecated": false,
              "min_days_since_publish": 865
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on npm",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "npm"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 865 days ago",
                "points": 4,
                "status": "partial",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 865
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "7 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 7
                    }
                  }
                ],
                "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": 68,
        "weight": 0.2,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "good",
            "name": "Engineering practices",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: CI-Tests. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_ci_tests"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 80,
            "inputs": {
              "has_ci": true,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": true,
              "has_precommit_config": false
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "5 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 5
                    }
                  }
                ],
                "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": ".eslintrc",
                "points": 16,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": ".eslintrc"
                    }
                  }
                ],
                "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": "no pull request found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "moderate",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 50,
            "inputs": {
              "topics": [
                "ecmascript",
                "function",
                "javascript",
                "length",
                "set"
              ],
              "has_wiki": false,
              "homepage": null,
              "has_readme": true,
              "has_docs_dir": false,
              "has_description": true
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 30,
                "status": "met",
                "details": [],
                "max_points": 30
              },
              {
                "key": "documentation_directory",
                "name": "Documentation directory",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": "5 topics",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "topics_count",
                    "params": {
                      "count": 5
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "moderate",
        "name": "Security",
        "value": 54,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "at_risk",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Branch-Protection, CI-Tests, Packaging, Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "branch_protection",
                    "ci_tests",
                    "packaging",
                    "signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 42,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 14,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 4,
              "scorecard_aggregate": 4.2
            },
            "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": "internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "no pull request found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "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 0/30 approved changesets -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 31 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": "0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "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": "no SAST tool detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "security_policy",
                "name": "Security-Policy",
                "detail": "security policy file detected",
                "points": 5,
                "status": "met",
                "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": "dependency_advisories",
            "band": "excellent",
            "name": "Dependency advisories",
            "note": "Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the npm:set-function-length@1.2.2 runtime dependency closure — what installing the published package pulls in — 17 packages. Reachability is not analyzed.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "no_advisories_left_outstanding"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              },
              {
                "code": "advisories_scope_published",
                "params": {
                  "package": "npm:set-function-length@1.2.2",
                  "assessed": 17
                }
              },
              {
                "code": "advisories_reachability",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "source": "osv",
              "advisories": 0,
              "affected_packages": 0,
              "assessed_packages": 17,
              "unassessed_packages": 0,
              "affected_by_severity": "none",
              "direct_affected_packages": 0
            },
            "components": [
              {
                "key": "direct_dependencies_free_of_known_advisories",
                "name": "Direct dependencies free of known advisories",
                "detail": "no direct dependency carries a known advisory",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "no_direct_advisories",
                    "params": {}
                  }
                ],
                "max_points": 35
              },
              {
                "key": "indirect_dependencies_free_of_known_advisories",
                "name": "Indirect dependencies free of known advisories",
                "detail": "no indirect dependency carries a known advisory",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "no_indirect_advisories",
                    "params": {}
                  }
                ],
                "max_points": 25
              },
              {
                "key": "no_advisories_left_outstanding",
                "name": "No advisories left outstanding",
                "detail": "no advisory carries a publication date",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "advisories_no_publication_date",
                    "params": {}
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "malicious_dependencies",
            "band": "excellent",
            "name": "Malicious dependencies",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "source": "osv",
              "meaning": "reported as a malicious package by the OpenSSF corpus; the remedy is removal or moving off the compromised name, never an upgrade of the same artifact. Versions the registry has since pulled are listed but not scored",
              "packages": [],
              "red_flag": false,
              "assessed_packages": 17,
              "malicious_packages": 0,
              "direct_malicious_packages": 0,
              "withdrawn_malicious_packages": 0,
              "installable_malicious_packages": 0
            },
            "components": [
              {
                "key": "no_dependency_reported_as_a_malicious_package",
                "name": "No dependency reported as a malicious package",
                "detail": "no dependency is reported as a malicious package",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "no_malicious_dependencies",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          },
          {
            "key": "high_risk_jurisdiction_exposure",
            "band": "excellent",
            "name": "High-Risk Jurisdiction Exposure",
            "note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
            "notes": [
              {
                "code": "jurisdiction_evidence_limits",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": false,
              "exposures": [],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "review_only_matches": 0,
              "assessed_self_published_locations": 11
            },
            "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": 36,
        "weight": 0,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "critical",
            "name": "Agent context & guidance",
            "note": null,
            "notes": [],
            "value": 2,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": 0.029,
              "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": "1 of 34 human commits state their intent (structured subject or explanatory body)",
                "points": 1.6,
                "status": "partial",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 1,
                      "sampled": 34
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "at_risk",
            "name": "Verify loop (build / test / typecheck)",
            "note": null,
            "notes": [],
            "value": 44,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [],
              "has_dockerfile": false,
              "typed_language": false,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": true,
              "typecheck_configs": [
                "tsconfig.json"
              ],
              "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": ".eslintrc",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": ".eslintrc"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": "tsconfig.json",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "tsconfig.json"
                    }
                  }
                ],
                "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 34",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_authored_commits",
                    "params": {
                      "sampled": 34
                    }
                  }
                ],
                "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": "good",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 82,
            "inputs": {
              "primary_language": "JavaScript",
              "largest_source_bytes": 3193,
              "source_files_sampled": 6,
              "oversized_source_files": 0
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "JavaScript with type-check config (tsconfig.json)",
                "points": 27,
                "status": "partial",
                "details": [
                  {
                    "code": "typecheck_config_language",
                    "params": {
                      "files": "tsconfig.json",
                      "language": "JavaScript"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "0/6 source files over 60KB",
                "points": 55,
                "status": "met",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 6,
                      "oversized": 0
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score."
      }
    ],
    "metrics_version": "1.13.0"
  },
  "warnings": [
    "Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-22T21:48:51.560562Z",
  "schema_version": "0.27.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/l/ljharb/set-function-length.svg",
  "full_name": "ljharb/set-function-length",
  "license_state": "standard",
  "license_spdx": "MIT"
}

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

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

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