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

How to stress-test a fix for a flaky test with Arena Skill

Let 32 competitors attack and defend a proposed fix before you commit to it.

Short answer: Clone and copy the skill as described in the install steps of the README; then Estimate the cost first with python3 skills/arena/bracket.py plan --agents 32; in Claude Code, run /arena --agents 32 fix the flaky test in tests/test_api.py. All steps.

Who it is forA developer whose test suite fails now and then on a file like tests/test_api.py and who wants a fix that holds up.

The problemA single attempt at a fix can pass once and still miss the input that makes the test flaky.

The outcomeA surviving fix with the attacks that broke weaker candidates, so you can check the reasoning before you apply it.

What you need first

  • Claude Code, because the skill spawns sub-agents with the Agent tool
  • Python 3.8 or newer
  • git, to clone the repo (or copy the folder by hand)
  • Tokens to pay for the sub-agent calls, which the README says is the main cost

Steps

  1. Clone and copy the skill as described in the install steps of the README
  2. Estimate the cost first with python3 skills/arena/bracket.py plan --agents 32 (inferred, check the README)
  3. In Claude Code, run /arena --agents 32 fix the flaky test in tests/test_api.py
  4. Review the attacks the winning fix survived, especially any MAJOR or FATAL ones
  5. Run the test suite yourself, since the judges reason about the code but do not run it for you

Prompt for your agent

Use the arena skill from https://github.com/Jakeschincariol/arena-skill to run /arena --agents 32 on the flaky test in <test file>. Expected output: the winning fix, the attacks it survived and the round count. Verify the result by running the project's own test suite before you apply the change.

Caveat. The README does not say the skill runs your tests, so a surviving fix still needs a real test run from you.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Jakeschincariol/arena-skill and "Stress-test a fix for a flaky test"

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