公开记录
软件健康报告模式 0.16.0 · 指标 1.13.0 · 2026-07-20 18:37 UTC

koxudaxi / datamodel-code-generator

Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV.

PythonMIT★ 3,972 星标⑂ 450 复刻始于 2019年5月在 GitHub 上查看 ↗

koxudaxi/datamodel-code-generator 的健康指数为 100 分中的 38 分,处于「存在风险」区间。 其得分最高的类别是Vitality(98/100),最低的是Security(31/100)。 最近一次更新在今天。 近期的大部分工作由 1 位贡献者完成。

38
总分 / 100
存在风险

软件健康指数

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

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

评分画像

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

高风险司法辖区政策对加权总体健康应用 50% 的乘数,并对其设置“存在风险”上限 49。

所有权

Koudai Aono个人账户
566 关注者83 个公开仓库始于 2011年2月

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

软件包生态系统

注册表软件包版本月下载量版本数最近发布
PyPIdatamodel-code-generator0.69.0-2660 天前

按类别列示的指标

活力

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

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

发布纪律

100优秀
评分方式
27/27有发布版本 — 已发布 100 个发布版本
36/36发布时效 — 最近一次发布版本于 0 天前
27/27发布节奏 — 约每 3.1 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — 无数据
所用输入
releases_count100
latest_release_tag0.69.0
releases_from_tags
days_since_latest_release0
mean_days_between_releases3.1
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

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

77良好 · 占总体的 18%
评分方式
58.4/60星标 — 3,972 个星标
22.1/25复刻 — 450 个复刻
7.6/15关注者 — 24 位关注者
所用输入
forks450
stars3,972
watchers24
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

65中等
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(MIT)
0/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

可持续性与治理

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

69中等 · 占总体的 24%
评分方式
9/54巴士系数 — 1 位贡献者贡献了半数提交
9/22.5提交分布 — 头号贡献者编写了 60% 的提交
13.5/13.5贡献者广度 — 100 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 11 contributing companies or organizations
所用输入
bus_factor1
contributors_sampled100
top_contributor_share0.6
评分方式
45.8/46.8议题解决 — 98% 的议题已关闭
30/38.3PR 接受 — 已裁定的 PR 中 2,113/2,697 已合并
1.5/15OpenSSF Scorecard:Code-Review — Found 3/25 approved changesets -- score normalized to 1
所用输入
merged_prs2,113
open_issues18
closed_issues829
issue_closed_ratio0.979
closed_unmerged_prs584
评分方式
10/30所有权背书 — 个人(用户)账户
0/20已验证域名 — 不适用于个人账户
19.8/25所有者影响力 — koxudaxi 有 566 位关注者
25/25既往记录 — 83 个公开仓库,账户约 15 年
所用输入
followers566
owner_typeUser
is_verified
owner_loginkoxudaxi
public_repos83
account_age_days5,627
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。
评分方式
25/25已发布且可解析 — pypi 上有 1 个软件包
35/35发布时效 — 最近一次发布于 0 天前
20/20版本历史 — 266 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packagesdatamodel-code-generator
ecosystemspypi
any_deprecated
min_days_since_publish0

工程质量

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

96优秀 · 占总体的 20%

工程实践

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

文档

100优秀
评分方式
30/30README
25/25文档目录
15/15文档 / 主页站点 — https://datamodel-code-generator.koxudaxi.dev/
10/10仓库描述
10/10主题标签 — 17 个主题标签
10/10Wiki
所用输入
topicsopenapi, code-generator, python, pydantic, generator, fastapi, json-schema, datamodel, swagger, yaml, csv, openapi-codegen, swagger-codegen, dataclass, graphql, msgspec, typeddict
has_wiki
homepagehttps://datamodel-code-generator.koxudaxi.dev/
has_readme
has_docs_dir
has_description

安全

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

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

安全态势

31存在风险
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0.8/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-Review — Found 3/25 approved changesets -- score normalized to 1
2.5/2.5Contributors — project has 11 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5许可证 — license file detected
7.5/7.5Maintained — 30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
4/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 8
5/5SAST — SAST tool is run on all commits
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — 无数据
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities — 37 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate6.2
high_risk_jurisdiction_cap49
high_risk_jurisdiction_multiplier50
security_posture_after_multiplier31
security_posture_before_jurisdiction62
已排除计分(无数据或不适用):signed_releases。 其余权重已重新归一化。 高风险司法辖区政策应用 50% 的乘数,并对安全态势设置“存在风险”上限 49。

依赖安全公告

33存在风险
评分方式
4.4/35直接依赖不含已知公告 — 4 个受影响:black 22.1.0 (critical 9.8), black 23.12.0 (critical 9.8), black 24.1.0 (critical 9.8),另有 1 个
0/25间接依赖不含已知公告 — 在此范围内,传递依赖集合无法与开发和测试依赖区分
20.2/40没有长期未处理的公告 — 4 个携带公告的软件包超过 90 天未处理;最早一条发布于 853 天前
所用输入
sourceosv
advisories81
affected_packages14
assessed_packages135
unassessed_packages0
affected_by_severitycritical 6, high 3, moderate 5
direct_affected_packages4
已排除计分(无数据或不适用):间接依赖不含已知公告。 其余权重已重新归一化。 已将 135 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

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

64中等 · 占总体的 0%
评分方式
0/45代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则
15/15机器可读文档(llms.txt) — 存在 llms.txt
0/40可读的提交历史 — 无数据
所用输入
has_llms_txt
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
已排除计分(无数据或不适用):可读的提交历史。 其余权重已重新归一化。
评分方式
0/18一条命令的引导启动
22/22自动化测试
11/11Lint / 格式化配置 — tox.ini
11/11静态类型检查 — src/datamodel_code_generator/py.typed
10/10可复现环境 — Dockerfile, lockfile
0/10已体现的代理实践 — 无数据
5/8自动化维护 — 已配置依赖自动化,但在抽样提交中未观察到
8/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 8
所用输入
has_nix
has_tests
lockfilesuv.lock
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configssrc/datamodel_code_generator/py.typed
agent_commit_share
toolchain_manifests
dependency_bot_commit_share0
已排除计分(无数据或不适用):已体现的代理实践。 其余权重已重新归一化。
评分方式
27/45可类型检查的代码 — Python,已配置类型检查(src/datamodel_code_generator/py.typed)
54.6/55可控的文件大小 — 采样的 2,460 个源文件中有 17 个超过 60KB
所用输入
primary_languagePython
largest_source_bytes561,311
source_files_sampled2,460
oversized_source_files17
评分方式
40/40API 模式(OpenAPI/GraphQL/proto) — tests/data/asyncapi/proto_child.proto, tests/data/graphql/additional-imports.graphql, tests/data/graphql/annotated.graphql, tests/data/graphql/casing.graphql, tests/data/graphql/collection-options.graphql, tests/data/graphql/custom-scalar-types.graphql, tests/data/graphql/default_values_required.graphql, tests/data/graphql/different-types-of-fields.graphql, tests/data/graphql/empty_list_default.graphql, tests/data/graphql/enums.graphql, tests/data/graphql/field-aliases.graphql, tests/data/graphql/field-default-enum.graphql, tests/data/graphql/github-api.graphql, tests/data/graphql/interface_mro.graphql, tests/data/graphql/multiple-aliases.graphql, tests/data/graphql/no-typename.graphql, tests/data/graphql/simple-star-wars.graphql, tests/data/graphql/split/a.graphql, tests/data/graphql/split/b.graphql, tests/data/graphql/split/c.graphql, tests/data/graphql/type_alias.graphql, tests/data/graphql/union-aliased-bug.graphql, tests/data/graphql/union-commented.graphql, tests/data/graphql/union-description-cr.graphql, tests/data/graphql/union.graphql, tests/data/graphql/union_class_name_prefix.graphql, tests/data/graphql/use-standard-collections.graphql, tests/data/graphql/use-union-operator.graphql, tests/data/malformed/bad.graphql, tests/data/openapi/all_of_with_relative_ref/openapi.yaml, tests/data/openapi/discriminator_external_mapping/openapi.yaml, tests/data/openapi/external_ref_with_transitive_local_ref/openapi.yaml, tests/data/openapi/module_class_name_collision/openapi.json, tests/data/openapi/module_class_name_collision_deep/openapi.json, tests/data/openapi/paths_external_ref/openapi.yaml, tests/data/openapi/paths_ref_with_external_schema/openapi.yaml, tests/data/openapi/referenced_path_item_mutation_guard/openapi.yaml, tests/data/openapi/serialize_as_any_module_import_alias/openapi.json, tests/data/openapi/webhooks_ref_with_external_schema/openapi.yaml, tests/data/protobuf/common.proto, tests/data/protobuf/complex_proto3.proto, tests/data/protobuf/edition_2023.proto, tests/data/protobuf/proto2.proto, tests/data/protobuf/proto3_optional.proto, tests/data/protobuf/public_common.proto, tests/data/protobuf/public_import.proto, tests/data/protobuf/spec_proto2.proto, tests/data/protobuf/spec_proto3.proto, tests/data/protobuf/well_known_wrappers.proto, tests/data/protobuf_collision/left.proto, tests/data/protobuf_collision/right.proto, tests/skills/datamodel-code-generator/fixtures/asyncapi.yaml, tests/skills/datamodel-code-generator/fixtures/openapi.yaml, tests/skills/datamodel-code-generator/fixtures/sample.proto, tests/skills/datamodel-code-generator/fixtures/schema.graphql
20/20MCP 服务器
40/40可运行示例 — example
所用输入
example_dirsexample
has_mcp_signal
api_schema_filestests/data/asyncapi/proto_child.proto, tests/data/graphql/additional-imports.graphql, tests/data/graphql/annotated.graphql, tests/data/graphql/casing.graphql, tests/data/graphql/collection-options.graphql, tests/data/graphql/custom-scalar-types.graphql, tests/data/graphql/default_values_required.graphql, tests/data/graphql/different-types-of-fields.graphql, tests/data/graphql/empty_list_default.graphql, tests/data/graphql/enums.graphql, tests/data/graphql/field-aliases.graphql, tests/data/graphql/field-default-enum.graphql, tests/data/graphql/github-api.graphql, tests/data/graphql/interface_mro.graphql, tests/data/graphql/multiple-aliases.graphql, tests/data/graphql/no-typename.graphql, tests/data/graphql/simple-star-wars.graphql, tests/data/graphql/split/a.graphql, tests/data/graphql/split/b.graphql, tests/data/graphql/split/c.graphql, tests/data/graphql/type_alias.graphql, tests/data/graphql/union-aliased-bug.graphql, tests/data/graphql/union-commented.graphql, tests/data/graphql/union-description-cr.graphql, tests/data/graphql/union.graphql, tests/data/graphql/union_class_name_prefix.graphql, tests/data/graphql/use-standard-collections.graphql, tests/data/graphql/use-union-operator.graphql, tests/data/malformed/bad.graphql, tests/data/openapi/all_of_with_relative_ref/openapi.yaml, tests/data/openapi/discriminator_external_mapping/openapi.yaml, tests/data/openapi/external_ref_with_transitive_local_ref/openapi.yaml, tests/data/openapi/module_class_name_collision/openapi.json, tests/data/openapi/module_class_name_collision_deep/openapi.json, tests/data/openapi/paths_external_ref/openapi.yaml, tests/data/openapi/paths_ref_with_external_schema/openapi.yaml, tests/data/openapi/referenced_path_item_mutation_guard/openapi.yaml, tests/data/openapi/serialize_as_any_module_import_alias/openapi.json, tests/data/openapi/webhooks_ref_with_external_schema/openapi.yaml, tests/data/protobuf/common.proto, tests/data/protobuf/complex_proto3.proto, tests/data/protobuf/edition_2023.proto, tests/data/protobuf/proto2.proto, tests/data/protobuf/proto3_optional.proto, tests/data/protobuf/public_common.proto, tests/data/protobuf/public_import.proto, tests/data/protobuf/spec_proto2.proto, tests/data/protobuf/spec_proto3.proto, tests/data/protobuf/well_known_wrappers.proto, tests/data/protobuf_collision/left.proto, tests/data/protobuf_collision/right.proto, tests/skills/datamodel-code-generator/fixtures/asyncapi.yaml, tests/skills/datamodel-code-generator/fixtures/openapi.yaml, tests/skills/datamodel-code-generator/fixtures/sample.proto, tests/skills/datamodel-code-generator/fixtures/schema.graphql

