PreciseCoder-4B

Qwen3.5-4B post-trained with reinforcement learning for precise debugging: given buggy Python code, produce a minimal, correct fix (PreciseCoder project).

Recipe. GDPO with two rewards, unit-test pass and unit-gated F1 (edit-block F1 against the ground-truth diff), weighted 2:1.

Eval:

eval result
PDB test (1205 BigCodeBench + LiveCodeBench debugging tasks) unit 0.554 · precision 0.638 · recall 0.728 · F1 0.650 · edit lines 3.0
PDB-Wild (474 tasks: BCB 37 + LCB 209 + SWE-smith 228) unit 0.276 · precision 0.382 · recall 0.410 · F1 0.377 · edit lines 10.8
GT Debug (1512 clean inputs) no-op 54.7% · damage 12.1% · unit pass 87.9%

no-op = share of clean (bug-free) inputs returned unchanged; damage = share broken by an edit.

Load with transformers / vLLM (>=0.17) as a standard Qwen3.5 model (thinking enabled by default).

Downloads last month
6
Safetensors
Model size
5B params
Tensor type
BF16
·
Video Preview
loading

Model tree for PreciseCoder/PreciseCoder-4B

Finetuned
Qwen/Qwen3.5-4B
Finetuned
(939)
this model
Quantizations
2 models