In a situation where the transformations are explicit and can almost be mechanical with little to no involved reasoning. With those requirements, the LLM just has to recognize the patterns and "translate" them to the new pattern. Which is almost exactly what they were designed to do.
furyofantares|8 months ago
Replacing something with something else isn't a refactor to me, a refactor implies a structural change not a wide surface level change.
ljlolel|8 months ago