Bite: does a test notice my fix?
check_fixVerifies a code fix is covered by a test by running the project's tests with and without the change. Use it before reporting a bug fixed to confirm a test notices the fix or tells you to add one.
Instructions
Call this after you change code to fix a bug, before you tell the user it's fixed. Bite takes your change back out of a copy of the project and runs the project's tests: once with the change in, once without. Free, needs no key, never touches the user's files. Takes about twice as long as the tests do. The answer is one of: a test noticed (done); no test noticed (add a test that fails without your change and passes with it, then call this again); couldn't check, with the reason, such as the tests already failing with your change in (not a pass: tell the user); or nothing to check (no code the tests run changed). To ask about an earlier fix in plain words, without knowing its commit, use ask_bite instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | A commit id or branch name, for example main to check a whole branch's changes. Bite checks everything that changed since then, committed or not. Leave it out to check only the changes since the last commit, including uncommitted ones. | |
| folder | No | Path to the project you changed: its top folder or any folder inside its git repository, for example "/home/me/project". Leave it out to use the folder Bite was started in. |