Most failed audits fail before a prompt is written. The team codes paragraphs by hand, runs the model over whole documents, then compares counts. Nothing lines up, and the disagreement you are staring at is a definitional error, not a model error.
Fix three things on paper. The coding unit is the smallest piece of text that can carry exactly one theme: a sentence, a turn in a transcript, a paragraph, a ticket. Write down what to do when a unit carries two themes, usually by splitting it or recording both. The codebook is a numbered list of themes, each with a one-line definition, one positive example from your data, and one near-miss that should not be coded. The decision rules cover edge cases: sarcasm, hypotheticals, secondhand reports, and the gap between "the customer wants pricing clarity" and "the customer wants a cheaper plan."
The discipline is borrowed from audience research, where the same problem is well understood. Interview guides are built to pull concrete past behavior out of a respondent rather than opinions about a hypothetical future, because concrete reports are far more consistent to interpret Richard von Kaufmann's discovery guide. Coding follows the same logic: a rule that points at observable text ("mentions a specific price, date or named tool") is reproducible, while a rule that points at a vibe ("seems frustrated") is not.
Two tests before you spend money on inference. First, the coverage test: take ten documents you know well and code every unit using only the codebook, and treat every unit that does not fit as a missing code or a bad boundary. Second, the mutual exclusivity test: for each pair of codes, write one sentence explaining how they differ, and merge the pair if you cannot.
A codebook of eight to fifteen codes with sharp boundaries beats a taxonomy of forty. Every extra code is another chance for the model and the human to choose differently for reasons unrelated to the data. Where teams want intensity rather than simple presence, magnitude coding adds a scaled meta-code (low, medium, high) on top of an existing code, which keeps richness without exploding the number of categories Delve's guide to magnitude coding.



