halyard-api
Above the ship threshold, dragged down by two areas: testing and error handling. Nearly half of the 30 findings apply for free.
A solid core with a thin safety net. Architecture and typing are strong; testing (4.4) and error handling (4.9) are the drag on the score.
$0 · applies automatically, verified re-parse
≈ $2,400 · constrained LLM, validated
≈ $2,450 · human decision required
Seven families, forty signals
The forty dimensions rolled into named families so the shape reads at a glance. Full per-dimension detail follows overleaf.
Testing and Errors & Observability pull hardest against the score.
Catch block only rethrows: it swallows nothing and adds nothing. Remove it; the error already propagates.
Debug logging left in a production path. Strip the statement, no behavioural change.
An 11-line guard duplicated across seven handlers. Extract to one helper under a constrained prompt.
Loads the entire repo into a single prompt: memory and cost blow up on large trees. Needs an architectural chunking decision.
Findings, cited against real controls
Every audit maps its findings to nine frameworks. Control IDs are genuine citations: a violated control lists the actual finding as evidence. A clean row means verified clean, not unexamined.
EU AI Act: Regulation (EU) 2024/1689
How this report is made
Every score comes from AST analysis running locally, no LLM in the detection loop. Forty quality dimensions are each scored 0–10 by mechanical validators (coupling, slop, type-safety, test-ratio and semantic detectors), then weighted into the overall.
Each issue is classified into one of three tiers, so you always know what clearing it takes.
AST transform. Zero risk: verified re-parse, reverts on failure.
Constrained, LLM-assisted refactor. Low risk, scoped diff.
Architecture-level. Flagged for a human decision.
Deterministic fixes are validated by ast-grep re-parse + lint: the transformed source must re-parse cleanly or the original is restored. Score deltas are measured, not estimated. Your code never leaves the machine.
Watch it come true.