Inspect AI Tutorial: Fail Your CI Build on a Bad LLM Eval
Inspect AI tutorial: build your first LLM eval, find out why it failed, and make CI fail the build when accuracy drops below 0.9. ๐ Test your live AI agent: https://www.testmuai.com/agent-testing/?utm_source=youtube&utm_medium=video&utm_campaign=inspect-ai-llm-eval-ci&utm_term=XUJ9oIcitFI ๐ข Agent Testing is the AI agent testing platform from TestMu AI. ๐น Install: pip install inspect-ai openai, then pick any provider/model ๐น One task = dataset + solver + scorer (3 refund-policy questions) ๐น Use phrases as targets: "no" also matches "not" ๐น No API key? Run it on mockllm, Inspect's built-in test model ๐น First run scores 0.667 (2 of 3). inspect view shows why: a stale label (14 days vs a 30-day policy) ๐น gate.py reads the newest log and exits 1 below 0.9, so the build fails. Fix the label and it passes ๐น Inspect checks the model. TestMu AI Agent Testing checks the live agent with simulated customers. Run both #InspectAI #LLMEvals #AIEvals #CICD #AIAgents




Join the discussion
Have something to add?
Sign in to reply, follow this thread, and earn XP when your answer helps someone.