Energizer ยท Week 4

Print or save as PDF (โŒ˜/Ctrl + P). โ† Coach HQ

Bug Hunt

AI Trailblazers ยท High-School AI Workshop ยท Week 4 Energizer

ENERGIZER
FocusSpot & classify agent bugs (hallucination / tool error / prompt issue)
GroupTeams of 3โ€“4
Time12โ€“15 minutes

Objective

Get every team reading an agent's trace like a detective before they build their own. They'll find planted bugs in a fake agent transcript, classify each one โ€” hallucination, tool error, or prompt issue โ€” and call out a one-line fix. It turns today's theory into a reflex: name the failure, then fix it.

The setup

  1. Print one Round 1 transcript and one Round 2 transcript per team (samples below โ€” or write your own with the same planted bugs).
  2. Give each team a marker. On the sheet they'll circle each bug, write its type, and add a one-line fix beside it.
  3. Put the three bug types on the board so everyone can see the menu: Hallucination ยท Tool error ยท Prompt issue.

The rules โ€” read aloud

Round 1 ยท "Easy transcript" (~4 min)

  • "Find 3 bugs in this trace. For each: circle it, label the type, write a one-line fix."
  • "First team to find all three correctly classified wins the round. Speed matters โ€” but a wrong label doesn't count."

Round 2 ยท "Trickier transcript" (~5 min)

  • "This one hides 4 bugs, and one is a confident hallucination that looks totally normal. Read every Observation."
  • "Same job: circle, classify, one-line fix. Watch for a tool called with a wrong argument and an error nobody caught."

Sample buggy transcript (Round 1)

  • Thought: "I'll find the average passenger age." Action: mean_age("Name")  โ† tool called with the wrong argument (should be "Age")
  • Observation: ERROR โ€” can't average text. Thought: "Anyway, the average age was 29."  โ† hallucinated a fact after an error
  • System prompt: "Answer the question."  โ† vague prompt, no data source or format

Answer key: (1) tool error โ€” wrong argument โ†’ validate tool inputs; (2) hallucination โ†’ verify with the tool, don't invent; (3) prompt issue โ†’ tighten the prompt ("Use df; answer in one number").

The process

  1. Round 1 (~4 min): teams race the easy sheet. Call time when the first team locks in all three with correct types.
  2. Quick share (~1 min): a winning team reads out one bug + its fix. Name the type on the board.
  3. Round 2 (~5 min): the trickier sheet. Remind them the hallucination will look fine โ€” only a sanity check catches it.
  4. Reveal: walk the answer key. Tally which bug type each team missed most โ€” that's their watch-out for the hackathon.

The debrief

WORKSHOP TIE-IN: These are the exact bugs you'll hit in today's hackathon โ€” a tool called with a bad argument, an agent that invents an answer, a prompt too vague to follow, a crash nobody caught. Spot them fast here and you'll debug your own agent in seconds, not minutes.

WATCH-OUT: Don't let teams label everything "tool error." Push them to tell a hallucination (made-up fact) apart from a tool error (bad call/crash) apart from a prompt issue (unclear instruction) โ€” naming it right is what points to the fix.