RC RANDOM CHAOS

Ownership Language Changes How Claude Fable 5.2 Handles Code

· via Simon Willison

Original source

Quoting Prompting Claude Fable 5.2

Simon Willison →

Claude Fable 5.2’s approach to code structure improvements hinges on how a prompt frames code ownership. In Anthropic’s testing of small coding tasks, when prompts lacked explicit ownership statements or framed the code as belonging to someone else, the model typically preserved existing patterns even if they involved repetitive code. Conversely, telling the model the codebase is its own—using language such as “This codebase is yours: what it’s for and how it’s built are your call”—produced markedly different results. The model merged duplicated code in about half of the tries with this ownership framing, but in under a tenth of the tries without it. The distinction suggests that prompt language around code ownership significantly influences whether Claude Fable 5.2 attempts structural improvements versus preserving the status quo.

Read the full article

Continue reading at Simon Willison →

This is an AI-generated summary. Read the original for the full story.