Vibeleaderboard
← All Intel
Intel / article

Code Transformation Rule Synthesis using LLMs: Potential and Limits

Source
arxiv.org
Publisher
DiverSE
Author
Axel Allain, Aymeric Blot, Djamel Eddine Khelladi, Mathieu Acher
Date

Context

For repetitive code changes, a 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: -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.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads