# koxudaxi/datamodel-code-generator — health index 38/100 (At risk)

> Inspection of the public repository koxudaxi/datamodel-code-generator by inspect.software. It holds a health index of 38 out of 100, placing it in the At risk band. The index is a signal derived from publicly visible practice, not a warranty, a security audit, or an endorsement, and it is independent of payment.

- Repository: https://github.com/koxudaxi/datamodel-code-generator
- Report page: https://inspect.software/software/koxudaxi/datamodel-code-generator
- Full JSON report: https://inspect.software/api/repositories/koxudaxi/datamodel-code-generator/report
- Badge: https://raw.githubusercontent.com/inspect-software/badges/main/v1/k/koxudaxi/datamodel-code-generator.svg
- Inspected: 2026-07-20
- Methodology: metrics 1.13.0, report schema 0.16.0 (https://inspect.software/methodology.md)

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 22% | 98/100 | Excellent |
| Community & Adoption | 18% | 77/100 | Good |
| Sustainability & Governance | 24% | 69/100 | Moderate |
| Engineering Quality | 20% | 96/100 | Excellent |
| Security | 16% | 31/100 | At risk |
| AI Readiness | not counted | 64/100 | Moderate |

High-Risk Jurisdiction Policy applies a 50% multiplier to weighted overall health and gives it an At risk ceiling of 49.

## Repository facts

| Field | Value |
|---|---|
| Description | Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV. |
| Homepage | https://datamodel-code-generator.koxudaxi.dev/ |
| Primary language | Python |
| License | MIT |
| Stars | 3,972 |
| Forks | 450 |
| Created | 2019-05-29 |
| Last push | 2026-07-20 |
| Latest release | 0.69.0 |
| Commits (last year) | 914 |
| Bus factor | 1 |
| Topics | openapi, code-generator, python, pydantic, generator, fastapi, json-schema, datamodel, swagger, yaml, csv, openapi-codegen, swagger-codegen, dataclass, graphql, msgspec, typeddict |

## Published packages

| Registry | Package | Latest | Monthly downloads |
|---|---|---|---|
| pypi | datamodel-code-generator | 0.69.0 | — |

## Vitality — 98/100 (Excellent)

Is the project alive — is code being written and are releases shipping? Weight: 22% of the overall index.

### Development activity — 97/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Push recency | met | 36 / 36 | last push 0 days ago |
| Commit cadence | partial | 33.2 / 36 | 48/52 weeks with commits |
| Commit volume | met | 18 / 18 | 914 commits in the last year |
| OpenSSF Scorecard: Maintained | met | 10 / 10 | 30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10 |

### Release discipline — 100/100 (Excellent)

Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ships releases | met | 27 / 27 | 100 releases published |
| Release recency | met | 36 / 36 | latest release 0 days ago |
| Release cadence | met | 27 / 27 | a release every ~3.1 days |
| OpenSSF Scorecard: Signed-Releases | excluded | 0 / 10 | no releases found |

### Abandonment — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Project is still maintained | met | 100 / 100 | maintenance record not established from the collected data |

## Community & Adoption — 77/100 (Good)

Does the project have users, downloads, attention, and a welcoming setup for contributors? Weight: 18% of the overall index.

### Popularity & adoption — 88/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | partial | 58.4 / 60 | 3,972 stars |
| Forks | partial | 22.1 / 25 | 450 forks |
| Watchers | partial | 7.6 / 15 | 24 watchers |

### Community health — 65/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 22.5 / 22.5 | — |
| License | met | 22.5 / 22.5 | recognized license (MIT) |
| CONTRIBUTING guide | not met | 0 / 18 | — |
| Code of conduct | met | 13.5 / 13.5 | — |
| Issue template | not met | 0 / 7.2 | — |
| PR template | not met | 0 / 6.3 | — |

## Sustainability & Governance — 69/100 (Moderate)

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep? Weight: 24% of the overall index.

### Maintainer resilience (bus factor) — 42/100 (At risk)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Bus factor | partial | 9 / 54 | 1 contributor(s) cover half of all commits |
| Commit distribution | partial | 9 / 22.5 | top contributor authored 60% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 100 contributors |
| OpenSSF Scorecard: Contributors | met | 10 / 10 | project has 11 contributing companies or organizations |

### Issue & PR responsiveness — 77/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | partial | 45.8 / 46.8 | 98% of issues closed |
| PR acceptance | partial | 30 / 38.2 | 2113/2697 decided PRs merged |
| OpenSSF Scorecard: Code-Review | partial | 1.5 / 15 | Found 3/25 approved changesets -- score normalized to 1 |

### Ownership & stewardship — 68/100 (Moderate)

Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | partial | 10 / 30 | personal (user) account |
| Verified domain | excluded | 0 / 20 | not applicable to user accounts |
| Owner reach | partial | 19.8 / 25 | 566 followers of koxudaxi |
| Track record | met | 25 / 25 | 83 public repos, account ~15 yr old |

### Package maintenance — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Published & resolvable | met | 25 / 25 | 1 package(s) on pypi |
| Publish recency | met | 35 / 35 | latest publish 0 days ago |
| Version history | met | 20 / 20 | 266 published versions |
| Not deprecated | met | 20 / 20 | active, not deprecated or yanked |

## Engineering Quality — 96/100 (Excellent)

Are baseline engineering and documentation practices in place? Weight: 20% of the overall index.

### Engineering practices — 94/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| CI workflows | met | 24 / 24 | 22 workflow(s) |
| Tests present | met | 24 / 24 | — |
| Linter config | met | 16 / 16 | tox.ini |
| Pre-commit hooks | met | 9.6 / 9.6 | — |
| .editorconfig | not met | 0 / 6.4 | — |
| OpenSSF Scorecard: CI-Tests | met | 20 / 20 | 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |

### Documentation — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | met | 15 / 15 | https://datamodel-code-generator.koxudaxi.dev/ |
| Repository description | met | 10 / 10 | — |
| Topics | met | 10 / 10 | 17 topics |
| Wiki | met | 10 / 10 | — |

## Security — 31/100 (At risk)

Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure? Weight: 16% of the overall index.

### Security posture — 31/100 (At risk)

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.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Binary-Artifacts | met | 7.5 / 7.5 | no binaries found in the repo |
| Branch-Protection | partial | 0.8 / 7.5 | branch protection is not maximal on development and all release branches |
| CI-Tests | met | 2.5 / 2.5 | 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| CII-Best-Practices | not met | 0 / 2.5 | no effort to earn an OpenSSF best practices badge detected |
| Code-Review | partial | 0.8 / 7.5 | Found 3/25 approved changesets -- score normalized to 1 |
| Contributors | met | 2.5 / 2.5 | project has 11 contributing companies or organizations |
| Dangerous-Workflow | met | 10 / 10 | no dangerous workflow patterns detected |
| Dependency-Update-Tool | met | 7.5 / 7.5 | update tool detected |
| Fuzzing | not met | 0 / 5 | project is not fuzzed |
| License | met | 2.5 / 2.5 | license file detected |
| Maintained | met | 7.5 / 7.5 | 30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | met | 5 / 5 | packaging workflow detected |
| Pinned-Dependencies | partial | 4 / 5 | dependency not pinned by hash detected -- score normalized to 8 |
| SAST | met | 5 / 5 | SAST tool is run on all commits |
| Security-Policy | met | 5 / 5 | security policy file detected |
| Signed-Releases | excluded | 0 / 7.5 | no releases found |
| Token-Permissions | not met | 0 / 7.5 | detected GitHub workflow tokens with excessive permissions |
| Vulnerabilities | not met | 0 / 7.5 | 37 existing vulnerabilities detected |

### Dependency advisories — 33/100 (At risk)

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.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Direct dependencies free of known advisories | partial | 4.4 / 35 | 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 |
| Indirect dependencies free of known advisories | excluded | 0 / 25 | transitive set not separable from development and test dependencies in this scope |
| No advisories left outstanding | partial | 20.2 / 40 | 4 advisory-carrying package(s) unaddressed past 90 days; oldest published 853 days ago |

### Malicious dependencies — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| No dependency reported as a malicious package | met | 100 / 100 | no dependency is reported as a malicious package |

### High-Risk Jurisdiction Exposure — 50/100 (Moderate)

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.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Policy exposure multiplier | partial | 50 / 100 | Russia: top_contributor (1) |

## AI Readiness — 64/100 (Moderate)

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.

### Agent context & guidance — 25/100 (Critical)

Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Agent instructions | not met | 0 / 45 | no CLAUDE.md / AGENTS.md / editor rules |
| Machine-readable docs (llms.txt) | met | 15 / 15 | llms.txt present |
| Legible commit history | excluded | 0 / 40 | no data |

### Verify loop (build / test / typecheck) — 74/100 (Good)

Excluded from scoring (no data or not applicable): Demonstrated agent practice. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | not met | 0 / 18 | — |
| Automated tests | met | 22 / 22 | — |
| Lint / format config | met | 11 / 11 | tox.ini |
| Static type checking | met | 11 / 11 | src/datamodel_code_generator/py.typed |
| Reproducible environment | met | 10 / 10 | Dockerfile, lockfile |
| Demonstrated agent practice | excluded | 0 / 10 | no data |
| Automated maintenance | partial | 5 / 8 | dependency automation configured, none observed in the sampled commits |
| OpenSSF Scorecard: Pinned-Dependencies | partial | 8 / 10 | dependency not pinned by hash detected -- score normalized to 8 |

### Code legibility for models — 82/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Type-checkable code | partial | 27 / 45 | Python with type-check config (src/datamodel_code_generator/py.typed) |
| Manageable file sizes | partial | 54.6 / 55 | 17/2460 source files over 60KB |

### Machine-readable interfaces — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| API schema (OpenAPI/GraphQL/proto) | met | 40 / 40 | 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 |
| MCP server | met | 20 / 20 | — |
| Runnable examples | met | 40 / 40 | example |

## Collection warnings

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

## What this report is

inspect.software measures public repositories against a single published, versioned methodology and reports the result as a 1–100 health index. Findings are signals derived from what is visible in public repository data — they are not a security audit, a warranty, or an endorsement, and no result depends on payment.

- Methodology, formulas and weights: https://inspect.software/methodology.md
- What a result does and does not claim: https://inspect.software/wiki/signals-not-warranties.md
- Rating bands: https://inspect.software/wiki/scoring-bands.md
- Corrections: https://inspect.software/contact.md
- Index of all documents: https://inspect.software/llms.txt
