Models over-edit code written by other models; CROCODIL training framework fixes it

omarsar0 · x · 2026-09-06

Researchers found a weird behavior: coding models over-edit code written by other models. Different training data produces different stylistic preferences, so models make more—often excessive—edits on foreign code than on their own, and multi-model commit history now changes how each model edits.

CROCODIL is a post-training framework that reduces this: a similarity reward penalizes large changes, an execution reward scores build/test success, and the two are multiplied rather than added, preventing the policy from shrinking edits by simply failing the task.

Original post →

More from coding & agent

coding & agent channel →