huggingface/transformers
62.9
Adequate · 29 July 2026
1059.5k
lines of production code
2
measurements over time
How this codebase got here
Score
- CAI 59 → 63 (+3.9)
- Rubric changed (rubric-2026.08.17 → rubric-2026.08.18) — scores are not directly comparable.
Lenses
- Code Health 75 → 72 (-2.3)
- Architecture 99 → 100 (+0.2)
- Maturity 64 → 64 (+0.3)
- Readiness 66 → 66 (+0.0)
- Security 48 → 56 (+8.4)
Resolved (3089)
- 3D_parallel.main (cognitive 41) (examples/3D_parallel.py)
- 3D_parallel.main (cyclomatic 24) (examples/3D_parallel.py)
- 3d_parallel_checks.main (cognitive 187) (examples/pytorch/3d_parallel_checks.py)
- 3d_parallel_checks.main (cyclomatic 76) (examples/pytorch/3d_parallel_checks.py)
- ASTFeatureExtractor.call (cognitive 16) (src/transformers/models/audio_spectrogram_transformer/feature_extraction_audio_spectrogram_transformer.py)
- ASTFeatureExtractor.call (cyclomatic 17) (src/transformers/models/audio_spectrogram_transformer/feature_extraction_audio_spectrogram_transformer.py)
- Adafactor.step (cognitive 51) (src/transformers/optimization.py)
- Adafactor.step (cyclomatic 17) (src/transformers/optimization.py)
- AnyToAnyPipeline._sanitize_parameters (cognitive 31) (src/transformers/pipelines/any_to_any.py)
- AnyToAnyPipeline._sanitize_parameters (cyclomatic 31) (src/transformers/pipelines/any_to_any.py)
- AnyToAnyPipeline.postprocess (cognitive 37) (src/transformers/pipelines/any_to_any.py)
- AnyToAnyPipeline.postprocess (cyclomatic 21) (src/transformers/pipelines/any_to_any.py)
- AnyToAnyPipeline.preprocess (cognitive 17) (src/transformers/pipelines/any_to_any.py)
- AriaImageProcessingTester.prepare_image_inputs (cognitive 21) (tests/models/aria/test_image_processing_aria.py)
- AriaImageProcessorPil._preprocess (cognitive 20) (src/transformers/models/aria/image_processing_pil_aria.py)
- AssistedCandidateGenerator.init (cognitive 16) (src/transformers/generation/candidate_generator.py)
- AssistedCandidateGeneratorDifferentTokenizers._prepare_assistant_input_ids (cognitive 17) (src/transformers/generation/candidate_generator.py)
- Attention.forward (cognitive 24) (src/transformers/models/fsmt/modeling_fsmt.py)
- AudioClassificationPipeline.preprocess (cognitive 31) (src/transformers/pipelines/audio_classification.py)
- AudioClassificationPipeline.preprocess (cyclomatic 20) (src/transformers/pipelines/audio_classification.py)
- …and 3069 more
New (8)
- Build action pinned to a mutable branch
- Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
- Off-boarding risk: anonymized user #5
- Off-boarding risk: anonymized user #4
- Off-boarding risk: anonymized user #2
- Off-boarding risk: anonymized user #3
- Off-boarding risk: anonymized user #1
- Secret passed as a command-line argument
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
huggingface/transformers was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 29 July 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 2ef79f87a02111f8b49a72fb7d0c86b5b0bf10b7 — the exact code this score is about.
- Scored under rubric-2026.08.18 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer latest.