# Exact match

> Exact match: A scorer that passes an output only if it equals the expected answer exactly. Suits short, exact answers; fails correct answers that are…

Canonical: https://llmdojo.dev/glossary/exact-match

A scorer that passes an output only if it equals the expected answer exactly. Suits short, exact answers; fails correct answers that are formatted differently.

Learn it in the lesson: [Scorers a program can apply](https://llmdojo.dev/learn/prompt-context-engineering/prompt-versioning/scorers) (Prompt and Context Engineering · Versioning Prompts and Catching Regressions).

## Interview questions about Exact match

- [A task returns JSON with a label. Which scorer fits it, and why not exact match or a contains check?](https://llmdojo.dev/interview/q/a-task-returns-json-with-a-label-which-scorer-fits-it-and)
- [How do you choose a scoring method for a new LLM feature?](https://llmdojo.dev/interview/q/how-do-you-choose-a-scoring-method-for-a-new-llm-feature)
- [Build a lightweight evaluation harness for a model served through Ollama: run a dataset of prompts, score the answers against references and report the results.](https://llmdojo.dev/interview/q/build-a-lightweight-evaluation-harness-for-a-model-served-through-ollama-run)
- [A coding agent writes SQL and notebooks over a company's data platform. How would you retrieve and rerank the right tables and notebooks for a request?](https://llmdojo.dev/interview/q/a-coding-agent-writes-sql-and-notebooks-over-a-company-s-data)
- [Design a question-answering agent over a law firm's legal memos, from ingestion and chunking to grounded, cited answers at scale.](https://llmdojo.dev/interview/q/design-a-question-answering-agent-over-a-law-firm-s-legal-memos)
- [Design an MVP RAG assistant that answers employee questions across Jira issues and Confluence pages, covering ingestion, retrieval, ranking and permissions.](https://llmdojo.dev/interview/q/design-an-mvp-rag-assistant-that-answers-employee-questions-across-jira-issues)
- [Complete a PyTorch pipeline that learns to predict highlight snippets in text sections from start and end positions, then train and validate it.](https://llmdojo.dev/interview/q/complete-a-pytorch-pipeline-that-learns-to-predict-highlight-snippets-in-text)

## Related
- [Prompt version](https://llmdojo.dev/glossary/prompt-version)
- [Test set](https://llmdojo.dev/glossary/test-set)
- [Glossary of every term](https://llmdojo.dev/glossary)
