halyard-api
health 6.6
Above the ship threshold, dragged down by testing and error handling. Nearly half of the 214 findings apply for free.
verified by ast-grep re-parse · reversible · $0
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.
Nine exported symbols with zero importers. Delete them; imports re-resolve cleanly.
Reassignment never happens. Mechanical AST transform, guaranteed correct.
An 11-line guard duplicated across seven handlers. Extract to one helper under a constrained prompt.
A bare except hides the failure mode. Narrow to the real exception type and log context.
Loads the entire repo into a single prompt: memory and cost blow up on large trees. Needs an architectural chunking decision.
LLM output reaches the client with no guardrail. Requires a human call on the filtering policy.
showing the top 30 of 214 by severity · full list in the JSON export
$0 · applies automatically, verified re-parse
≈ $2,400 · constrained LLM, validated
≈ $2,450 · human decision required