Back to Judge
python

psf/black

This page separates the public deterministic grade from the optional AI review. Users should be able to tell immediately what affects the score, what is extra context, and which commit the score belongs to.

Public grade
F
0/100
AI review
Not attached
Does not affect public grade
Public score breakdown

What this repo scored on the pinned static snapshot

The public grade comes from the static snapshot only. The optional AI review appears separately so it can add context without moving the public score.

Security
0
Quality
0
Dead code
0

Finding summary

Severity and category counts from the same pinned static snapshot that produced the public grade.

Total issues
1933
Critical
9
High
25
Secrets
0
Quality
1751
Dead code
82

Top findings

The highest-priority preview findings from the public static snapshot. This is the fast way to understand why the score landed where it did.

CRITICALSECURITYSKY-D204

Untrusted deserialization via pickle.load

src/black/cache.py:80

CRITICALSECURITYSKY-D204

Untrusted deserialization via pickle.load

src/blib2to3/pgen2/grammar.py:124

CRITICALSECURITYSKY-D205

Untrusted deserialization via pickle.loads

src/blib2to3/pgen2/grammar.py:129

CRITICALSECURITYSKY-D203

Use of os.system()

tests/data/cases/preview_long_strings__regression.py:21

CRITICALSECURITYSKY-D212

Possible command injection (os.system): tainted input.

tests/data/cases/preview_long_strings__regression.py:21

CRITICALSECURITYSKY-D203

Use of os.system()

tests/data/cases/preview_long_strings__regression.py:606

CRITICALSECURITYSKY-D212

Possible command injection (os.system): tainted input.

tests/data/cases/preview_long_strings__regression.py:606

CRITICALSECURITYSKY-D203

Use of os.system()

tests/test_black.py:1805

CRITICALSECURITYSKY-D203

Use of os.system()

tests/test_black.py:1812

CRITICALQUALITYSKY-Q301

Cyclomatic complexity is 45 (threshold: 10). Consider splitting branches.

src/black/__init__.py:537

CRITICALQUALITYSKY-Q306

Cognitive complexity is 71 (threshold: 15). Consider simplifying nested logic.

src/black/__init__.py:537

CRITICALQUALITYSKY-Q301

Cyclomatic complexity is 68 (threshold: 10). Consider splitting branches.

src/black/__init__.py:1361

How this scorecard was produced

Public grade
Published

This deterministic static snapshot is the public grade users see on this page.

e079b7e • Apr 1, 2026
AI review
Not attached

No AI review is attached yet. Judge can publish a static-only scorecard.

Snapshot metadata

Commit
main @ e079b7e100d1e181d4ee860ee4512bf3326f32c3
Scanned
Apr 1, 2026
Scoring
v1 • skylos
Confidence
100/100
Analysis mode
static

Need to refresh this repo?

Open Judge submit with this repo prefilled. That gives you a direct operator path to run a new static snapshot and optionally attach an AI review.

Open Judge submit

Fairness notes

Snapshot generated from a full-repo static scan of psf/black at a pinned commit.
Current Judge scoring is intentionally strict and may overweight large test and fixture directories.

Static history

e079b7e
Apr 1, 2026
F
0/100