validate_test_contract
Validate a test or test suite against the mandatory 8-section contract to ensure compliance and completeness in LLM-generated code testing.
Instructions
Validate a test or test suite against the 8-section contract.
Use this to check any existing test — generated or hand-written — for compliance. The contract requires all 8 sections: Test ID, Why Generated, Requirement Mapping, How it Exercises, Coverage Contribution, Expected Outcome, Gaps, Meaningfulness Check.
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": "validate_test_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_dict | No | Structured test as dict with 8-section keys | |
| tests_list | No | List of raw markdown strings for suite-level validation | |
| test_content | No | Raw markdown test text (paste any test here for quick validation) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||