Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

adaptive-testing

FreeNo executable scriptsNot checked

Design and implement adaptive testing systems using Item Response Theory (IRT). Use when working with computerized adaptive tests (CAT), psychometric…

modbenderby modbender★ 21 GitHub stars

About this skill

Adaptive Testing with IRT

Design computerized adaptive tests that measure ability efficiently and accurately using Item Response Theory.

Core Concept

Adaptive tests adjust difficulty in real-time based on student responses. A correct answer → harder question. Incorrect → easier question. The result: accurate ability estimates in ~50% fewer questions than fixed-length tests.

Key advantage: Traditional tests waste time on too-easy or too-hard questions. Adaptive tests spend time where measurement matters most — near the student's ability level.

Quick Decision Tree

You need to... See
Understand IRT models and parameters IRT Fundamentals
Design a new adaptive test Test Design Workflow
Choose item selection algorithm Item Selection
Decide when to stop the test Stopping Rules
Calibrate new questions references/calibration.md
Implement CAT algorithm references/implementation.md

IRT Fundamentals

The 3-Parameter Logistic (3PL) Model

Most adaptive tests use the 3PL model. Each question has three parameters:

  • a (discrimination) — How well the question differentiates ability levels. Higher = steeper curve. Typical range: 0.5 to 2.5
  • b (difficulty) — The ability level where P(correct) = 0.5. Range: -3 to +3 (standardized scale)
  • c (guessing) — Probability of guessing correctly. Usually 0.2 to 0.25 for multiple choice

Probability of correct response:

P(correct | ability, a, b, c) = c + (1 - c) / (1 + e^(-a(ability - b)))

Simpler models:

  • 2PL: Set c = 0 (no guessing parameter)
  • 1PL (Rasch): Set c = 0 and a = 1 for all items (only difficulty varies)

Use 3PL for high-stakes tests. Use 2PL/1PL when sample size is small (<500 responses per item).

Information and Standard Error

Information measures how precisely an item estimates ability at a given level. Peak information occurs when ability ≈ difficulty (b parameter).

Standard Error (SE) is the inverse of information:

SE = 1 / sqrt(Information)

Goal of CAT: Maximize information (minimize SE) at the student's true ability level.


Test Design Workflow

1. Define Test Specifications

  • Purpose: Placement, diagnostic, certification, progress monitoring?
  • Content domain: Single skill or multidimensional?
  • Target population: What ability range (-3 to +3)?
  • Constraints: Time limit, minimum/maximum length, content balance

2. Build Item Bank

Minimum bank size: 10× the average test length. For a 20-item CAT, you need ≥200 calibrated items.

Distribution targets:

  • Difficulty (b): Spread across expected ability range
  • Discrimination (a): Target 1.0 to 2.0 (high discrimination)
  • Exposure: No item used >20% of the time

Content balancing: If testing math, ensure geometry/algebra/etc. are proportionally represented.

3. Choose Algorithms

Pick one from each category:

Item selection: (see below)

  • Maximum Information
  • Randomesque (MFI + exposure control)
  • Content balancing

Ability estimation:

  • Maximum Likelihood Estimation (MLE)
  • Expected A Posteriori (EAP) — better for extreme scores
  • Weighted Likelihood (WLE)

Stopping rule: (see below)

  • Fixed length
  • Standard error threshold
  • Information threshold

4. Simulate Performance

Before going live, simulate 1000+ test sessions with known abilities. Check:

  • Average test length
  • SE at different ability levels
  • Item exposure rates
  • Content balance adherence

Adjust if needed.


Item Selection Strategies

Maximum Fisher Information (MFI)

Rule: Select the item with highest information at current ability estimate.

Pros: Optimal precision, shortest tests Cons: Overuses "best" items, poor security

Use when: Pilot testing, low-stakes practice

Randomesque (MFI + Exposure Control)

Rule: Select from top N items by information (e.g., top 5), choose randomly from that set.

Pros: Balances precision and security Cons: Slightly longer tests than pure MFI

Use when: Operational tests, default choice

a-Stratified

Rule: Start with high-discrimination items (high a), use mid-discrimination later.

Pros: Fast initial ability estimate Cons: Complex to implement

Use when: Very large item banks, research settings

Content Balancing

Rule: Track content area usage, prioritize underrepresented areas when selecting next item.

Implementation: Weight information by content constraint satisfaction.

Use when: Blueprint requirements, multidimensional tests


Stopping Rules

Fixed Length

Stop after N items (e.g., 20 questions).

Pros: Predictable time, simple Cons:

Full SKILL.md on GitHub

Install adaptive-testing in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

BUILD-BRIEF.mdCHANGELOG.mdCLAUDE.mdclawhub.jsonreferences/adaptive-testing.mdreferences/api-endpoints.mdreferences/calibration.mdreferences/implementation.mdspecs/CONTENT.mdspecs/DATA-MODEL.mdspecs/DESIGN-SYSTEM.mdspecs/PAGES.mdspecs/REQUIREMENTS.mdspecs/SITE-ARCHITECTURE.md

FAQ

What does the adaptive-testing skill do?

Design and implement adaptive testing systems using Item Response Theory (IRT). Use when working with computerized adaptive tests (CAT), psychometric assessment, ability estimation, question calibration, test design, or IRT models (1PL/2PL/3PL). Covers test algorithms, stopping rules, item selection strategies, and practical implementation patterns for K-12, certification, placement, and diagnostic assessments.

How do I install the adaptive-testing skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the adaptive-testing skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare adaptive-testing with