关键数据

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

数据采集警告

  • deps.dev does not index pypi:datamodel-code-generator@0.69.0; advisories assessed against the repository dependency graph instead

更多细节

OpenSSF Scorecard 6.2 / 10
6.2综合

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

10Binary-Artifactsno binaries found in the repo
1Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 3/25 approved changesets -- score normalized to 1
10Contributorsproject has 11 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
8Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 8
10SASTSAST tool is run on all commits
10Security-Policysecurity policy file detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities37 existing vulnerabilities detected
直接依赖 10
注册表软件包版本约束清单文件
PyPIargcomplete>=2.10.1,<4pyproject.toml
PyPIblack>=19.10b0pyproject.toml
PyPIgenson>=1.2.1,<2pyproject.toml
PyPIinflect>=4.1,<8pyproject.toml
PyPIisort>=4.3.21,<9pyproject.toml
PyPIjinja2>=2.10.1,<4pyproject.toml
PyPIpydantic>=2,<3pyproject.toml
PyPIpydantic>=2.12,<3pyproject.toml
PyPIpyyaml>=6.0.1pyproject.toml
PyPItomli>=2.2.1,<3pyproject.toml
全部依赖 135

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

注册表软件包版本关系
PyPIargcomplete3.6.3直接
PyPIblack22.1.0直接
PyPIblack23.12.0直接
PyPIblack24.1.0直接
PyPIblack26.1a1直接
PyPIgenson1.3.0直接
PyPIinflect7.5.0直接
PyPIisort5.13.2直接
PyPIisort6.1.0直接
PyPIisort7.0.0直接
PyPIisort8.0.1直接
PyPIjinja23.1.6直接
PyPIpydantic2.12.5直接
PyPIpyyaml6.0.3直接
PyPItomli2.4.1直接
PyPIaiohappyeyeballs2.6.1间接
PyPIaiohttp3.13.3间接
PyPIaiosignal1.4.0间接
PyPIannotated-types0.7.0间接
PyPIanyio4.12.0间接
PyPIasttokens3.0.1间接
PyPIasync-timeout5.0.1间接
PyPIattrs25.4.0间接
PyPIbackports-tarfile1.2.0间接
PyPIcertifi2026.1.4间接
PyPIcffi2.0.0间接
PyPIchardet5.2.0间接
PyPIcharset-normalizer3.4.4间接
PyPIcheck-wheel-contents0.6.3间接
PyPIclick8.3.1间接
PyPIcolorama0.4.6间接
PyPIcovdefaults2.3.0间接
PyPIcoverage7.13.1间接
PyPIcryptography46.0.5间接
PyPIdeepmerge2.0间接
PyPIdiff-cover10.1.0间接
PyPIdnspython2.8.0间接
PyPIdocutils0.22.4间接
PyPIemail-validator2.3.0间接
PyPIexceptiongroup1.3.1间接
PyPIexecnet2.1.2间接
PyPIexecuting2.2.1间接
PyPIfrozenlist1.8.0间接
PyPIgraphql-core3.2.7间接
PyPIgrpcio1.80.0间接
PyPIgrpcio-tools1.80.0间接
PyPIh110.16.0间接
PyPIhttpcore1.0.9间接
PyPIhttpx0.28.1间接
PyPIhypothesis6.152.9间接
PyPIhypothesis-jsonschema0.23.1间接
PyPIid1.5.0间接
PyPIidna3.11间接
PyPIimportlib-metadata8.7.1间接
PyPIiniconfig2.3.0间接
PyPIinline-snapshot0.34.2间接
PyPIjaraco-classes3.4.0间接
PyPIjaraco-context6.0.2间接
PyPIjaraco-functools4.4.0间接
PyPIjeepney0.9.0间接
PyPIjsonschema4.25.1间接
PyPIjsonschema-path0.3.4间接
PyPIjsonschema-specifications2025.9.1间接
PyPIkeyring25.7.0间接
PyPIlazy-object-proxy1.12.0间接
PyPImarkdown3.10间接
PyPImarkdown-it-py4.0.0间接
PyPImarkupsafe3.0.3间接
PyPImdurl0.1.2间接
PyPImore-itertools10.8.0间接
PyPImsgspec0.20.0间接
PyPImultidict6.7.0间接
PyPImypy-extensions1.1.0间接
PyPInh30.3.2间接
PyPIopenapi-schema-validator0.6.3间接
PyPIopenapi-spec-validator0.7.2间接
PyPIpackaging25.0间接
PyPIpathable0.4.4间接
PyPIpathspec0.12.1间接
PyPIplatformdirs4.5.1间接
PyPIpluggy1.6.0间接
PyPIprance25.4.8.0间接
PyPIprek0.2.25间接
PyPIpropcache0.4.1间接
PyPIprotobuf6.33.6间接
PyPIpy-cpuinfo9.0.0间接
PyPIpycparser2.23间接
PyPIpydantic-core2.41.5间接
PyPIpygments2.20.0间接
PyPIpymdown-extensions10.21.3间接
PyPIpysnooper1.2.3间接
PyPIpytest9.0.2间接
PyPIpytest-benchmark5.2.3间接
PyPIpytest-codspeed4.2.0间接
PyPIpytest-cov7.0.0间接
PyPIpytest-mock3.15.1间接
PyPIpytest-timeout2.4.0间接
PyPIpytest-xdist3.8.0间接
PyPIpytokens0.3.0间接
PyPIpywin32-ctypes0.2.3间接
PyPIreadme-renderer44.0间接
PyPIreferencing0.36.2间接
PyPIrequests2.32.5间接
PyPIrequests-toolbelt1.0.0间接
PyPIrfc3339-validator0.1.4间接
PyPIrfc39862.0.0间接
PyPIrich14.2.0间接
PyPIrpds-py0.30.0间接
PyPIruamel-yaml0.19.1间接
PyPIruff0.14.10间接
PyPIryaml0.5.1间接
PyPIsecretstorage3.5.0间接
PyPIsetuptools82.0.1间接
PyPIsix1.17.0间接
PyPIsortedcontainers2.4.0间接
PyPIt-linter0.8.0间接
PyPItdom0.1.16间接
PyPItime-machine3.2.0间接
PyPItwine6.2.0间接
PyPIty0.0.9间接
PyPItypeguard4.4.4间接
PyPItypes-jinja22.11.9间接
PyPItypes-markupsafe1.1.10间接
PyPItypes-pyyaml6.0.12.20250915间接
PyPItypes-setuptools69.5.0.20240522间接
PyPItypes-toml0.10.8.20240310间接
PyPItyping-extensions4.15.0间接
PyPItyping-inspection0.4.2间接
PyPIurllib32.6.3间接
PyPIuv0.9.21间接
PyPIwatchfiles1.1.1间接
PyPIwheel-filename1.4.2间接
PyPIyarl1.22.0间接
PyPIzensical0.0.43间接
PyPIzipp3.23.0间接
依赖安全公告 14

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 135 个包,其中也包含从不交付的开发与测试版本固定:14 个存在已知公告,4 个为直接依赖。

软件包版本关系严重程度公告数修复版本
black22.1.0直接严重526.3.1
black23.12.0直接严重526.3.1
black24.1.0直接严重526.3.1
black26.1a1直接严重326.3.1
aiohttp3.13.3间接严重423.14.1
cryptography46.0.5间接严重548.0.1
click8.3.1间接18.3.3
jaraco-context6.0.2间接26.1.0
urllib32.6.3间接42.7.0
idna3.11间接23.15
pytest9.0.2间接29.0.3
requests2.32.5间接22.33.0
setuptools82.0.1间接183.0.0
uv0.9.21间接20.11.15

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

