2 ms·
I ran go's deadcode against your repo, it says there are 44 unreachable functions. If you add guardrails like static analysis tools to a pre-commit you can mak
by Thews 7mo ago
I ran go's deadcode against your repo, it says there are 44 unreachable functions. If you add guardrails like static analysis tools to a pre-commit you can make LLMs tighten things up.
- kstenerud 7mo agoUnfortnately, deadcode flags library API functions as "dead" if they're not consumed by the cmd. yoloAI is intended to be consumed both as a library and as a standalone binary, and the public 80/20 API surface isn't yet mature enough to make a -filter list worthwhile. This did give me ideas for some other checks I can add, though! :)