Phase 2 outline

Module 05 of 08 · Outline

Tracing, Evaluation & Testing for LLM Applications

Trace runs, design datasets, measure quality, and prevent regressions.

Learning outcome: A dataset, evaluation runner, and comparison report.

Lesson outline

Lesson 5.1

Trace design

  • Run identifiers and nested spans
  • Model and tool timings
  • Redacting sensitive payloads

Lesson 5.2

Evaluation datasets

  • Representative synthetic examples
  • Groundedness and task-success rubrics
  • Human review versus automated scoring

Lesson 5.3

Regression testing

  • Mock-model unit tests
  • Integration tests and golden cases
  • Comparing quality, latency, and cost

Practice assignment

Evaluate your orchestration pipeline

  1. Create a representative synthetic evaluation dataset.
  2. Trace model and tool calls with redacted inputs.
  3. Compare two configurations against a documented baseline.

Deliverable: A dataset, evaluation runner, and comparison report.

Independent practice · no submission or grading

Reference reading