LEVEL 1 · STARTER

Prompt Regression Tester

Compare prompt revisions on recorded responses with explicit checks, paired regressions, and a reproducible release gate.

4 stages~8 hoursPythoncore
Validate cases before scoringScore recorded outputs without a modelCompare the same cases across revisionsGate releases on explicit tolerances
YOU END UP WITH

A prompt-change review kit that identifies exactly which user commitments broke.

USEFUL FOR
  • A prompt-change review kit that identifies exactly which user commitments broke.
  • The supplied recordings are authored fixtures.
WHY THESE LANGUAGES
  • Python The standard library makes parsing, scoring, and failure handling visible without hiding the mechanism behind a framework.
PROJECT OUTLINE

Prompt Regression Tester in 4 stages

Compare prompt revisions on recorded responses with explicit checks, paired regressions, and a reproducible release gate.

  1. Validate cases before scoring

    Validate unique case ids, prompts, and supported checks: contains, excludes, and json..

    starter · ~2 hours · Python

    evaluation contractschema validation
  2. Score recorded outputs without a model

    Score contains, excludes, and valid JSON checks.

    core · ~2 hours · Python

    replayassertionsfailure evidence
  3. Compare the same cases across revisions

    Return paired case outcomes and counts for regressions and improvements..

    core · ~2 hours · Python

    paired comparisonregression detection
  4. Gate releases on explicit tolerances

    Apply a finite minimum pass fraction and integer regression budget to a comparison report..

    stretch · ~2 hours · Python

    release gatesbudgetsempty evidence

Lessons this project uses

All projects · Course catalog · Source on GitHub