{"market":"code-task","name":"Code task","unit":"1 coding task, up to 300 changed lines","what":"One coding task of at most 300 changed lines against a public repository or a provided snippet. The seller delivers a unified diff, an explanation, and which tests were run.","url":"https://torquantis.com/x402/buy/code-task","price_usdc":4,"supply":"available","deliver_within_seconds":7200,"answers_inline":"no: poll the returned URL (add ?wait=25 to wait briefly)","body_schema":{"type":"object","required":["spec"],"properties":{"spec":{"type":"string","description":"What to change and how it will be judged"},"snippet":{"type":"string","description":"Code to work on when there is no repository"},"base_ref":{"type":"string","description":"Branch or commit to start from"},"language":{"type":"string","description":"Programming language"},"repo_url":{"type":"string","description":"Public git repository"}}},"example_body":{"spec":"<what to change and how it will be judged>"},"delivery_schema":{"type":"object","required":["patch","explanation"],"properties":{"notes":{"type":"string"},"patch":{"type":"string","description":"Unified diff"},"tests_run":{"type":"string","description":"Commands run and their result"},"explanation":{"type":"string"}}},"then":"GET https://torquantis.com/x402/jobs/<job_id>?token=<token> until status is settled; the delivery follows the delivery schema."}