I'm spending MLH Global Hack Week: Builders Week (Nov 6–12) on Build Buddy , a small .NET tool that runs dotnet build , catches compiler errors, and asks a local model to explain each one and suggest a fix. Nothing leaves my laptop.
What it does
Runs the build and parses every error CS#### line
Reads a few lines of source around each error
Asks Gemma 3 4B (through Ollama, temperature 0) for an explanation and a corrected file
With --verify , copies the project to a temp folder, applies the fix, and rebuilds
A sample only counts as fixed if the patched project rebuilds with zero errors, not just if the original error disappears.
Day 1 result
Six small broken projects, each with exactly one error:
Sample Error Fixed Seconds
type mismatch CS0029 yes 21.7
undeclared name CS0103 yes 7.8
not all paths return CS0161 yes 12.4
missing using CS0246 yes 9.6
missing semicolon CS1002 yes 6.1
missing member CS1061 yes 8.3
6 of 6 fixed, average 11.0 s per error.…