Add test cases
repovive_build_add_testcasesAppend test cases to an existing problem draft in one call, preserving current cases. For interactive problems, omit expectedOutput so the judge decides the verdict.
Instructions
Append test cases to a draft in one call. Cases are ADDED to whatever is already there — clear first with repovive_build_clear_testcases if you mean to replace them. For interactive problems omit expectedOutput; the interactor decides the verdict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases_json | Yes | JSON list of test cases: [{"input": str, "expectedOutput": str, "isSample": bool, "explanation": str (optional)}]. For interactive problems omit expectedOutput — the interactor decides the verdict. | |
| session_id | Yes | Build session id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |