Task Studio
Validate a task before candidates see it
A task enters the library only after its environment and four proof runs pass. Use the draft's run logs to fix the package, then preview the starting workspace.
The four sandbox runs
- 1
Starting code
Proves the task contains a real problem. The public tests must run, report results and fail on the original code.
- 2
Naive patch
Proves a plausible incomplete fix is insufficient. It must pass the public tests and fail at least one hidden trap.
- 3
Reference patch
Proves the intended solution works. It must pass the public and hidden checks in a fresh sandbox.
- 4
Repeat reference run
Checks repeatability. The same solution must produce the same check outcomes in another fresh run.
When a run fails
Open the draft in Task Studio and select its full sandbox report and logs. Fix the source package, upload a revised ZIP or retry the Git package, then inspect the new run. Earlier validation logs remain visible on the draft.
| Signal | What to check |
|---|---|
| No JUnit report or no test cases | Make both public and sealed commands write nonempty JUnit XML to $INQURO_JUNIT. Run the commands in the same working directories declared in task.json and grading.json. |
| Original passes | Keep a bug or missing feature in repo/. Add a candidate-visible test that fails on that starting state. |
| Naive patch fails public tests | Make the naive patch a believable partial fix that passes the visible suite. Its weakness belongs in a hidden trap check. |
| Trap does not fail | Check that the hidden test actually exercises the naive mistake, its JUnit name matches grading.json, and the check has trap: true. |
| Reference fails | Check that the patch applies to the untouched repo/ tree, the service is healthy, and its hidden checks name the correct stage IDs. |
| Runs disagree | Remove unseeded randomness, wall-clock dependence and external network calls from tests. Reset database state between runs. |
| Image or service fails to start | Review the Dockerfile, committed lockfile, service ports, dependency order and health path. Read the full sandbox log linked from the draft. |
Preview, then publish
Once validation passes, open the 30-minute preview sandbox from the draft. Inspect the starting code, instructions, services and browser preview as a candidate would. End the preview or let it expire. Publishing creates a version for your organisation's task library; use that version in an AI Developer assessment, then preview the candidate link from the role plan.
Return to the file-by-file guide