A real coding model.
A proven fix.
RepoPilot fetched a GitHub issue, asked a local Ollama coding model to propose a reproduction test and source fix, normalized an unambiguous diff formatting error, and verified the result inside restricted Docker. This is an actual run—not a simulated browser interaction.
Ollama · qwen2.5-coder:3b · 1 proposal attempt
Clean baseline → failing reproduction → passing patched suite
808 provider-reported tokens · local GitHub Actions runner
Actual execution trace
Original tests exited 0 · 372 ms
The new ZeroDivisionError reproduction failed as expected · 356 ms
Existing and reproduction tests exited 0 · 362 ms
What the model actually changed
def divide(a, b):
if b == 0:
return 0 # BUG: should raise ZeroDivisionError
return a / bdef divide(a, b):
if b == 0:
raise ZeroDivisionError('Division by zero')
return a / bThe model also authored a complete unittest module asserting that divide(12, 0) raises ZeroDivisionError. The model's original unified-diff hunk metadata was inconsistent; RepoPilot rebuilt the diff using only the model's exact deleted and added lines, requiring a unique match in the original source, then validated it with git apply --check.