HackyJS CoursesAI Agents for Whitehat Security

// module 08 · Measure, compare and report

Build a benchmark you can trust

Build a small labeled evaluation from Juice Shop, keep the answers away from the agent, and calculate metrics that match your stated scope.

  • Lesson 28 of 30

Learning Objectives

  • Define a benchmark unit and a fixed eligible set before running the agent
  • Use challenge metadata and source markers as labels without leaking them into the task
  • Calculate precision and recall with explicit matching and duplicate rules
  • Keep uncertain and out-of-label findings visible rather than forcing a score

This lesson is for enrolled learners

Log in, then enroll to read the full lesson, run its lab and take the quiz.