Axel Allain, Aymeric Blot, Djamel Eddine Khelladi, Mathieu Acher
Date
Context
For repetitive code changes, a Large language modelA model trained on large amounts of data to process and generate language.Full definition → can generate a reusable transformation rule that specifies which code to match and how to rewrite it. This study evaluates rules in Comby, GritQL, and Ast-Grep across repair and migration tasks. The authors report that GPT-5.4, from OpenAI, produced transformations closest to reference answers on most benchmarks, while smaller tested models struggled more with complex migrations. They also found a trade-off against a conventional rule-synthesis algorithm: ModelA computational system that uses learned patterns to produce an output from information supplied to it.Full definition →-generated rules scored better on correctness but worse on applicability. Reusable rules are therefore a promising output for coding assistants, with coverage and correctness requiring separate checks. Study abstract.
Terms in this piece · Glossary
Large language model — A model trained on large amounts of data to process and generate language.
Model — A computational system that uses learned patterns to produce an output from information supplied to it.
API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.
Program — A set of instructions stored so that a computer can run it.