Grading Against Yourself
A nightly regression suite has scored between 0.93 and 0.95 for four months. Last week a prompt rewrite that support and users both preferred dropped it to 0.71, and the team reverted.
# build_golden_set.py (run once, in March)
for question in sample_production_queries(500):
answer = production_model.complete(SYSTEM_PROMPT, question)
golden.append({"q": question, "expected": answer})
# nightly_eval.py
score = mean(
judge_similarity(model.complete(SYSTEM_PROMPT, g["q"]), g["expected"])
for g in golden
)
What is this suite actually measuring?
Sign in to answer questions and track your progress
Sign In