QUESTION 1 OF 10

What belongs in a golden evaluation dataset?

Reveal the answer and explore the explanation.

01
EasyCore

What belongs in a golden evaluation dataset?

Answer
Answer

Curated set of representative inputs with reference answers or expected criteria.

Practical example

Check factual QA after changing a prompt.

PythonRelated concept example
cases = [{'expected':'yes','actual':'yes'}, {'expected':'no','actual':'yes'}]
accuracy = sum(c['expected']==c['actual'] for c in cases)/len(cases)
print(accuracy)

Exact match is useful for constrained outputs; use richer rubrics for open answers.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As