Skip to course content
Free LLMOps course

LLMOps for Reliable AI Applications

Module 06 Activity

Scenario

Your agent produces correct answers. This activity asks what it did to get them.

What you build

Trajectory scoring with mechanical checks, approval violations counted, and three independent stopping ceilings.

Steps

  1. Record the tool trajectory for 20 runs. Compare answer-only scoring against trajectory scoring and report where they disagree.
  2. Check the tool set and the ordering constraints separately. Assert on required precedence rather than an exact sequence.
  3. Count approval violations - gated action executed with no approver recorded. Confirm the count is zero.
  4. Implement step, token and time ceilings independently, and record which one fired for each stopped run.
  5. Build the five-boolean trajectory scorer and confirm two people running it get identical numbers.
  6. Report the ceiling-stop rate as part of your failure rate, not as a separate bucket.

Evidence to hand in

Review checklist