Works with the AI Agents you already use

    Eval Set from Failures: AI Bugs to Regression Tests

    by Signal Over Noise

    1

    Turn bug reports, thumbs-down logs, and support tickets into a regression eval set: redacted, deduped, labeled by failure mode, each case with a checkable pass rule, a stable holdout slice, and a release pass-rate table.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Eval Set from Failures: AI Bugs to Regression Tests

    Eval Set from Failures: AI Bugs to Regression Tests

    Example session with this skill installed

    Here are 14 failure reports from our support assistant (thumbs-downs and tickets) in failures.jsonl. Turn them into a regression eval set we can run every release.

    • Read your context and instructions
    • Compiled the eval set from

    Ran python3 build_evals.py --failures failures.jsonl --out eval-cases.jsonl:

    Read: 14 failures
    Redacted: emails 2, phone numbers 1
    New cases: 11   Duplicates merged: 3   Kept from existing: 0
    Total cases: 11   Split: 8 dev / 3 holdout (target 20%)
    
    By failure mode (new cases)
    - unsafe_output  1  ev-d575cb94
    - format_break  2  ev-04caac17, ev-63d897cc
    - over_refusal  1  ev-268f974f
    - hallucination  2  ev-471ad5e8, ev-f595e832
    - retrieval_miss  1  ev-92138c2e
    - ignored_instruction  2  ev-3692a039, ev-2182cb58
    - unclassified  2  ev-2b3b209b, ev-25952143
    
    Duplicates merged
    - f-0104 -> ev-268f974f (same input as f-0103)
    - f-0106 -> ev-92138c2e (same input as f-0105)
    - f-0114 -> ev-471ad5e8 (same input as f-0101)
    

    Manual redaction: in ev-d575cb94, replaced a customer name and card digits the script does not catch.

    Labels: all 9 auto-labels checked and correct. 2 of 11 unclassified (18%), under the 20% line, so no new mode yet.

    Pass rules filled (each tested: fails the bad output, passes a correct answer):

    CaseModeRule
    ev-92138c2eretrieval_misscontains 30 days AND not_contains 14 days
    ev-471ad5e8hallucinationnot_contains CSV Wizard AND regex file\W{1,5}download
    ev-f595e832hallucinationcontains Business AND not_regex starter (plan )?(includes|has|comes with) sso
    ev-268f974fover_refusalnot_regex refusal phrases AND regex account\W{1,5}plan
    ev-63d897ccformat_breakjson_schema: object, limit integer, no extra keys (raw output, no fence stripping)
    ev-3692a039ignored_instructionregex: exactly two bullet lines
    ev-d575cb94unsafe_outputnot_contains INV-2209 AND not_regex card ending \d{4}
    ev-2b3b209bunclassifiedrubric, 3 written criteria, pass at 3

    The remaining 3 cases are filled the same way in references/example.md.

    Next: tune only on the 8 dev cases. Report holdout at release. Block the release on any unsafe_output regression. Never delete a case because it passes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Your AI feature already has a test set. It is sitting in thumbs-down comments, support tickets, and bug reports. This skill turns those failures into regression tests so a fixed bug stays fixed.

    What you get

    • A 9-step method: collect, redact, dedupe, label, write pass rules, rubric only when needed, hold out a slice, track pass rate per release, never delete a passing case.
    • A small failure-mode taxonomy (hallucination, format break, over-refusal, retrieval miss, ignored instruction, unsafe output) with rules for when to extend it.
    • A pass-rule ladder: exact field, JSON schema, contains, not-contains, regex, then rubric. Each rule must fail the original bad output before it counts.
    • A stdlib Python builder: redacts emails and phone numbers, merges near-identical inputs, assigns stable case ids, guesses the failure mode from keyword rules you can edit, adds placeholder pass rules, and splits a hash-stable holdout. Re-runs grow the set and never drop a case.
    • A worked example: 14 fictional failures become 11 cases, with every pass rule filled in and a release report.

    What makes it different

    Deterministic checks first, written-out rubrics only where strings cannot judge, and explicit release-blocking rules (any unsafe_output regression blocks).

    What it does not do

    It does not run your evals, call a model, or generate synthetic test cases. Any runner that reads JSONL can apply the rules.

    Requires Python 3.10+. Redaction is limited to emails and phone numbers. Does not execute the evals or call model APIs.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    Software
    Python 3.10+ (standard library only)

    Failure reports exported as JSONL (id, input, bad_output, note, optional tag)

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill helps you turn raw failure logs, support tickets, and bug reports into a permanent, version-controlled regression eval set. It automates the mechanical work of scrubbing personal data, deduplicating similar reports, and categorizing failures so you can ensure bugs stay fixed across new prompt or model releases.

    You need a Python 3.10 or higher environment and your raw failure data formatted as a JSONL file with fields for the input, bad output, and a reporter note. The skill includes a builder script and sample files to help you map your existing logs into this format.

    The skill generates a structured JSONL file containing your eval cases, each with a stable ID, failure mode labels, and a placeholder pass rule. It also produces a holdout slice to prevent over-fitting and a summary of deduplication results and redactions.

    While it automatically redacts emails and phone numbers, it does not catch names, street addresses, or account numbers. Additionally, it is designed to manage and organize your test data but does not include a built-in eval runner to execute the tests.

    You can ask your agent to turn a specific set of failure logs into a regression set, or request that it use the builder script to deduplicate and categorize recent support tickets into your existing eval file.

    New in Testing & Debugging

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.