Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Think Like a PhD Student

Free · sign in to start and track progress

1 · Asking the question

  • 1The cycle and the question
  • 2Reading and searching the literature
  • 3Measuring what matters

    Exercise answers

    • Answer: Write metrics.py and the metric panel

2 · Designing and running the study

  • 4Designing the experiment
  • 5Pre-registration and trials
  • 6Open coding of failures
  • 7Running an annotation study

3 · Trusting and telling

  • 8Reproducibility and research hygiene
  • 9Analysis and honest reporting
  • 10Writing it up and peer review
CapstoneA small study on the triage agentReference implementation

Module 1 · Asking the question · Lesson 3

Measuring what matters

Construct validity for agent metrics: how a field in a schema differs from the thing you care about, three ways to operationalise "a helpful reply" and what threatens each, the four variants of Goodhart's law with agent examples, and a metric panel with a decision rule written before the data.

80 min 1 video 3 exercises 7-question quiz Answers
Setup for the exercises:Install Claude CodePython with uvThe Quillmoor triage kit

By the end of this lesson you can

  • Define construct, operationalisation and measurement validity and apply them to the needs_human and reason fields of a triage record
  • Propose three operationalisations of a quality judgement and name the validity threat to each
  • Name the four Goodhart variants and give an agent example of each
  • Design a metric panel (primary, guardrails, qualitative sample) for a research question and write its decision rule before any data
  • Critique a benchmark claim for construct validity using the questions in the current literature

On this page

  • Construct, operationalisation, measurement
  • needs_human, three ways
  • The reason field
  • Operationalising "a helpful reply"
  • Goodhart's four variants
  • The metric panel
  • Benchmarks and the population
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01Construct, operationalisation, measurement
  2. 02Operationalising "a helpful reply"
  3. 03Goodhart's four variants
  4. 04The metric panel
  5. 05Benchmarks and the population
  6. 06Connections
  7. 07Summary

Sources & further reading

  • Measurement and FairnessPaper · Jacobs, Wallach · Microsoft Research · 2019The measurement-modelling framework this lesson uses, construct, operationalisation, reliability and validity, brought from the social sciences into computing. Sections 2 and 3; the fairness setting is the example, the framework is general.
  • AI and the Everything in the Whole Wide World BenchmarkPaper · Raji, Bender, Paullada, Denton, Hanna · 2021Why a benchmark's score is a measurement of the benchmark's task, not of the general capability its name suggests. The argument behind the "population" part of every research question.
  • Measuring what Matters: Construct Validity in Large Language Model BenchmarksPaper · Bean, Kearns et al. · 2025Twenty-nine reviewers code 445 LLM benchmarks for construct validity and turn the findings into eight recommendations with a checklist. This lesson applies the recommendations to your own eval set; Contamination, saturation and broken tasks in Agent Benchmarks and Simulations covers the findings.
  • Categorizing Variants of Goodhart's LawPaper · Manheim, Garrabrant · 2018The four mechanisms (regressional, extremal, causal, adversarial) by which optimising a proxy pulls it away from the goal, each defined in turn with examples and sub-cases.
  • Quantifying construct validity in large language model evaluationsPaper · Kearns · 2026A recent attempt to put numbers on construct validity rather than argue it; read the introduction for how the question is framed, and treat the methods as current work rather than settled.
  • Can We Trust AI Benchmarks? An Interdisciplinary Review of Current Issues in AI EvaluationPaper · Eriksson et al. · 2025A survey of benchmark problems across disciplines, including the measurement and validity critiques in one place. Useful as the map for the citation chase on this lesson's topic.
  • Challenges in evaluating AI systemsLab research · Anthropic · 2023Lab experience of metrics coming apart from constructs, including a formatting change moving a benchmark score by about five points and a bias score of zero that meant the models weren't answering.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 7 more sections
  • 3 hands-on exercises
  • A 7-question quiz
  • Progress, quiz scores and bookmarks