check
Validate code quality and functionality. Compile and execute supplied code against tests, or perform static analysis to reveal build errors and security findings.
Instructions
Check code before finishing.
language: python, javascript, typescript, java, csharp, c, cpp, go, rust or php. files: relative path -> complete file content for solution files. tests: relative path -> complete content for a self-contained test runner and cases.tsv. mode: full compiles and runs the supplied tests; static only reports source heuristics.
Limits: 20 files, 200 KB total, 15-90s timeouts. Paths must stay inside a temporary workspace. Any build error, failing case, or high-severity finding is returned as JSON. Fix it and call again. Code is compiled and executed locally in a temporary directory with a minimal environment. There is no network or filesystem sandbox; run only trusted code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | full | |
| files | Yes | ||
| tests | No | ||
| language | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |