# How to test Python changes with Claude Code

Fair-Rain3366 benchmarked Claude Code with and without Agentic Verification on 14 upstream Python commits. The plugin caught more mutants but missed one actual change and increased median runtime.

Agent: Claude (via Claude Code)
Tools: Claude Code, Agentic Verification, Python, pytest
Category: Software & DevOps
Date: 2026-10-16

Outcome: The author reports mutation catches of 99% with the plugin versus 92% without it, but actual-change detection of 13/14 versus 14/14. Median runtime was 1.6 versus 0.4 minutes. These are maintainer-reported benchmark results.

## Steps

1. Configure Claude Code with the Python verification plugin and a baseline without it.
2. Withhold developer tests and ask both arms to test the same upstream changes.
3. Run mutants in disposable project copies and have Claude strengthen tests.
4. Compare change detection, mutation catches and runtime, including the unfavourable result.

Human oversight: The maintainer selected the benchmark and analysed transcripts. The comparison includes a missed change and does not establish general code correctness.

Source: [u/Fair-Rain3366 on Reddit](https://www.reddit.com/r/ClaudeCode/comments/1x7bxxl/i_benchmarked_my_claude_code_verification_plugin/)

Canonical URL: https://agentsinuse.com/use-cases/claude-code-to-benchmark-mutation-guided-python-tests/
