FDEInterviews logo

evaluation

FDE interview questions tagged evaluation, across every topic.

36 questions · 3 unlocked for you

Concepts behind "evaluation"

The curriculum that explains the ideas these questions test.

Foundational
🧠 Foundations of LLMs & GenAI
Why LLMs HallucinateAn LLM generates the most plausible next token given its training, with no built-in notion of truth or any source to check against, which is why it can produce confident, fluent, and completely fabricated answers. FDE loops test this because every enterprise buyer asks 'can we trust it,' and you need to explain the cause and the mitigations (grounding, refusal, citations, evals) in terms an exec will accept.
Foundational
📊 Evaluation & ML Foundations
Precision, Recall and F1Precision asks how many of your positive predictions were right; recall asks how many of the real positives you caught. They trade off against each other, F1 is their harmonic mean, and accuracy lies to you the moment the classes are imbalanced.
Foundational
📊 Evaluation & ML Foundations
Golden Datasets and Eval SetsA golden dataset is a representative, labeled set of examples drawn from real usage and held out from all tuning, used as the fixed yardstick for whether a change is better or worse. In classical ML it is called the test set; in LLM systems it is the eval set. Either way it is the single most valuable asset you build, because without it you are shipping on vibes.
Core
📊 Evaluation & ML FoundationsSign in
LLM-as-a-JudgeLLM-as-a-judge uses a strong model to grade outputs against an explicit rubric, so evaluation scales past the few hundred examples a human can read by hand. It only counts as evaluation once you have calibrated the judge against 50-100 human labels and reported how well it agrees, because an uncalibrated judge is just a confident opinion.
Core
📊 Evaluation & ML FoundationsSign in
Evaluating RAG SystemsThe central rule of RAG evaluation is to score retrieval and generation separately, because they fail for different reasons and you cannot fix what you cannot isolate. Retrieval is graded against a golden set with recall@k, precision@k, MRR, and NDCG; generation is graded for faithfulness and answer relevance, usually with an LLM judge. Recall@k is the ceiling on everything downstream.
Advanced
📊 Evaluation & ML Foundations🔒 Premium
Offline vs Online EvaluationOffline evaluation scores a change against a fixed golden set: fast, cheap, repeatable, and runnable in CI before anything ships. Online evaluation measures the change on real traffic and real users, usually via A/B, and is the only true read on impact. The two are not interchangeable: offline gains routinely fail to hold online because of distribution shift and metric gaming. The discipline FDE loops test is using offline to gate and online to confirm.