Yet machine-made patches ‘often get rewritten’