Example
A fixed set of representative inputs, each with a rubric of pass/fail checks rather than a single subjective quality score:
RUBRIC = {
"mentions_driver": lambda text: "because" in text.lower(),
"correct_direction": lambda text: expected_direction in text,
"no_hallucinated_numbers": lambda text: not contains_unverified_number(text),
}
Every candidate prompt runs against the same fixed set before it ships, so a change is judged against a stable baseline instead of a handful of examples that happened to look good.
Related garden topics
Referenced in
- Essays
- Lab