LLM evaluation and safety
Measure reliability, robustness and failure behavior.
Create evaluation sets from realistic user tasks and test against regressions.
Interview questions
Choose a question to reveal its answer.
01EasyCoreWhat belongs in a golden evaluation dataset?
Answer
What belongs in a golden evaluation dataset?
Curated set of representative inputs with reference answers or expected criteria.
Check factual QA after changing a prompt.
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.
02EasyCoreHow do you design an evaluation rubric?
Answer
How do you design an evaluation rubric?
Explicit criteria and scoring rules for evaluating responses.
Score grounding, completeness and clarity separately.
03EasyCoreWhen is human evaluation necessary?
Answer
When is human evaluation necessary?
Uses qualified reviewers to judge outputs under a defined procedure.
Compare nuanced answers where automatic metrics miss important errors.
04MediumHigh priorityHow do you validate an LLM-as-judge?
Answer
How do you validate an LLM-as-judge?
Uses a language model to assess outputs with a specified rubric and validation.
Scale response comparison while auditing judge bias.
05MediumHigh priorityWhen use pairwise evaluation instead of absolute scores?
Answer
When use pairwise evaluation instead of absolute scores?
Compares two candidate outputs under the same criteria.
Ask reviewers which response better satisfies the task.
06MediumHow do you prevent prompt regressions?
Answer
How do you prevent prompt regressions?
Repeated check for behavior that should remain correct after changes.
Ensure previously solved cases still work after model updates.
07MediumHow do you test an LLM against adversarial inputs?
Answer
How do you test an LLM against adversarial inputs?
Deliberately challenging input designed to expose failure modes.
Test whether a retrieved instruction can override tool authorization.
08MediumWhat is a false refusal?
Answer
What is a false refusal?
Rejecting a request that is allowed and could be answered safely.
Detect a harmless question unnecessarily blocked by a safety layer.
09HardHow do you measure groundedness?
Answer
How do you measure groundedness?
Checks whether generated claims are supported by available evidence.
Flag sentences that cannot be traced to supplied passages.
10HardHow do you compare models on cost and quality?
Answer
How do you compare models on cost and quality?
Balances resource expenditure against measured output quality.
Compare cheaper and larger models on a fixed test set.
Priority and difficulty are editorial study recommendations.
Technical reference: Documentation / paper ↗
Try a few practice questions
Explore the questions before creating a free account.