原始 JSON 报告 机器可读
{
  "data": {
    "repo": {
      "topics": [
        "openapi",
        "code-generator",
        "python",
        "pydantic",
        "generator",
        "fastapi",
        "json-schema",
        "datamodel",
        "swagger",
        "yaml",
        "csv",
        "openapi-codegen",
        "swagger-codegen",
        "dataclass",
        "graphql",
        "msgspec",
        "typeddict"
      ],
      "is_fork": false,
      "size_kb": 14710,
      "has_wiki": true,
      "homepage": "https://datamodel-code-generator.koxudaxi.dev/",
      "languages": {
        "HTML": 4976,
        "Jinja": 31860,
        "Shell": 3646,
        "Python": 5937925,
        "Dockerfile": 1210
      },
      "pushed_at": "2026-07-20T17:53:01Z",
      "created_at": "2019-05-29T08:01:32Z",
      "owner_type": "User",
      "updated_at": "2026-07-19T19:19:15Z",
      "description": "Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV.",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": "MIT",
      "default_branch": "main",
      "license_spdx_raw": "MIT",
      "primary_language": "Python",
      "significant_languages": [
        "Python"
      ]
    },
    "owner": {
      "blog": "https://koxudaxi.dev/",
      "name": "Koudai Aono",
      "type": "User",
      "login": "koxudaxi",
      "company": null,
      "location": "Tokyo, Japan",
      "followers": 566,
      "avatar_url": "https://avatars.githubusercontent.com/u/630670?v=4",
      "created_at": "2011-02-21T20:40:46Z",
      "is_verified": null,
      "public_repos": 83,
      "account_age_days": 5627
    },
    "license": {
      "state": "standard",
      "spdx_id": "MIT",
      "raw_spdx": "MIT",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases_count": 100,
      "commits_last_year": 914,
      "latest_release_at": "2026-07-19T19:28:26Z",
      "latest_release_tag": "0.69.0",
      "releases_from_tags": false,
      "days_since_last_push": 0,
      "active_weeks_last_year": 48,
      "days_since_latest_release": 0,
      "mean_days_between_releases": 3.1
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "has_description": true,
      "has_contributing": false,
      "health_percentage": 85,
      "has_issue_template": false,
      "has_code_of_conduct": true,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": [
        {
          "name": "datamodel-code-generator",
          "exists": true,
          "license": "MIT",
          "keywords": [
            "Development Status :: 4 - Beta",
            "License :: OSI Approved :: MIT License",
            "Natural Language :: English",
            "Programming Language :: Python :: 3 :: Only",
            "Programming Language :: Python :: 3.10",
            "Programming Language :: Python :: 3.11",
            "Programming Language :: Python :: 3.12",
            "Programming Language :: Python :: 3.13",
            "Programming Language :: Python :: 3.14",
            "Programming Language :: Python :: Implementation :: CPython"
          ],
          "ecosystem": "pypi",
          "matches_repo": true,
          "registry_url": "https://pypi.org/project/datamodel-code-generator/",
          "is_deprecated": false,
          "latest_version": "0.69.0",
          "repository_url": "https://github.com/koxudaxi/datamodel-code-generator",
          "versions_count": 266,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": null,
          "first_published_at": "2019-07-23T12:29:30.354607Z",
          "latest_published_at": "2026-07-19T19:30:41.998170Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 0
        }
      ]
    },
    "popularity": {
      "forks": 450,
      "stars": 3972,
      "watchers": 24,
      "open_issues_and_prs": 26
    },
    "ai_readiness": {
      "has_nix": false,
      "example_dirs": [
        "example"
      ],
      "has_llms_txt": true,
      "has_dockerfile": true,
      "has_mcp_signal": true,
      "bootstrap_files": [],
      "api_schema_files": [
        "tests/data/asyncapi/proto_child.proto",
        "tests/data/graphql/additional-imports.graphql",
        "tests/data/graphql/annotated.graphql",
        "tests/data/graphql/casing.graphql",
        "tests/data/graphql/collection-options.graphql",
        "tests/data/graphql/custom-scalar-types.graphql",
        "tests/data/graphql/default_values_required.graphql",
        "tests/data/graphql/different-types-of-fields.graphql",
        "tests/data/graphql/empty_list_default.graphql",
        "tests/data/graphql/enums.graphql",
        "tests/data/graphql/field-aliases.graphql",
        "tests/data/graphql/field-default-enum.graphql",
        "tests/data/graphql/github-api.graphql",
        "tests/data/graphql/interface_mro.graphql",
        "tests/data/graphql/multiple-aliases.graphql",
        "tests/data/graphql/no-typename.graphql",
        "tests/data/graphql/simple-star-wars.graphql",
        "tests/data/graphql/split/a.graphql",
        "tests/data/graphql/split/b.graphql",
        "tests/data/graphql/split/c.graphql",
        "tests/data/graphql/type_alias.graphql",
        "tests/data/graphql/union-aliased-bug.graphql",
        "tests/data/graphql/union-commented.graphql",
        "tests/data/graphql/union-description-cr.graphql",
        "tests/data/graphql/union.graphql",
        "tests/data/graphql/union_class_name_prefix.graphql",
        "tests/data/graphql/use-standard-collections.graphql",
        "tests/data/graphql/use-union-operator.graphql",
        "tests/data/malformed/bad.graphql",
        "tests/data/openapi/all_of_with_relative_ref/openapi.yaml",
        "tests/data/openapi/discriminator_external_mapping/openapi.yaml",
        "tests/data/openapi/external_ref_with_transitive_local_ref/openapi.yaml",
        "tests/data/openapi/module_class_name_collision/openapi.json",
        "tests/data/openapi/module_class_name_collision_deep/openapi.json",
        "tests/data/openapi/paths_external_ref/openapi.yaml",
        "tests/data/openapi/paths_ref_with_external_schema/openapi.yaml",
        "tests/data/openapi/referenced_path_item_mutation_guard/openapi.yaml",
        "tests/data/openapi/serialize_as_any_module_import_alias/openapi.json",
        "tests/data/openapi/webhooks_ref_with_external_schema/openapi.yaml",
        "tests/data/protobuf/common.proto",
        "tests/data/protobuf/complex_proto3.proto",
        "tests/data/protobuf/edition_2023.proto",
        "tests/data/protobuf/proto2.proto",
        "tests/data/protobuf/proto3_optional.proto",
        "tests/data/protobuf/public_common.proto",
        "tests/data/protobuf/public_import.proto",
        "tests/data/protobuf/spec_proto2.proto",
        "tests/data/protobuf/spec_proto3.proto",
        "tests/data/protobuf/well_known_wrappers.proto",
        "tests/data/protobuf_collision/left.proto",
        "tests/data/protobuf_collision/right.proto",
        "tests/skills/datamodel-code-generator/fixtures/asyncapi.yaml",
        "tests/skills/datamodel-code-generator/fixtures/openapi.yaml",
        "tests/skills/datamodel-code-generator/fixtures/sample.proto",
        "tests/skills/datamodel-code-generator/fixtures/schema.graphql"
      ],
      "has_devcontainer": false,
      "typecheck_configs": [
        "src/datamodel_code_generator/py.typed"
      ],
      "largest_source_bytes": 561311,
      "source_files_sampled": 2460,
      "oversized_source_files": 17,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "pyproject.toml"
      ],
      "advisories": {
        "error": null,
        "scope": "repository_graph",
        "source": "osv",
        "findings": [
          {
            "name": "black",
            "direct": true,
            "version": "22.1.0",
            "severity": "critical",
            "ecosystem": "pypi",
            "cvss_score": 9.8,
            "advisory_ids": [
              "GHSA-3936-cmfr-pm3m",
              "GHSA-fj7x-q9j7-g6q6",
              "PYSEC-2024-48",
              "PYSEC-2026-2120",
              "PYSEC-2026-2121"
            ],
            "fixed_version": "26.3.1",
            "advisory_count": 5,
            "oldest_advisory_days": 853
          },
          {
            "name": "black",
            "direct": true,
            "version": "23.12.0",
            "severity": "critical",
            "ecosystem": "pypi",
            "cvss_score": 9.8,
            "advisory_ids": [
              "GHSA-3936-cmfr-pm3m",
              "GHSA-fj7x-q9j7-g6q6",
              "PYSEC-2024-48",
              "PYSEC-2026-2120",
              "PYSEC-2026-2121"
            ],
            "fixed_version": "26.3.1",
            "advisory_count": 5,
            "oldest_advisory_days": 853
          },
          {
            "name": "black",
            "direct": true,
            "version": "24.1.0",
            "severity": "critical",
            "ecosystem": "pypi",
            "cvss_score": 9.8,
            "advisory_ids": [
              "GHSA-3936-cmfr-pm3m",
              "GHSA-fj7x-q9j7-g6q6",
              "PYSEC-2024-48",
              "PYSEC-2026-2120",
              "PYSEC-2026-2121"
            ],
            "fixed_version": "26.3.1",
            "advisory_count": 5,
            "oldest_advisory_days": 853
          },
          {
            "name": "black",
            "direct": true,
            "version": "26.1a1",
            "severity": "critical",
            "ecosystem": "pypi",
            "cvss_score": 9.8,
            "advisory_ids": [
              "GHSA-3936-cmfr-pm3m",
              "PYSEC-2026-2120",
              "PYSEC-2026-2121"
            ],
            "fixed_version": "26.3.1",
            "advisory_count": 3,
            "oldest_advisory_days": 130
          },
          {
            "name": "aiohttp",
            "direct": false,
            "version": "3.13.3",
            "severity": "critical",
            "ecosystem": "pypi",
            "cvss_score": 9.1,
            "advisory_ids": [
              "GHSA-2fqr-mr3j-6wp8",
              "GHSA-2vrm-gr82-f7m5",
              "GHSA-3wq7-rqq7-wx6j",
              "GHSA-4fvr-rgm6-gqmc",
              "GHSA-4m7w-qmgq-4wj5",
              "GHSA-63hf-3vf5-4wqf",
              "GHSA-63hw-fmq6-xxg2",
              "GHSA-966j-vmvw-g2g9",
              "GHSA-9x8q-7h8h-wcw9",
              "GHSA-c427-h43c-vf67"
            ],
            "fixed_version": "3.14.1",
            "advisory_count": 42,
            "oldest_advisory_days": 109
          },
          {
            "name": "cryptography",
            "direct": false,
            "version": "46.0.5",
            "severity": "critical",
            "ecosystem": "pypi",
            "cvss_score": 9.8,
            "advisory_ids": [
              "GHSA-537c-gmf6-5ccf",
              "GHSA-m959-cc7f-wv43",
              "GHSA-p423-j2cm-9vmq",
              "PYSEC-2026-35",
              "PYSEC-2026-36"
            ],
            "fixed_version": "48.0.1",
            "advisory_count": 5,
            "oldest_advisory_days": 114
          },
          {
            "name": "click",
            "direct": false,
            "version": "8.3.1",
            "severity": "high",
            "ecosystem": "pypi",
            "cvss_score": 7.2,
            "advisory_ids": [
              "PYSEC-2026-2132"
            ],
            "fixed_version": "8.3.3",
            "advisory_count": 1,
            "oldest_advisory_days": 81
          },
          {
            "name": "jaraco-context",
            "direct": false,
            "version": "6.0.2",
            "severity": "high",
            "ecosystem": "pypi",
            "cvss_score": 8.6,
            "advisory_ids": [
              "GHSA-58pv-8j8x-9vj2",
              "PYSEC-2026-1469"
            ],
            "fixed_version": "6.1.0",
            "advisory_count": 2,
            "oldest_advisory_days": 187
          },
          {
            "name": "urllib3",
            "direct": false,
            "version": "2.6.3",
            "severity": "high",
            "ecosystem": "pypi",
            "cvss_score": 7.5,
            "advisory_ids": [
              "GHSA-mf9v-mfxr-j63j",
              "GHSA-qccp-gfcp-xxvc",
              "PYSEC-2026-141",
              "PYSEC-2026-142"
            ],
            "fixed_version": "2.7.0",
            "advisory_count": 4,
            "oldest_advisory_days": 70
          },
          {
            "name": "idna",
            "direct": false,
            "version": "3.11",
            "severity": "moderate",
            "ecosystem": "pypi",
            "cvss_score": 5.3,
            "advisory_ids": [
              "GHSA-65pc-fj4g-8rjx",
              "PYSEC-2026-215"
            ],
            "fixed_version": "3.15",
            "advisory_count": 2,
            "oldest_advisory_days": 62
          },
          {
            "name": "pytest",
            "direct": false,
            "version": "9.0.2",
            "severity": "moderate",
            "ecosystem": "pypi",
            "cvss_score": 6.8,
            "advisory_ids": [
              "GHSA-6w46-j5rx-g56g",
              "PYSEC-2026-1845"
            ],
            "fixed_version": "9.0.3",
            "advisory_count": 2,
            "oldest_advisory_days": 179
          },
          {
            "name": "requests",
            "direct": false,
            "version": "2.32.5",
            "severity": "moderate",
            "ecosystem": "pypi",
            "cvss_score": 5.5,
            "advisory_ids": [
              "GHSA-gc5v-m9x4-r6x2",
              "PYSEC-2026-2275"
            ],
            "fixed_version": "2.33.0",
            "advisory_count": 2,
            "oldest_advisory_days": 117
          },
          {
            "name": "setuptools",
            "direct": false,
            "version": "82.0.1",
            "severity": "moderate",
            "ecosystem": "pypi",
            "cvss_score": 6.1,
            "advisory_ids": [
              "PYSEC-2026-3447"
            ],
            "fixed_version": "83.0.0",
            "advisory_count": 1,
            "oldest_advisory_days": 12
          },
          {
            "name": "uv",
            "direct": false,
            "version": "0.9.21",
            "severity": "moderate",
            "ecosystem": "pypi",
            "cvss_score": null,
            "advisory_ids": [
              "GHSA-4gg8-gxpx-9rph",
              "GHSA-pjjw-68hj-v9mw"
            ],
            "fixed_version": "0.11.15",
            "advisory_count": 2,
            "oldest_advisory_days": 100
          }
        ],
        "collected": true,
        "truncated": false,
        "by_severity": {
          "high": 3,
          "critical": 6,
          "moderate": 5
        },
        "advisory_count": 81,
        "affected_count": 14,
        "assessed_count": 135,
        "assessed_package": null,
        "unassessed_count": 0,
        "direct_affected_count": 4
      },
      "ecosystems": [
        "pypi"
      ],
      "dependencies": [
        {
          "name": "argcomplete",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=2.10.1,<4"
        },
        {
          "name": "black",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=19.10b0"
        },
        {
          "name": "genson",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=1.2.1,<2"
        },
        {
          "name": "inflect",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=4.1,<8"
        },
        {
          "name": "isort",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=4.3.21,<9"
        },
        {
          "name": "jinja2",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=2.10.1,<4"
        },
        {
          "name": "pydantic",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=2,<3"
        },
        {
          "name": "pydantic",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=2.12,<3"
        },
        {
          "name": "pyyaml",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=6.0.1"
        },
        {
          "name": "tomli",
          "manifest": "pyproject.toml",
          "ecosystem": "pypi",
          "version_constraint": ">=2.2.1,<3"
        }
      ],
      "all_dependencies": {
        "error": null,
        "source": "github-sbom",
        "packages": [
          {
            "name": "argcomplete",
            "direct": true,
            "version": "3.6.3",
            "ecosystem": "pypi"
          },
          {
            "name": "black",
            "direct": true,
            "version": "22.1.0",
            "ecosystem": "pypi"
          },
          {
            "name": "black",
            "direct": true,
            "version": "23.12.0",
            "ecosystem": "pypi"
          },
          {
            "name": "black",
            "direct": true,
            "version": "24.1.0",
            "ecosystem": "pypi"
          },
          {
            "name": "black",
            "direct": true,
            "version": "26.1a1",
            "ecosystem": "pypi"
          },
          {
            "name": "genson",
            "direct": true,
            "version": "1.3.0",
            "ecosystem": "pypi"
          },
          {
            "name": "inflect",
            "direct": true,
            "version": "7.5.0",
            "ecosystem": "pypi"
          },
          {
            "name": "isort",
            "direct": true,
            "version": "5.13.2",
            "ecosystem": "pypi"
          },
          {
            "name": "isort",
            "direct": true,
            "version": "6.1.0",
            "ecosystem": "pypi"
          },
          {
            "name": "isort",
            "direct": true,
            "version": "7.0.0",
            "ecosystem": "pypi"
          },
          {
            "name": "isort",
            "direct": true,
            "version": "8.0.1",
            "ecosystem": "pypi"
          },
          {
            "name": "jinja2",
            "direct": true,
            "version": "3.1.6",
            "ecosystem": "pypi"
          },
          {
            "name": "pydantic",
            "direct": true,
            "version": "2.12.5",
            "ecosystem": "pypi"
          },
          {
            "name": "pyyaml",
            "direct": true,
            "version": "6.0.3",
            "ecosystem": "pypi"
          },
          {
            "name": "tomli",
            "direct": true,
            "version": "2.4.1",
            "ecosystem": "pypi"
          },
          {
            "name": "aiohappyeyeballs",
            "direct": false,
            "version": "2.6.1",
            "ecosystem": "pypi"
          },
          {
            "name": "aiohttp",
            "direct": false,
            "version": "3.13.3",
            "ecosystem": "pypi"
          },
          {
            "name": "aiosignal",
            "direct": false,
            "version": "1.4.0",
            "ecosystem": "pypi"
          },
          {
            "name": "annotated-types",
            "direct": false,
            "version": "0.7.0",
            "ecosystem": "pypi"
          },
          {
            "name": "anyio",
            "direct": false,
            "version": "4.12.0",
            "ecosystem": "pypi"
          },
          {
            "name": "asttokens",
            "direct": false,
            "version": "3.0.1",
            "ecosystem": "pypi"
          },
          {
            "name": "async-timeout",
            "direct": false,
            "version": "5.0.1",
            "ecosystem": "pypi"
          },
          {
            "name": "attrs",
            "direct": false,
            "version": "25.4.0",
            "ecosystem": "pypi"
          },
          {
            "name": "backports-tarfile",
            "direct": false,
            "version": "1.2.0",
            "ecosystem": "pypi"
          },
          {
            "name": "certifi",
            "direct": false,
            "version": "2026.1.4",
            "ecosystem": "pypi"
          },
          {
            "name": "cffi",
            "direct": false,
            "version": "2.0.0",
            "ecosystem": "pypi"
          },
          {
            "name": "chardet",
            "direct": false,
            "version": "5.2.0",
            "ecosystem": "pypi"
          },
          {
            "name": "charset-normalizer",
            "direct": false,
            "version": "3.4.4",
            "ecosystem": "pypi"
          },
          {
            "name": "check-wheel-contents",
            "direct": false,
            "version": "0.6.3",
            "ecosystem": "pypi"
          },
          {
            "name": "click",
            "direct": false,
            "version": "8.3.1",
            "ecosystem": "pypi"
          },
          {
            "name": "colorama",
            "direct": false,
            "version": "0.4.6",
            "ecosystem": "pypi"
          },
          {
            "name": "covdefaults",
            "direct": false,
            "version": "2.3.0",
            "ecosystem": "pypi"
          },
          {
            "name": "coverage",
            "direct": false,
            "version": "7.13.1",
            "ecosystem": "pypi"
          },
          {
            "name": "cryptography",
            "direct": false,
            "version": "46.0.5",
            "ecosystem": "pypi"
          },
          {
            "name": "deepmerge",
            "direct": false,
            "version": "2.0",
            "ecosystem": "pypi"
          },
          {
            "name": "diff-cover",
            "direct": false,
            "version": "10.1.0",
            "ecosystem": "pypi"
          },
          {
            "name": "dnspython",
            "direct": false,
            "version": "2.8.0",
            "ecosystem": "pypi"
          },
          {
            "name": "docutils",
            "direct": false,
            "version": "0.22.4",
            "ecosystem": "pypi"
          },
          {
            "name": "email-validator",
            "direct": false,
            "version": "2.3.0",
            "ecosystem": "pypi"
          },
          {
            "name": "exceptiongroup",
            "direct": false,
            "version": "1.3.1",
            "ecosystem": "pypi"
          },
          {
            "name": "execnet",
            "direct": false,
            "version": "2.1.2",
            "ecosystem": "pypi"
          },
          {
            "name": "executing",
            "direct": false,
            "version": "2.2.1",
            "ecosystem": "pypi"
          },
          {
            "name": "frozenlist",
            "direct": false,
            "version": "1.8.0",
            "ecosystem": "pypi"
          },
          {
            "name": "graphql-core",
            "direct": false,
            "version": "3.2.7",
            "ecosystem": "pypi"
          },
          {
            "name": "grpcio",
            "direct": false,
            "version": "1.80.0",
            "ecosystem": "pypi"
          },
          {
            "name": "grpcio-tools",
            "direct": false,
            "version": "1.80.0",
            "ecosystem": "pypi"
          },
          {
            "name": "h11",
            "direct": false,
            "version": "0.16.0",
            "ecosystem": "pypi"
          },
          {
            "name": "httpcore",
            "direct": false,
            "version": "1.0.9",
            "ecosystem": "pypi"
          },
          {
            "name": "httpx",
            "direct": false,
            "version": "0.28.1",
            "ecosystem": "pypi"
          },
          {
            "name": "hypothesis",
            "direct": false,
            "version": "6.152.9",
            "ecosystem": "pypi"
          },
          {
            "name": "hypothesis-jsonschema",
            "direct": false,
            "version": "0.23.1",
            "ecosystem": "pypi"
          },
          {
            "name": "id",
            "direct": false,
            "version": "1.5.0",
            "ecosystem": "pypi"
          },
          {
            "name": "idna",
            "direct": false,
            "version": "3.11",
            "ecosystem": "pypi"
          },
          {
            "name": "importlib-metadata",
            "direct": false,
            "version": "8.7.1",
            "ecosystem": "pypi"
          },
          {
            "name": "iniconfig",
            "direct": false,
            "version": "2.3.0",
            "ecosystem": "pypi"
          },
          {
            "name": "inline-snapshot",
            "direct": false,
            "version": "0.34.2",
            "ecosystem": "pypi"
          },
          {
            "name": "jaraco-classes",
            "direct": false,
            "version": "3.4.0",
            "ecosystem": "pypi"
          },
          {
            "name": "jaraco-context",
            "direct": false,
            "version": "6.0.2",
            "ecosystem": "pypi"
          },
          {
            "name": "jaraco-functools",
            "direct": false,
            "version": "4.4.0",
            "ecosystem": "pypi"
          },
          {
            "name": "jeepney",
            "direct": false,
            "version": "0.9.0",
            "ecosystem": "pypi"
          },
          {
            "name": "jsonschema",
            "direct": false,
            "version": "4.25.1",
            "ecosystem": "pypi"
          },
          {
            "name": "jsonschema-path",
            "direct": false,
            "version": "0.3.4",
            "ecosystem": "pypi"
          },
          {
            "name": "jsonschema-specifications",
            "direct": false,
            "version": "2025.9.1",
            "ecosystem": "pypi"
          },
          {
            "name": "keyring",
            "direct": false,
            "version": "25.7.0",
            "ecosystem": "pypi"
          },
          {
            "name": "lazy-object-proxy",
            "direct": false,
            "version": "1.12.0",
            "ecosystem": "pypi"
          },
          {
            "name": "markdown",
            "direct": false,
            "version": "3.10",
            "ecosystem": "pypi"
          },
          {
            "name": "markdown-it-py",
            "direct": false,
            "version": "4.0.0",
            "ecosystem": "pypi"
          },
          {
            "name": "markupsafe",
            "direct": false,
            "version": "3.0.3",
            "ecosystem": "pypi"
          },
          {
            "name": "mdurl",
            "direct": false,
            "version": "0.1.2",
            "ecosystem": "pypi"
          },
          {
            "name": "more-itertools",
            "direct": false,
            "version": "10.8.0",
            "ecosystem": "pypi"
          },
          {
            "name": "msgspec",
            "direct": false,
            "version": "0.20.0",
            "ecosystem": "pypi"
          },
          {
            "name": "multidict",
            "direct": false,
            "version": "6.7.0",
            "ecosystem": "pypi"
          },
          {
            "name": "mypy-extensions",
            "direct": false,
            "version": "1.1.0",
            "ecosystem": "pypi"
          },
          {
            "name": "nh3",
            "direct": false,
            "version": "0.3.2",
            "ecosystem": "pypi"
          },
          {
            "name": "openapi-schema-validator",
            "direct": false,
            "version": "0.6.3",
            "ecosystem": "pypi"
          },
          {
            "name": "openapi-spec-validator",
            "direct": false,
            "version": "0.7.2",
            "ecosystem": "pypi"
          },
          {
            "name": "packaging",
            "direct": false,
            "version": "25.0",
            "ecosystem": "pypi"
          },
          {
            "name": "pathable",
            "direct": false,
            "version": "0.4.4",
            "ecosystem": "pypi"
          },
          {
            "name": "pathspec",
            "direct": false,
            "version": "0.12.1",
            "ecosystem": "pypi"
          },
          {
            "name": "platformdirs",
            "direct": false,
            "version": "4.5.1",
            "ecosystem": "pypi"
          },
          {
            "name": "pluggy",
            "direct": false,
            "version": "1.6.0",
            "ecosystem": "pypi"
          },
          {
            "name": "prance",
            "direct": false,
            "version": "25.4.8.0",
            "ecosystem": "pypi"
          },
          {
            "name": "prek",
            "direct": false,
            "version": "0.2.25",
            "ecosystem": "pypi"
          },
          {
            "name": "propcache",
            "direct": false,
            "version": "0.4.1",
            "ecosystem": "pypi"
          },
          {
            "name": "protobuf",
            "direct": false,
            "version": "6.33.6",
            "ecosystem": "pypi"
          },
          {
            "name": "py-cpuinfo",
            "direct": false,
            "version": "9.0.0",
            "ecosystem": "pypi"
          },
          {
            "name": "pycparser",
            "direct": false,
            "version": "2.23",
            "ecosystem": "pypi"
          },
          {
            "name": "pydantic-core",
            "direct": false,
            "version": "2.41.5",
            "ecosystem": "pypi"
          },
          {
            "name": "pygments",
            "direct": false,
            "version": "2.20.0",
            "ecosystem": "pypi"
          },
          {
            "name": "pymdown-extensions",
            "direct": false,
            "version": "10.21.3",
            "ecosystem": "pypi"
          },
          {
            "name": "pysnooper",
            "direct": false,
            "version": "1.2.3",
            "ecosystem": "pypi"
          },
          {
            "name": "pytest",
            "direct": false,
            "version": "9.0.2",
            "ecosystem": "pypi"
          },
          {
            "name": "pytest-benchmark",
            "direct": false,
            "version": "5.2.3",
            "ecosystem": "pypi"
          },
          {
            "name": "pytest-codspeed",
            "direct": false,
            "version": "4.2.0",
            "ecosystem": "pypi"
          },
          {
            "name": "pytest-cov",
            "direct": false,
            "version": "7.0.0",
            "ecosystem": "pypi"
          },
          {
            "name": "pytest-mock",
            "direct": false,
            "version": "3.15.1",
            "ecosystem": "pypi"
          },
          {
            "name": "pytest-timeout",
            "direct": false,
            "version": "2.4.0",
            "ecosystem": "pypi"
          },
          {
            "name": "pytest-xdist",
            "direct": false,
            "version": "3.8.0",
            "ecosystem": "pypi"
          },
          {
            "name": "pytokens",
            "direct": false,
            "version": "0.3.0",
            "ecosystem": "pypi"
          },
          {
            "name": "pywin32-ctypes",
            "direct": false,
            "version": "0.2.3",
            "ecosystem": "pypi"
          },
          {
            "name": "readme-renderer",
            "direct": false,
            "version": "44.0",
            "ecosystem": "pypi"
          },
          {
            "name": "referencing",
            "direct": false,
            "version": "0.36.2",
            "ecosystem": "pypi"
          },
          {
            "name": "requests",
            "direct": false,
            "version": "2.32.5",
            "ecosystem": "pypi"
          },
          {
            "name": "requests-toolbelt",
            "direct": false,
            "version": "1.0.0",
            "ecosystem": "pypi"
          },
          {
            "name": "rfc3339-validator",
            "direct": false,
            "version": "0.1.4",
            "ecosystem": "pypi"
          },
          {
            "name": "rfc3986",
            "direct": false,
            "version": "2.0.0",
            "ecosystem": "pypi"
          },
          {
            "name": "rich",
            "direct": false,
            "version": "14.2.0",
            "ecosystem": "pypi"
          },
          {
            "name": "rpds-py",
            "direct": false,
            "version": "0.30.0",
            "ecosystem": "pypi"
          },
          {
            "name": "ruamel-yaml",
            "direct": false,
            "version": "0.19.1",
            "ecosystem": "pypi"
          },
          {
            "name": "ruff",
            "direct": false,
            "version": "0.14.10",
            "ecosystem": "pypi"
          },
          {
            "name": "ryaml",
            "direct": false,
            "version": "0.5.1",
            "ecosystem": "pypi"
          },
          {
            "name": "secretstorage",
            "direct": false,
            "version": "3.5.0",
            "ecosystem": "pypi"
          },
          {
            "name": "setuptools",
            "direct": false,
            "version": "82.0.1",
            "ecosystem": "pypi"
          },
          {
            "name": "six",
            "direct": false,
            "version": "1.17.0",
            "ecosystem": "pypi"
          },
          {
            "name": "sortedcontainers",
            "direct": false,
            "version": "2.4.0",
            "ecosystem": "pypi"
          },
          {
            "name": "t-linter",
            "direct": false,
            "version": "0.8.0",
            "ecosystem": "pypi"
          },
          {
            "name": "tdom",
            "direct": false,
            "version": "0.1.16",
            "ecosystem": "pypi"
          },
          {
            "name": "time-machine",
            "direct": false,
            "version": "3.2.0",
            "ecosystem": "pypi"
          },
          {
            "name": "twine",
            "direct": false,
            "version": "6.2.0",
            "ecosystem": "pypi"
          },
          {
            "name": "ty",
            "direct": false,
            "version": "0.0.9",
            "ecosystem": "pypi"
          },
          {
            "name": "typeguard",
            "direct": false,
            "version": "4.4.4",
            "ecosystem": "pypi"
          },
          {
            "name": "types-jinja2",
            "direct": false,
            "version": "2.11.9",
            "ecosystem": "pypi"
          },
          {
            "name": "types-markupsafe",
            "direct": false,
            "version": "1.1.10",
            "ecosystem": "pypi"
          },
          {
            "name": "types-pyyaml",
            "direct": false,
            "version": "6.0.12.20250915",
            "ecosystem": "pypi"
          },
          {
            "name": "types-setuptools",
            "direct": false,
            "version": "69.5.0.20240522",
            "ecosystem": "pypi"
          },
          {
            "name": "types-toml",
            "direct": false,
            "version": "0.10.8.20240310",
            "ecosystem": "pypi"
          },
          {
            "name": "typing-extensions",
            "direct": false,
            "version": "4.15.0",
            "ecosystem": "pypi"
          },
          {
            "name": "typing-inspection",
            "direct": false,
            "version": "0.4.2",
            "ecosystem": "pypi"
          },
          {
            "name": "urllib3",
            "direct": false,
            "version": "2.6.3",
            "ecosystem": "pypi"
          },
          {
            "name": "uv",
            "direct": false,
            "version": "0.9.21",
            "ecosystem": "pypi"
          },
          {
            "name": "watchfiles",
            "direct": false,
            "version": "1.1.1",
            "ecosystem": "pypi"
          },
          {
            "name": "wheel-filename",
            "direct": false,
            "version": "1.4.2",
            "ecosystem": "pypi"
          },
          {
            "name": "yarl",
            "direct": false,
            "version": "1.22.0",
            "ecosystem": "pypi"
          },
          {
            "name": "zensical",
            "direct": false,
            "version": "0.0.43",
            "ecosystem": "pypi"
          },
          {
            "name": "zipp",
            "direct": false,
            "version": "3.23.0",
            "ecosystem": "pypi"
          }
        ],
        "collected": true,
        "truncated": false,
        "total_count": 135,
        "direct_count": 15,
        "indirect_count": 120
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 8,
        "merged_prs": 2113,
        "open_issues": 18,
        "closed_ratio": 0.979,
        "closed_issues": 829,
        "closed_unmerged_prs": 584
      },
      "bus_factor": 1,
      "top_contributors": [
        {
          "type": "User",
          "login": "koxudaxi",
          "commits": 1250,
          "avatar_url": "https://avatars.githubusercontent.com/u/630670?v=4"
        },
        {
          "type": "Bot",
          "login": "dependabot[bot]",
          "commits": 438,
          "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4"
        },
        {
          "type": "Bot",
          "login": "pre-commit-ci[bot]",
          "commits": 83,
          "avatar_url": "https://avatars.githubusercontent.com/in/68672?v=4"
        },
        {
          "type": "Bot",
          "login": "dcg-generated-docs[bot]",
          "commits": 57,
          "avatar_url": "https://avatars.githubusercontent.com/u/630670?v=4"
        },
        {
          "type": "Bot",
          "login": "github-actions[bot]",
          "commits": 27,
          "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4"
        },
        {
          "type": "User",
          "login": "joshbode",
          "commits": 23,
          "avatar_url": "https://avatars.githubusercontent.com/u/878107?v=4"
        },
        {
          "type": "User",
          "login": "ilovelinux",
          "commits": 18,
          "avatar_url": "https://avatars.githubusercontent.com/u/9268789?v=4"
        },
        {
          "type": "User",
          "login": "gaborbernat",
          "commits": 14,
          "avatar_url": "https://avatars.githubusercontent.com/u/690238?v=4"
        },
        {
          "type": "User",
          "login": "butvinm",
          "commits": 8,
          "avatar_url": "https://avatars.githubusercontent.com/u/69919896?v=4"
        },
        {
          "type": "User",
          "login": "denisart",
          "commits": 8,
          "avatar_url": "https://avatars.githubusercontent.com/u/30257560?v=4"
        }
      ],
      "contributors_sampled": 100,
      "top_contributor_share": 0.6
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "action-smoke.yaml",
        "changelog.yaml",
        "cli-docs.yaml",
        "codeql.yaml",
        "codespell.yaml",
        "codspeed.yaml",
        "config-types.yaml",
        "docker.yaml",
        "docs-deploy.yaml",
        "docs.yaml",
        "generated-docs-sync.yaml",
        "lint.yaml",
        "llms-txt.yaml",
        "payload-runtime-compatibility.yaml",
        "playground-lint.yaml",
        "publish.yaml",
        "readme.yaml",
        "release-benchmarks.yaml",
        "release-draft.yaml",
        "release-notify.yaml",
        "schema-docs.yaml",
        "test.yaml"
      ],
      "has_docs_dir": true,
      "linter_configs": [
        "tox.ini"
      ],
      "has_editorconfig": false,
      "has_linter_config": true,
      "has_precommit_config": true
    },
    "security_signals": {
      "lockfiles": [
        "uv.lock"
      ],
      "scorecard": {
        "checks": [
          {
            "name": "Binary-Artifacts",
            "score": 10,
            "reason": "no binaries found in the repo",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
          },
          {
            "name": "Branch-Protection",
            "score": 1,
            "reason": "branch protection is not maximal on development and all release branches",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": 10,
            "reason": "30 out of 30 merged PRs checked by a CI test -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
          },
          {
            "name": "CII-Best-Practices",
            "score": 0,
            "reason": "no effort to earn an OpenSSF best practices badge detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
          },
          {
            "name": "Code-Review",
            "score": 1,
            "reason": "Found 3/25 approved changesets -- score normalized to 1",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 11 contributing companies or organizations",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
          },
          {
            "name": "Dangerous-Workflow",
            "score": 10,
            "reason": "no dangerous workflow patterns detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
          },
          {
            "name": "Dependency-Update-Tool",
            "score": 10,
            "reason": "update tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
          },
          {
            "name": "Fuzzing",
            "score": 0,
            "reason": "project is not fuzzed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
          },
          {
            "name": "License",
            "score": 10,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 10,
            "reason": "30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": 10,
            "reason": "packaging workflow detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": 8,
            "reason": "dependency not pinned by hash detected -- score normalized to 8",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 10,
            "reason": "SAST tool is run on all commits",
            "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": 0,
            "reason": "37 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "af435d9893d1352924a2f011a2eb04a997d8b978",
        "ran_at": "2026-07-20T18:36:32Z",
        "aggregate_score": 6.2,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": true,
      "has_security_policy": true,
      "has_dependabot_config": true
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/koxudaxi/datamodel-code-generator",
    "host": "github.com",
    "name": "datamodel-code-generator",
    "owner": "koxudaxi"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "at_risk",
      "name": "Overall health",
      "note": "High-Risk Jurisdiction Policy applies a 50% multiplier to weighted overall health and gives it an At risk ceiling of 49.",
      "notes": [
        {
          "code": "jurisdiction_overall_adjustment",
          "params": {
            "cap": 49,
            "pct": 50
          }
        }
      ],
      "value": 38,
      "inputs": {
        "security": 31,
        "vitality": 98,
        "community": 77,
        "governance": 69,
        "engineering": 96,
        "high_risk_jurisdiction_cap": 49,
        "high_risk_jurisdiction_multiplier": 50,
        "weighted_overall_before_jurisdiction": 76,
        "overall_after_jurisdiction_multiplier": 38
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "excellent",
        "name": "Vitality",
        "value": 98,
        "weight": 0.22,
        "metrics": [
          {
            "key": "development_activity",
            "band": "excellent",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 97,
            "inputs": {
              "commits_last_year": 914,
              "human_commit_share": null,
              "days_since_last_push": 0,
              "active_weeks_last_year": 48
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 0 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "48/52 weeks with commits",
                "points": 33.2,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 48
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "914 commits in the last year",
                "points": 18,
                "status": "met",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 914
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "excellent",
            "name": "Release discipline",
            "note": "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": 100,
            "inputs": {
              "releases_count": 100,
              "latest_release_tag": "0.69.0",
              "releases_from_tags": false,
              "days_since_latest_release": 0,
              "mean_days_between_releases": 3.1
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "100 releases published",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "releases_published",
                    "params": {
                      "count": 100
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 0 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~3.1 days",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 3.1
                    }
                  }
                ],
                "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": "unverified",
              "guards": [],
              "signals": [],
              "red_flag": false,
              "multiplier_pct": 100,
              "declared_reason": null,
              "unverified_reason": "no_commit_sample",
              "unanswered_open_prs": null,
              "unanswered_open_issues": null,
              "days_since_last_merged_pr": null,
              "days_since_last_human_commit": null,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "maintenance record not established from the collected data",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_unverified",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "good",
        "name": "Community & Adoption",
        "value": 77,
        "weight": 0.18,
        "metrics": [
          {
            "key": "popularity",
            "band": "excellent",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 88,
            "inputs": {
              "forks": 450,
              "stars": 3972,
              "watchers": 24,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "3,972 stars",
                "points": 58.4,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 3972
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "450 forks",
                "points": 22.1,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 450
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "24 watchers",
                "points": 7.6,
                "status": "partial",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 24
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "moderate",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 65,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "has_contributing": false,
              "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": 0,
                "status": "missed",
                "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
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "moderate",
        "name": "Sustainability & Governance",
        "value": 69,
        "weight": 0.24,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "at_risk",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 42,
            "inputs": {
              "bus_factor": 1,
              "contributors_sampled": 100,
              "top_contributor_share": 0.6
            },
            "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 60% of commits",
                "points": 9,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 60
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "100 contributors",
                "points": 13.5,
                "status": "met",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 100
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 11 contributing companies or organizations",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "good",
            "name": "Issue & PR responsiveness",
            "note": null,
            "notes": [],
            "value": 77,
            "inputs": {
              "merged_prs": 2113,
              "open_issues": 18,
              "closed_issues": 829,
              "issue_closed_ratio": 0.979,
              "closed_unmerged_prs": 584
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "98% of issues closed",
                "points": 45.8,
                "status": "partial",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 98
                    }
                  }
                ],
                "max_points": 46.75
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "2113/2697 decided PRs merged",
                "points": 30,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 2113,
                      "decided": 2697
                    }
                  }
                ],
                "max_points": 38.25
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 3/25 approved changesets -- score normalized to 1",
                "points": 1.5,
                "status": "partial",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "moderate",
            "name": "Ownership & stewardship",
            "note": "Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "verified_domain"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 68,
            "inputs": {
              "followers": 566,
              "owner_type": "User",
              "is_verified": null,
              "owner_login": "koxudaxi",
              "public_repos": 83,
              "account_age_days": 5627
            },
            "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": "566 followers of koxudaxi",
                "points": 19.8,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 566,
                      "login": "koxudaxi"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "83 public repos, account ~15 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 83
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 15
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "excellent",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "datamodel-code-generator"
              ],
              "ecosystems": "pypi",
              "any_deprecated": false,
              "min_days_since_publish": 0
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on pypi",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "pypi"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 0 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 0
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "266 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 266
                    }
                  }
                ],
                "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": "excellent",
        "name": "Engineering Quality",
        "value": 96,
        "weight": 0.2,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "excellent",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 94,
            "inputs": {
              "has_ci": true,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": true,
              "has_precommit_config": true
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "22 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 22
                    }
                  }
                ],
                "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": "tox.ini",
                "points": 16,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "tox.ini"
                    }
                  }
                ],
                "max_points": 16
              },
              {
                "key": "pre_commit_hooks",
                "name": "Pre-commit hooks",
                "detail": null,
                "points": 9.6,
                "status": "met",
                "details": [],
                "max_points": 9.6
              },
              {
                "key": "editorconfig",
                "name": ".editorconfig",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.4
              },
              {
                "key": "openssf_scorecard_ci_tests",
                "name": "OpenSSF Scorecard: CI-Tests",
                "detail": "30 out of 30 merged PRs checked by a CI test -- score normalized to 10",
                "points": 20,
                "status": "met",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "excellent",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "topics": [
                "openapi",
                "code-generator",
                "python",
                "pydantic",
                "generator",
                "fastapi",
                "json-schema",
                "datamodel",
                "swagger",
                "yaml",
                "csv",
                "openapi-codegen",
                "swagger-codegen",
                "dataclass",
                "graphql",
                "msgspec",
                "typeddict"
              ],
              "has_wiki": true,
              "homepage": "https://datamodel-code-generator.koxudaxi.dev/",
              "has_readme": true,
              "has_docs_dir": true,
              "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": 25,
                "status": "met",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": "https://datamodel-code-generator.koxudaxi.dev/",
                "points": 15,
                "status": "met",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": "17 topics",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "topics_count",
                    "params": {
                      "count": 17
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "at_risk",
        "name": "Security",
        "value": 31,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "at_risk",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Signed-Releases. Remaining weights renormalized. High-Risk Jurisdiction Policy applies a 50% multiplier to Security posture and gives it an At risk ceiling of 49.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              },
              {
                "code": "jurisdiction_posture_adjustment",
                "params": {
                  "cap": 49,
                  "pct": 50
                }
              }
            ],
            "value": 31,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 17,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 1,
              "scorecard_aggregate": 6.2,
              "high_risk_jurisdiction_cap": 49,
              "high_risk_jurisdiction_multiplier": 50,
              "security_posture_after_multiplier": 31,
              "security_posture_before_jurisdiction": 62
            },
            "components": [
              {
                "key": "binary_artifacts",
                "name": "Binary-Artifacts",
                "detail": "no binaries found in the repo",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "branch_protection",
                "name": "Branch-Protection",
                "detail": "branch protection is not maximal on development and all release branches",
                "points": 0.8,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "30 out of 30 merged PRs checked by a CI test -- score normalized to 10",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "cii_best_practices",
                "name": "CII-Best-Practices",
                "detail": "no effort to earn an OpenSSF best practices badge detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "code_review",
                "name": "Code-Review",
                "detail": "Found 3/25 approved changesets -- score normalized to 1",
                "points": 0.8,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 11 contributing companies or organizations",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "dangerous_workflow",
                "name": "Dangerous-Workflow",
                "detail": "no dangerous workflow patterns detected",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "dependency_update_tool",
                "name": "Dependency-Update-Tool",
                "detail": "update tool detected",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "fuzzing",
                "name": "Fuzzing",
                "detail": "project is not fuzzed",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "license file detected",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow detected",
                "points": 5,
                "status": "met",
                "details": [],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 8",
                "points": 4,
                "status": "partial",
                "details": [],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "SAST tool is run on all commits",
                "points": 5,
                "status": "met",
                "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": "37 existing vulnerabilities detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              }
            ]
          },
          {
            "key": "dependency_advisories",
            "band": "at_risk",
            "name": "Dependency advisories",
            "note": "Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 135 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "indirect_dependencies_free_of_known_advisories"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              },
              {
                "code": "advisories_scope_repository",
                "params": {
                  "assessed": 135
                }
              },
              {
                "code": "advisories_repo_graph_caveat",
                "params": {}
              },
              {
                "code": "advisories_reachability",
                "params": {}
              }
            ],
            "value": 33,
            "inputs": {
              "source": "osv",
              "advisories": 81,
              "affected_packages": 14,
              "assessed_packages": 135,
              "unassessed_packages": 0,
              "affected_by_severity": "critical 6, high 3, moderate 5",
              "direct_affected_packages": 4
            },
            "components": [
              {
                "key": "direct_dependencies_free_of_known_advisories",
                "name": "Direct dependencies free of known advisories",
                "detail": "4 affected: black 22.1.0 (critical 9.8), black 23.12.0 (critical 9.8), black 24.1.0 (critical 9.8), +1 more",
                "points": 4.4,
                "status": "partial",
                "details": [
                  {
                    "code": "advisories_affected",
                    "params": {
                      "count": 4,
                      "packages": "black 22.1.0 (critical 9.8), black 23.12.0 (critical 9.8), black 24.1.0 (critical 9.8)"
                    }
                  },
                  {
                    "code": "advisories_affected_more",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "indirect_dependencies_free_of_known_advisories",
                "name": "Indirect dependencies free of known advisories",
                "detail": "transitive set not separable from development and test dependencies in this scope",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "advisories_scope_not_separable",
                    "params": {}
                  }
                ],
                "max_points": 25
              },
              {
                "key": "no_advisories_left_outstanding",
                "name": "No advisories left outstanding",
                "detail": "4 advisory-carrying package(s) unaddressed past 90 days; oldest published 853 days ago",
                "points": 20.2,
                "status": "partial",
                "details": [
                  {
                    "code": "advisories_stale",
                    "params": {
                      "days": 90,
                      "count": 4,
                      "oldest": 853
                    }
                  }
                ],
                "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": 135,
              "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": "moderate",
            "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": 50,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": true,
              "exposures": [
                {
                  "role": "top_contributor",
                  "count": 1,
                  "country": "Russia"
                }
              ],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "review_only_matches": 0,
              "assessed_self_published_locations": 7
            },
            "components": [
              {
                "key": "policy_exposure_multiplier",
                "name": "Policy exposure multiplier",
                "detail": "Russia: top_contributor (1)",
                "points": 50,
                "status": "partial",
                "details": [
                  {
                    "code": "jurisdiction_exposure",
                    "params": {
                      "role": "top_contributor",
                      "count": 1,
                      "country": "Russia"
                    }
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
      },
      {
        "key": "ai_readiness",
        "band": "moderate",
        "name": "AI Readiness",
        "value": 64,
        "weight": 0,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "critical",
            "name": "Agent context & guidance",
            "note": "Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "legible_commit_history"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 25,
            "inputs": {
              "has_llms_txt": true,
              "legible_history_share": null,
              "agent_instruction_files": [],
              "agent_instruction_max_bytes": null
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": "no CLAUDE.md / AGENTS.md / editor rules",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_instructions",
                    "params": {}
                  }
                ],
                "max_points": 45
              },
              {
                "key": "machine_readable_docs_llms_txt",
                "name": "Machine-readable docs (llms.txt)",
                "detail": "llms.txt present",
                "points": 15,
                "status": "met",
                "details": [
                  {
                    "code": "llms_txt_present",
                    "params": {}
                  }
                ],
                "max_points": 15
              },
              {
                "key": "legible_commit_history",
                "name": "Legible commit history",
                "detail": "no data",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "good",
            "name": "Verify loop (build / test / typecheck)",
            "note": "Excluded from scoring (no data or not applicable): Demonstrated agent practice. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "demonstrated_agent_practice"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 74,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [
                "uv.lock"
              ],
              "has_dockerfile": true,
              "typed_language": false,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": true,
              "typecheck_configs": [
                "src/datamodel_code_generator/py.typed"
              ],
              "agent_commit_share": null,
              "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": "tox.ini",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "tox.ini"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": "src/datamodel_code_generator/py.typed",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "src/datamodel_code_generator/py.typed"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": "Dockerfile, lockfile",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "Dockerfile, lockfile"
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "no data",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "dependency automation configured, none observed in the sampled commits",
                "points": 5,
                "status": "partial",
                "details": [
                  {
                    "code": "dependency_bot_config_only",
                    "params": {}
                  }
                ],
                "max_points": 8
              },
              {
                "key": "openssf_scorecard_pinned_dependencies",
                "name": "OpenSSF Scorecard: Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 8",
                "points": 8,
                "status": "partial",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "ai_code_legibility",
            "band": "good",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 82,
            "inputs": {
              "primary_language": "Python",
              "largest_source_bytes": 561311,
              "source_files_sampled": 2460,
              "oversized_source_files": 17
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "Python with type-check config (src/datamodel_code_generator/py.typed)",
                "points": 27,
                "status": "partial",
                "details": [
                  {
                    "code": "typecheck_config_language",
                    "params": {
                      "files": "src/datamodel_code_generator/py.typed",
                      "language": "Python"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "17/2460 source files over 60KB",
                "points": 54.6,
                "status": "partial",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 2460,
                      "oversized": 17
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          },
          {
            "key": "ai_interfaces",
            "band": "excellent",
            "name": "Machine-readable interfaces",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "example_dirs": [
                "example"
              ],
              "has_mcp_signal": true,
              "api_schema_files": [
                "tests/data/asyncapi/proto_child.proto",
                "tests/data/graphql/additional-imports.graphql",
                "tests/data/graphql/annotated.graphql",
                "tests/data/graphql/casing.graphql",
                "tests/data/graphql/collection-options.graphql",
                "tests/data/graphql/custom-scalar-types.graphql",
                "tests/data/graphql/default_values_required.graphql",
                "tests/data/graphql/different-types-of-fields.graphql",
                "tests/data/graphql/empty_list_default.graphql",
                "tests/data/graphql/enums.graphql",
                "tests/data/graphql/field-aliases.graphql",
                "tests/data/graphql/field-default-enum.graphql",
                "tests/data/graphql/github-api.graphql",
                "tests/data/graphql/interface_mro.graphql",
                "tests/data/graphql/multiple-aliases.graphql",
                "tests/data/graphql/no-typename.graphql",
                "tests/data/graphql/simple-star-wars.graphql",
                "tests/data/graphql/split/a.graphql",
                "tests/data/graphql/split/b.graphql",
                "tests/data/graphql/split/c.graphql",
                "tests/data/graphql/type_alias.graphql",
                "tests/data/graphql/union-aliased-bug.graphql",
                "tests/data/graphql/union-commented.graphql",
                "tests/data/graphql/union-description-cr.graphql",
                "tests/data/graphql/union.graphql",
                "tests/data/graphql/union_class_name_prefix.graphql",
                "tests/data/graphql/use-standard-collections.graphql",
                "tests/data/graphql/use-union-operator.graphql",
                "tests/data/malformed/bad.graphql",
                "tests/data/openapi/all_of_with_relative_ref/openapi.yaml",
                "tests/data/openapi/discriminator_external_mapping/openapi.yaml",
                "tests/data/openapi/external_ref_with_transitive_local_ref/openapi.yaml",
                "tests/data/openapi/module_class_name_collision/openapi.json",
                "tests/data/openapi/module_class_name_collision_deep/openapi.json",
                "tests/data/openapi/paths_external_ref/openapi.yaml",
                "tests/data/openapi/paths_ref_with_external_schema/openapi.yaml",
                "tests/data/openapi/referenced_path_item_mutation_guard/openapi.yaml",
                "tests/data/openapi/serialize_as_any_module_import_alias/openapi.json",
                "tests/data/openapi/webhooks_ref_with_external_schema/openapi.yaml",
                "tests/data/protobuf/common.proto",
                "tests/data/protobuf/complex_proto3.proto",
                "tests/data/protobuf/edition_2023.proto",
                "tests/data/protobuf/proto2.proto",
                "tests/data/protobuf/proto3_optional.proto",
                "tests/data/protobuf/public_common.proto",
                "tests/data/protobuf/public_import.proto",
                "tests/data/protobuf/spec_proto2.proto",
                "tests/data/protobuf/spec_proto3.proto",
                "tests/data/protobuf/well_known_wrappers.proto",
                "tests/data/protobuf_collision/left.proto",
                "tests/data/protobuf_collision/right.proto",
                "tests/skills/datamodel-code-generator/fixtures/asyncapi.yaml",
                "tests/skills/datamodel-code-generator/fixtures/openapi.yaml",
                "tests/skills/datamodel-code-generator/fixtures/sample.proto",
                "tests/skills/datamodel-code-generator/fixtures/schema.graphql"
              ]
            },
            "components": [
              {
                "key": "api_schema_openapi_graphql_proto",
                "name": "API schema (OpenAPI/GraphQL/proto)",
                "detail": "tests/data/asyncapi/proto_child.proto, tests/data/graphql/additional-imports.graphql, tests/data/graphql/annotated.graphql, tests/data/graphql/casing.graphql, tests/data/graphql/collection-options.graphql, tests/data/graphql/custom-scalar-types.graphql, tests/data/graphql/default_values_required.graphql, tests/data/graphql/different-types-of-fields.graphql, tests/data/graphql/empty_list_default.graphql, tests/data/graphql/enums.graphql, tests/data/graphql/field-aliases.graphql, tests/data/graphql/field-default-enum.graphql, tests/data/graphql/github-api.graphql, tests/data/graphql/interface_mro.graphql, tests/data/graphql/multiple-aliases.graphql, tests/data/graphql/no-typename.graphql, tests/data/graphql/simple-star-wars.graphql, tests/data/graphql/split/a.graphql, tests/data/graphql/split/b.graphql, tests/data/graphql/split/c.graphql, tests/data/graphql/type_alias.graphql, tests/data/graphql/union-aliased-bug.graphql, tests/data/graphql/union-commented.graphql, tests/data/graphql/union-description-cr.graphql, tests/data/graphql/union.graphql, tests/data/graphql/union_class_name_prefix.graphql, tests/data/graphql/use-standard-collections.graphql, tests/data/graphql/use-union-operator.graphql, tests/data/malformed/bad.graphql, tests/data/openapi/all_of_with_relative_ref/openapi.yaml, tests/data/openapi/discriminator_external_mapping/openapi.yaml, tests/data/openapi/external_ref_with_transitive_local_ref/openapi.yaml, tests/data/openapi/module_class_name_collision/openapi.json, tests/data/openapi/module_class_name_collision_deep/openapi.json, tests/data/openapi/paths_external_ref/openapi.yaml, tests/data/openapi/paths_ref_with_external_schema/openapi.yaml, tests/data/openapi/referenced_path_item_mutation_guard/openapi.yaml, tests/data/openapi/serialize_as_any_module_import_alias/openapi.json, tests/data/openapi/webhooks_ref_with_external_schema/openapi.yaml, tests/data/protobuf/common.proto, tests/data/protobuf/complex_proto3.proto, tests/data/protobuf/edition_2023.proto, tests/data/protobuf/proto2.proto, tests/data/protobuf/proto3_optional.proto, tests/data/protobuf/public_common.proto, tests/data/protobuf/public_import.proto, tests/data/protobuf/spec_proto2.proto, tests/data/protobuf/spec_proto3.proto, tests/data/protobuf/well_known_wrappers.proto, tests/data/protobuf_collision/left.proto, tests/data/protobuf_collision/right.proto, tests/skills/datamodel-code-generator/fixtures/asyncapi.yaml, tests/skills/datamodel-code-generator/fixtures/openapi.yaml, tests/skills/datamodel-code-generator/fixtures/sample.proto, tests/skills/datamodel-code-generator/fixtures/schema.graphql",
                "points": 40,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "tests/data/asyncapi/proto_child.proto, tests/data/graphql/additional-imports.graphql, tests/data/graphql/annotated.graphql, tests/data/graphql/casing.graphql, tests/data/graphql/collection-options.graphql, tests/data/graphql/custom-scalar-types.graphql, tests/data/graphql/default_values_required.graphql, tests/data/graphql/different-types-of-fields.graphql, tests/data/graphql/empty_list_default.graphql, tests/data/graphql/enums.graphql, tests/data/graphql/field-aliases.graphql, tests/data/graphql/field-default-enum.graphql, tests/data/graphql/github-api.graphql, tests/data/graphql/interface_mro.graphql, tests/data/graphql/multiple-aliases.graphql, tests/data/graphql/no-typename.graphql, tests/data/graphql/simple-star-wars.graphql, tests/data/graphql/split/a.graphql, tests/data/graphql/split/b.graphql, tests/data/graphql/split/c.graphql, tests/data/graphql/type_alias.graphql, tests/data/graphql/union-aliased-bug.graphql, tests/data/graphql/union-commented.graphql, tests/data/graphql/union-description-cr.graphql, tests/data/graphql/union.graphql, tests/data/graphql/union_class_name_prefix.graphql, tests/data/graphql/use-standard-collections.graphql, tests/data/graphql/use-union-operator.graphql, tests/data/malformed/bad.graphql, tests/data/openapi/all_of_with_relative_ref/openapi.yaml, tests/data/openapi/discriminator_external_mapping/openapi.yaml, tests/data/openapi/external_ref_with_transitive_local_ref/openapi.yaml, tests/data/openapi/module_class_name_collision/openapi.json, tests/data/openapi/module_class_name_collision_deep/openapi.json, tests/data/openapi/paths_external_ref/openapi.yaml, tests/data/openapi/paths_ref_with_external_schema/openapi.yaml, tests/data/openapi/referenced_path_item_mutation_guard/openapi.yaml, tests/data/openapi/serialize_as_any_module_import_alias/openapi.json, tests/data/openapi/webhooks_ref_with_external_schema/openapi.yaml, tests/data/protobuf/common.proto, tests/data/protobuf/complex_proto3.proto, tests/data/protobuf/edition_2023.proto, tests/data/protobuf/proto2.proto, tests/data/protobuf/proto3_optional.proto, tests/data/protobuf/public_common.proto, tests/data/protobuf/public_import.proto, tests/data/protobuf/spec_proto2.proto, tests/data/protobuf/spec_proto3.proto, tests/data/protobuf/well_known_wrappers.proto, tests/data/protobuf_collision/left.proto, tests/data/protobuf_collision/right.proto, tests/skills/datamodel-code-generator/fixtures/asyncapi.yaml, tests/skills/datamodel-code-generator/fixtures/openapi.yaml, tests/skills/datamodel-code-generator/fixtures/sample.proto, tests/skills/datamodel-code-generator/fixtures/schema.graphql"
                    }
                  }
                ],
                "max_points": 40
              },
              {
                "key": "mcp_server",
                "name": "MCP server",
                "detail": null,
                "points": 20,
                "status": "met",
                "details": [],
                "max_points": 20
              },
              {
                "key": "runnable_examples",
                "name": "Runnable examples",
                "detail": "example",
                "points": 40,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "example"
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score."
      }
    ],
    "metrics_version": "1.13.0"
  },
  "warnings": [
    "deps.dev does not index pypi:datamodel-code-generator@0.69.0; advisories assessed against the repository dependency graph instead"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-20T18:37:04.562233Z",
  "schema_version": "0.16.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/k/koxudaxi/datamodel-code-generator.svg",
  "full_name": "koxudaxi/datamodel-code-generator",
  "license_state": "standard",
  "license_spdx": "MIT"
}

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

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

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