Uploaded November 2026 | Updated November 2026, 9 hours ago
Forking one run in Studio showed how the out-of-stock bug works, but one run can't tell you how often it happens across all the ways customers ask for a pizza. This lesson starts the Test stage by turning LangSlice traces into a LangSmith dataset and writing an evaluator that checks every topping on an order against the ingredient catalog.
You'll use a tree filter to pull every trace that added a pizza, including the correct orders, since those are what catch a regression. We also cover when a code-based evaluator is the right choice over an LLM judge, and the mistakes that make LLM judges unreliable, such as scoring on a 1 to 10 scale.
Chapters:
0:00 Why one fixed trace isn't enough
0:47 Offline vs online evaluation
1:28 Deciding what to measure
2:04 What is a dataset in LangSmith
2:55 How to create a dataset from traces
4:41 What reference outputs are for
5:28 Choosing an evaluator type
6:20 Common LLM-as-judge mistakes
7:29 Writing a code-based evaluator
8:06 What comes next
LangSmith Essentials is a free course on LangChain Academy. LangSmith is LangChain's framework-agnostic platform for agent engineering.
Resources:
→ LangSmith Essentials course: academy.langchain.com/courses/quickstart-langsmith-essentials
→ Course repo: github.com/langchain-ai/lca-langsmith-essentials
→ LangSmith: langchain.com/langsmith
Forking one run in Studio showed how the out-of-stock bug works, but one run can't tell you how often it happens across all the ways customers ask for a pizza. This lesson starts the Test stage by turning LangSlice traces into a LangSmith dataset and writing an evaluator that checks every topping on an order against the ingredient catalog.
You'll use a tree filter to pull every trace that added a pizza, including the correct orders, since those are what catch a regression. We also cover when a code-based evaluator is the right choice over an LLM judge, and the mistakes that make LLM judges unreliable, such as scoring on a 1 to 10 scale.
Chapters:
0:00 Why one fixed trace isn't enough
0:47 Offline vs online evaluation
1:28 Deciding what to measure
2:04 What is a dataset in LangSmith
2:55 How to create a dataset from traces
4:41 What reference outputs are for
5:28 Choosing an evaluator type
6:20 Common LLM-as-judge mistakes
7:29 Writing a code-based evaluator
8:06 What comes next
LangSmith Essentials is a free course on LangChain Academy. LangSmith is LangChain's framework-agnostic platform for agent engineering.
Resources:
→ LangSmith Essentials course: academy.langchain.com/courses/quickstart-langsmith-essentials
→ Course repo: github.com/langchain-ai/lca-langsmith-essentials
→ LangSmith: langchain.com/langsmith










