DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to catch quality regressions before a prompt or model change ships with AI Engineer Notebooks

Run an eval suite on every prompt or model change and compare results to the baseline.

Short answer: Open 02-evals-basics/01-measuring-outputs.ipynb and build metrics on a small task before you change anything; then run 04-evals/02-llm-as-judge.ipynb to set up a judge prompt and check its agreement with human labels; open 04-evals/03-regression-evals.ipynb and run the suite on your current prompt to record a baseline. All steps.

Authorization notice. AI Engineer Notebooks is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forAn AI engineer or tech lead who keeps changing prompts or swapping models and cannot tell whether quality went up or down.

The problemPrompt and model edits fix one case and quietly break others, and nobody measures the change.

The outcomeA repeatable eval run that compares a candidate prompt or model to the current one and flags regressions.

What you need first

  • A Google account to open Colab notebooks
  • A free Groq API key from console.groq.com (no credit card needed)
  • The key saved as a Colab secret, as the setup notebook describes
  • Basic Python and comfort reading API responses

Steps

  1. Open 02-evals-basics/01-measuring-outputs.ipynb and build metrics on a small task before you change anything.
  2. Run 04-evals/02-llm-as-judge.ipynb to set up a judge prompt and check its agreement with human labels.
  3. Open 04-evals/03-regression-evals.ipynb and run the suite on your current prompt to record a baseline.
  4. Change the prompt or model, run the same suite again, and compare the two results.
  5. Block the change if any tracked metric drops below the baseline.

Prompt for your agent

Using the repo calmrocks/ai-engineer-notebooks, run the regression eval in 04-evals/03-regression-evals.ipynb on <placeholder prompt file> before and after a change. Expected output: a table of baseline and candidate scores per metric. Verify that the judge's agreement with human labels was checked before you trust its scores.

Caveat. The regression notebook teaches the pattern of evals as CI, so wiring it into your own pipeline is up to you and the README does not cover that setup.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for calmrocks/ai-engineer-notebooks and "Catch quality regressions before a prompt or model change ships"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer