Towards Data Science By Emmimal P Alexander

Changing One Prompt Can Affect 50 Others — I Built a Prompt Dependency Graph to Find What Needs Retesting

Read the original on Towards Data Science →

The article describes how the author constructed a prompt dependency graph to identify which prompts are affected when a single prompt changes. By separating all reachable components from the smaller subset that truly requires evaluation, the graph helps focus retesting efforts. This approach streamlines testing by pinpointing only the prompts that need targeted evaluation.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Towards Data Science.

Towards Data Science
Jul 29

Prompt Engineering Is Solved—Prompt Management Isn’t

Prompt engineering helps you write better prompts—but it doesn’t help you change them safely. This article explores a common production failure where a simple variable rename breaks every live call, and introduces a lightweight static analysis tool that treats prompts like contracts, catching breaking changes before they ship.

By Emmimal P Alexander
Simon Willison
Nov 10

Quoting Prompting Claude Fable 5.2

Claude Fable 5.2 follows the prompt’s instructions about code ownership. When a prompt omitted ownership or framed the code as someone else’s, the model tended to add to the existing structure, sometimes repeating code. Adding a sentence that the codebase belongs to the user—"This codebase is yours…"—caused the model to merge repeated code in about half the attempts, versus less than a tenth without it.