Editing
Prompt Engineering
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Evaluating</span> == Expert prompt engineers evaluate prompts systematically, not by feel: '''Regression test suites''': A set of 50β200 test prompts with known expected outputs. Every prompt change is run against this suite before deployment. Track pass rate, not just spot-check a few examples. '''Prompt sensitivity analysis''': Vary minor aspects of the prompt (different wording, different delimiter style, different example order) and measure output variance. Robust prompts should produce similar quality across these variations. '''Adversarial testing''': Deliberately try to break the prompt β inject contradictory instructions, provide edge-case inputs, attempt prompt injection. Identify and patch vulnerabilities before deployment. '''A/B testing in production''': Compare two prompt variants by routing a random fraction of traffic to each, measuring downstream business metrics (task success rate, user satisfaction, hallucination rate). Expert practitioners maintain a '''prompt changelog''' β every production prompt change is documented with before/after performance metrics, the rationale for the change, and rollback instructions. </div> <div style="background-color: #2F4F4F; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information