AI、頼んでないコードまで修正しがち

LLMs when you ask to just do what you asked for and leave the rest of the code untouched
I must break you

出典:cwrite(DEV「Meme Monday」)

原文と和訳

LLMs when you ask to just do what you asked for and leave the rest of the code untouched
LLM(大規模言語モデル)に「指定した箇所だけ修正して、他のコードはそのままにして」とお願いしたときの反応:
I must break you
すべてぶっ壊す!

解説

AIコードアシスタントあるあるミーム。

ユーザーは「一部だけ変えてほしい」と明確に指示したのに、

モデルは勝手に他の部分も“気を利かせて”編集し、全体を壊してしまうことがよくあります。