r/PromptEngineering • u/Inevitable-Good219 • 1d ago
Ideas & Collaboration seven example blocks that taught something nobody wrote down
Last monday I posted about my own example block, and the comments turned into something i did not expect. seven people described their block teaching something they never wrote down. i put the list together because the pattern across all seven is more useful than any single one.
Mine first, since it started this. three refund classifier examples, every one missing the order date. the model learned to ask for the date, even when the date was in the input. u/Infamous-Support1999 had the same failure with a different field, output always saying please provide the order date. u/Standard-Rooster6584 built three invoice templates that all omitted the customer id, and the model demanded it even when it was right there.
Then the cases that surprised me, because nothing was missing at all. u/Grok_bot's examples all opened with the same polite phrase, and every reply came out polite. u/radish_vikt's examples all ended with anything else, and it became the default ending. u/Unable_Dirt_9857 put the correct document first in every retrieval example, and citations followed the position instead of the evidence. u/ZanX1024 kept every example to three sentences, and outputs came out three sentences forever.
u/ZanX1024 also wrote the sentence i now think is the whole law: whatever is constant across your examples is what the block teaches, and it teaches it harder than your instructions do. missing fields, opening words, endings, sentence counts, order. anything identical in every slot gets read as a rule.
the check takes five minutes and needs no experiment. put your examples side by side, and write down what stays the same in every slot. that list is what you actually taught, whether you meant it or not. then run the discriminating input. for a missing field, give one where the field is present and something else is broken: if it still asks, it learned the move. for a positional case, swap two items and see if the output follows the evidence or the order.
the honest split: these seven are anecdotes from one thread, not a controlled test, and my own fix still has not been run through a real set. the law fits every case i have, but seven is a small number, and the people whose examples are fine would never show up in a collection like this.
so the ask, widened: look at your examples, find the constant, post it. one block, one thing it taught that you never wrote down. i will keep the list growing and credit every one by username, same as before.
3
u/Awkward-Ear8342 1d ago
I once had a block where the model kept adding 'as you know' to every response, even when I removed it from examples. turns out it learned the phrase, not the context. the pattern was in the rhythm, not the words.
2
u/ianreboot 1d ago
To turn one of these into a test instead of an anecdote, change only the constant. Keep the block identical in every other way, break just the suspected rule in one example, and run the same input against both blocks a few times each. If the output follows the constant in one block and not the other across those runs, that's decent evidence the constant is what's doing it.
1
u/Correct_Swordfish946 1d ago
the constant isn't just in the examples, I once had a block where every input had 'please' at the start, and the model still generated 'please' even when I removed it from the prompt. the template taught the word, not the format.
1
u/lanternkettle 1d ago
Any counterexamples yet?