testlens_mutate
Mutation-test Python code: submit the module code and unittest test cases; TestLens generates small mutants (flipped comparisons, swapped operators, inverted booleans), runs the tests against each and reports the mutation score plus every SURVIVOR - behaviour the tests do not check. Free, no key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>",
"tests": "<tests>"
},
"name": "testlens_mutate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python module (saved as solution.py) | |
| tests | Yes | unittest test cases importing solution |