{"service": "SwishrJobs", "version": "1.0.0", "execution_gate": "open", "execution_ready": true, "execution_blockers": [], "payment": {"available": false, "reason": "payments are not configured on this deployment", "protocol": "x402:2", "scheme": "exact"}, "capabilities": [{"id": "boundary-value-generation", "title": "Boundary value generator module with pytest tests", "summary": "Produce a standard-library Python module that produces boundary values for an integer range, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "bounds", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "boundary_values", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "boundary-values", "max_length": 32, "example": "boundary-values", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "The values immediately below and above each bound are produced, and an inverted range is rejected.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'boundary-values' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that produces the boundary and just-outside values for an integer range, with tests.", "I need boundary values for an inclusive integer range for test data.", "Generate a boundary-value module and prove it with pytest."], "when_to_use": "Choose this when you need the boundary and just-outside values of an inclusive integer range, with tests.", "when_not_to_use": "Do not choose this for non-integer ranges, random data generation, or property-based testing frameworks.", "tags": ["code-generation", "python", "testing", "boundary-values", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "boundary-value-generation", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "csv-json-transformation", "title": "CSV to JSON transform script with pytest tests", "summary": "Produce a standard-library Python module that transforms CSV text into a JSON array of objects, plus pytest tests. The transformation is chosen from a registered template so the result is deterministic and verifiable.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "generated", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "run", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "csv-to-json", "max_length": 32, "example": "csv-to-json", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The transform module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the transform."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Well-formed CSV input produces parseable JSON with one object per row.", "Header-only and empty inputs are handled without raising.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The transformation is fixed by the registered template. Bespoke per-column coercion rules need the agentic path, which is not enabled on this build.", "Standard-library only."], "example_requests": ["Give me a Python module that turns CSV text into a JSON array of objects, with tests.", "I have CSV and need JSON objects, one per row, produced by a tested function.", "Convert CSV to JSON and prove it with a pytest suite."], "when_to_use": "Choose this when you need a tested, standard-library function that parses CSV text into a JSON array of objects, one per row.", "when_not_to_use": "Do not choose this for per-column type coercion or bespoke rules, or if you need the file converted for you rather than a module that does it: this delivers code, not converted data.", "tags": ["data-transform", "python", "csv", "json", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "csv-json-transformation", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "data-validation-module", "title": "Data validation module with pytest tests", "summary": "Produce a standard-library Python module that validates a record and returns structured errors, plus pytest tests. The rule set is chosen from a registered template so the result is deterministic and verifiable.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "generated", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "run", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "validate-record", "max_length": 32, "example": "validate-record", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The validation module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the validation module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "A valid record returns an empty list.", "Each stated rule is exercised by at least one test.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The rules are fixed by the registered template. Bespoke rule sets need the agentic path, which is not enabled on this build.", "Standard-library only."], "example_requests": ["Write a Python module that validates a record against a fixed rule set and returns a list of error strings.", "I need a validation function that returns an empty list for valid input, with tests.", "Generate a data-validation module and its pytest suite."], "when_to_use": "Choose this when a record must be checked against a registered rule set and the result is a list of human-readable errors, with tests.", "when_not_to_use": "Do not choose this for rules outside the registered template, or when you need a schema-validation library rather than a self-contained module.", "tags": ["code-generation", "python", "validation", "records", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "data-validation-module", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "dataset-quality-report", "title": "Dataset quality report module with pytest tests", "summary": "Produce a standard-library Python module that computes a quality report for an array of records, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "qualreport", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "quality_report", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "quality-report", "max_length": 32, "example": "quality-report", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "The report states the record count, a per-field null count and completeness ratio, and the duplicate count.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'quality-report' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that reports record count, per-field presence and duplicate count for a dataset, with tests.", "I need a data-quality summary: null counts, completeness ratio, exact duplicates.", "Generate a dataset-quality report module and test it."], "when_to_use": "Choose this when you need a computed quality summary of a record array: counts, presence, nulls, completeness ratio, exact duplicates.", "when_not_to_use": "Do not choose this for statistical or semantic quality (outliers, drift, schema conformance beyond the fixed checks).", "tags": ["data-quality", "python", "report", "records", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "dataset-quality-report", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "duplicate-group-report", "title": "Duplicate group report module with pytest tests", "summary": "Produce a standard-library Python module that groups records sharing a key field, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "dupreport", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "duplicate_report", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "duplicate-report", "max_length": 32, "example": "duplicate-report", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Each repeated key value is reported with its count and the positions of its members.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'duplicate-report' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that groups records by a key field and reports duplicated values, with tests.", "I need to know which key values occur more than once, with counts and positions.", "Generate a duplicate-group report module and prove it with pytest."], "when_to_use": "Choose this when you need each repeated key value reported with its count and the positions of its members.", "when_not_to_use": "Do not choose this to remove duplicates (use record-deduplication) or to match near-duplicates.", "tags": ["data-quality", "python", "duplicates", "report", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "duplicate-group-report", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "edge-case-check", "title": "Edge-case check module with pytest tests", "summary": "Produce a standard-library Python module that reports boundary conditions for a text value, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "edgecheck", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "check_edge_cases", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "edge-cases", "max_length": 32, "example": "edge-cases", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Each boundary condition that holds is reported, and a non-string value is reported rather than raising.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'edge-cases' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that reports which boundary conditions a text value satisfies, with tests.", "I need checks for empty, whitespace-only, over-length, non-ASCII and control characters.", "Generate an edge-case check module and prove it with pytest."], "when_to_use": "Choose this when a text value must be classified against a fixed set of boundary conditions, one boolean each.", "when_not_to_use": "Do not choose this for validation with error messages (use data-validation-module) or for conditions outside the fixed set.", "tags": ["validation", "python", "edge-cases", "text", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "edge-case-check", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "field-mapping", "title": "Field mapping and renaming module with pytest tests", "summary": "Produce a standard-library Python module that renames and selects JSON fields using a mapping, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "fieldmap", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "map_fields", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "map-fields", "max_length": 32, "example": "map-fields", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Mapped fields are renamed, unmapped fields are dropped unless asked to be kept, and an array is mapped element-wise.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'map-fields' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that renames and selects JSON fields using a mapping, with tests.", "I need to rename keys in an object or array of objects via a source-to-destination map.", "Generate a field-mapping module and test it."], "when_to_use": "Choose this when fields must be renamed and selected via an explicit source-to-destination mapping.", "when_not_to_use": "Do not choose this for computed or transformed values: only names and selection change.", "tags": ["data-transform", "python", "mapping", "json", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "field-mapping", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "json-csv-conversion", "title": "JSON to CSV transform module with pytest tests", "summary": "Produce a standard-library Python module that renders a JSON array of objects as CSV text, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "csvrender", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "json_to_csv", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "json-to-csv", "max_length": 32, "example": "json-to-csv", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "A JSON array of objects produces CSV with one row per object and a header that is the union of the keys.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'json-to-csv' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python function that renders a JSON array of objects as CSV, with tests.", "I need JSON to CSV with the header being the union of all keys.", "Generate a JSON-to-CSV module and prove it with pytest."], "when_to_use": "Choose this when you need a tested function that renders a JSON array of objects as CSV, using the union of keys as the header.", "when_not_to_use": "Do not choose this when you need the conversion performed on your data now, or when the CSV format must be bespoke (delimiter, quoting rules).", "tags": ["data-transform", "python", "json", "csv", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "json-csv-conversion", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "json-schema-inference", "title": "JSON Schema inference module with pytest tests", "summary": "Produce a standard-library Python module that infers a JSON Schema from sample records, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "schemagen", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "schema_from_sample", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "schema-from-sample", "max_length": 32, "example": "schema-from-sample", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "The inferred schema declares each observed property's type and lists a key present in every sample as required.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'schema-from-sample' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed.", "The schema is inferred from the samples given. A type that no sample exercises cannot be inferred, and the output is a description of the samples rather than a validated specification."], "example_requests": ["Write a Python module that infers a JSON Schema from sample records, with tests.", "I need a JSON Schema generated from example objects, marking common keys as required.", "Generate a schema-inference module and prove it with pytest."], "when_to_use": "Choose this when you need a draft 2020-12 JSON Schema inferred from sample objects, with keys present in every record marked required.", "when_not_to_use": "Do not choose this for a hand-tuned schema or for constraints the samples do not express (formats, ranges, enums).", "tags": ["code-generation", "python", "json-schema", "inference", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "json-schema-inference", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "key-normalisation", "title": "Object key normalisation module with pytest tests", "summary": "Produce a standard-library Python module that rewrites JSON object keys to lower snake_case, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "keynorm", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "normalise_keys", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "normalise-keys", "max_length": 32, "example": "normalise-keys", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Keys are rewritten to lower snake_case and values are preserved unchanged.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'normalise-keys' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed.", "A run of capitals is not split further, so ``HTTPServer`` becomes ``httpserver`` rather than ``http_server``. That boundary is documented behaviour of the template, not an inference about intent."], "example_requests": ["Write a Python module that rewrites JSON object keys to lower snake_case, with tests.", "I need camelCase keys converted to snake_case without changing the values.", "Generate a key-normalisation module and a pytest suite."], "when_to_use": "Choose this when object keys must become lower snake_case, with values left untouched.", "when_not_to_use": "Do not choose this expecting acronym splitting: a capital run like HTTPServer becomes httpserver, not http_server.", "tags": ["data-transform", "python", "normalisation", "json", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "key-normalisation", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "malformed-record-detection", "title": "Malformed-record detection module with pytest tests", "summary": "Produce a standard-library Python module that reports records violating a fixed field contract, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "malcheck", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "detect_malformed", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "detect-malformed", "max_length": 32, "example": "detect-malformed", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Each offending record is reported with its index and the rule it violated, and a well-formed array reports nothing.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'detect-malformed' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that finds records violating a fixed field contract, with tests.", "I need a checker that reports the index and failed rule for each bad record.", "Generate a malformed-record detector and prove it with pytest."], "when_to_use": "Choose this when you need one entry per offending record, naming its index and the rule it broke, against a fixed contract.", "when_not_to_use": "Do not choose this for a contract outside the registered template, or if you need the records corrected rather than reported.", "tags": ["validation", "python", "records", "quality", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "malformed-record-detection", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "markdown-table-rendering", "title": "Markdown table renderer with pytest tests", "summary": "Produce a standard-library Python module that renders JSON records as a Markdown table, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "mdtable", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "to_markdown_table", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "markdown-table", "max_length": 32, "example": "markdown-table", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "The table has a header, a separator row, and one row per record, and a pipe inside a value is escaped.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'markdown-table' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that renders JSON records as a GitHub Markdown table, with tests.", "I need a Markdown table renderer that escapes pipes so data cannot break the table.", "Generate a Markdown-table module and test it."], "when_to_use": "Choose this when JSON records must become a GitHub-flavoured Markdown table with pipes escaped.", "when_not_to_use": "Do not choose this for HTML tables, spreadsheet formats, or column alignment rules beyond the template.", "tags": ["data-transform", "python", "markdown", "table", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "markdown-table-rendering", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "metadata-extraction", "title": "Metadata extraction module with pytest tests", "summary": "Produce a standard-library Python module that extracts key/value metadata from a document head, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "metaextract", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "extract_metadata", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "extract-metadata", "max_length": 32, "example": "extract-metadata", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Metadata pairs are extracted until the first non-metadata line, and a duplicate key is recorded rather than silently overwritten.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'extract-metadata' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that extracts 'key: value' metadata from a document head, with tests.", "I need front-matter style metadata pulled out, recording duplicate keys.", "Generate a metadata-extraction module and test it."], "when_to_use": "Choose this when 'key: value' metadata must be read from the head of a text document, preserving duplicate keys rather than overwriting.", "when_not_to_use": "Do not choose this for YAML/TOML front matter parsing or for metadata spread through the body.", "tags": ["data-extraction", "python", "metadata", "text", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "metadata-extraction", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "nested-flattening", "title": "Nested-object flattening module with pytest tests", "summary": "Produce a standard-library Python module that flattens a nested object into dotted-path keys, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "flatten", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "flatten_nested", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "flatten-nested", "max_length": 32, "example": "flatten-nested", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Nested keys become dotted paths and a list value is left as a leaf rather than being indexed.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'flatten-nested' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that flattens a nested object into dotted-path keys, with tests.", "I need nested JSON flattened to single-level keys like a.b.c.", "Generate a flattening module and prove it with pytest."], "when_to_use": "Choose this when a nested object must become single-level dotted-path keys, leaving lists as leaves.", "when_not_to_use": "Do not choose this if you need lists indexed into keys (a.0, a.1) or a custom separator: the template fixes the behaviour.", "tags": ["data-transform", "python", "flatten", "json", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "nested-flattening", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "python-multifile-package", "title": "Multi-file Python package with tests and README", "summary": "Produce a small multi-module Python package from a registered, deterministic template: an implementation module, a public facade, a pytest suite, and a README.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "textkit", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "analyse_text", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "multifile-package", "max_length": 32, "example": "multifile-package", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The public facade module."}, {"path_template": "/workspace/project/{module_name}_core.py", "description": "The implementation module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests covering both modules."}, {"path_template": "/workspace/project/README.md", "description": "Usage documentation for the package."}], "acceptance_criteria": ["All four declared files exist.", "The facade imports from the implementation module, so the package is genuinely multi-module rather than one file with extra decorations.", "The tests import the public facade and the implementation module, so a facade that stopped re-exporting the real functions fails verification.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The package's behaviour is fixed by the registered 'multifile-package' template. Bespoke package requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Only standard-library Python; third-party packages are unavailable in the sandbox unless already installed.", "Passing the declared tests proves the package matches the template's fixed behaviour; it does not prove fitness for an unstated requirement."], "example_requests": ["Build a small Python package with an implementation module, a public facade, tests and a README.", "I need a multi-file Python deliverable, not a single script.", "Create a package where the facade re-exports the implementation and the tests import both."], "when_to_use": "Choose this when the deliverable is a package rather than one file: a facade, an implementation module, a test suite, and a README, from a registered template.", "when_not_to_use": "Do not choose this for a single module (use python-utility-module) or for a package whose structure or behaviour is bespoke: only the registered template's shape is produced.", "tags": ["code-generation", "python", "package", "multi-file", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "python-multifile-package", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "python-utility-module", "title": "Python utility module with pytest tests", "summary": "Produce a small standard-library Python module from a registered, deterministic template, plus the pytest tests that verify it.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "generated", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "run", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "slugify|normalise-whitespace|truncate-text", "max_length": 32, "example": "slugify", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The utility module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "The module imports using only the standard library.", "At least three pytest test functions are present.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["Only the registered templates can be produced; arbitrary prose-to-code requests are out of scope and are rejected rather than approximated.", "Only standard-library Python; third-party packages are unavailable in the sandbox unless already installed.", "Passing the declared tests proves the module matches the template's fixed behaviour; it does not prove fitness for an unstated requirement."], "example_requests": ["Write me a small Python function that turns a title into a URL slug, with tests.", "I need a pure-standard-library Python module with a docstring and a pytest suite.", "Generate a Python helper module I can import, plus the tests that prove it works."], "when_to_use": "Choose this when you need one small, importable standard-library Python module whose behaviour matches a registered template, delivered with a passing pytest suite you can re-run yourself.", "when_not_to_use": "Do not choose this for a multi-file package (use python-multifile-package), for code needing third-party packages, or when you cannot name a registered template: the behaviour is fixed by the template and an unregistered request is rejected rather than guessed.", "tags": ["code-generation", "python", "module", "pytest", "standard-library"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "python-utility-module", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "readme-generation", "title": "README generator module with pytest tests", "summary": "Produce a standard-library Python module that generates a Markdown README from function signatures, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "readmegen", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "readme_from_signatures", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "readme-from-signatures", "max_length": 32, "example": "readme-from-signatures", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "One section is emitted per signature, listing its parameters and a fenced usage example.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'readme-from-signatures' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed.", "The README is generated from the signatures given. Descriptions are not invented: the output states the parameters and an example call, and makes no claim about what a function does."], "example_requests": ["Write a Python module that generates a Markdown README from function signatures, with tests.", "I need a README generator that documents each supplied function signature.", "Generate a README-generator module and prove it with pytest."], "when_to_use": "Choose this when a Markdown README must be produced from a list of function signatures, one section each.", "when_not_to_use": "Do not choose this for prose documentation or API references beyond signature-derived sections.", "tags": ["code-generation", "python", "documentation", "markdown", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "readme-generation", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "record-deduplication", "title": "Record deduplication module with pytest tests", "summary": "Produce a standard-library Python module that removes duplicate objects from a JSON array, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "dedupe", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "dedupe_records", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "dedupe-records", "max_length": 32, "example": "dedupe-records", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Duplicates are removed, the first occurrence is kept, and input order is preserved.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'dedupe-records' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that removes duplicate objects from a JSON array, keeping the first, with tests.", "I need deduplication by a key subset that preserves input order.", "Generate a dedupe module and a pytest suite for it."], "when_to_use": "Choose this when duplicates must be removed from a JSON array, keeping the first occurrence and preserving order, optionally on a key subset.", "when_not_to_use": "Do not choose this for fuzzy matching or similarity-based deduplication: the comparison is exact.", "tags": ["data-transform", "python", "deduplication", "json", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "record-deduplication", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "regex-from-examples", "title": "Regex builder module with pytest tests", "summary": "Produce a standard-library Python module that builds a regular expression from positive and negative examples, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "pattern", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "build_pattern", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "regex-builder", "max_length": 32, "example": "regex-builder", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "The pattern matches every positive example and no negative example.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'regex-builder' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed.", "The pattern is the escaped longest common literal prefix followed by ``.*``. It is a correct but deliberately literal pattern: it does not generalise to character classes, which would require guessing intent from too few examples and would silently match the wrong things."], "example_requests": ["Write a Python module that builds a regex from positive and negative examples, with tests.", "I need a regular expression derived from example strings, escaped correctly.", "Generate a regex-builder module and prove it with pytest."], "when_to_use": "Choose this when a regular expression must be derived from examples using the shared literal prefix, correctly escaped.", "when_not_to_use": "Do not choose this expecting a general regex synthesiser: it uses the longest literal prefix shared by the positive examples, and negative examples are used for checking, not for general inference.", "tags": ["code-generation", "python", "regex", "pattern", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "regex-from-examples", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "regression-suite-generation", "title": "Regression suite generator with pytest tests", "summary": "Produce a standard-library Python module that turns recorded input/output pairs into a pytest module, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "reggen", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "regression_assertions", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "regression-assertions", "max_length": 32, "example": "regression-assertions", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "The generated module is valid Python and defines one test per recorded pair, with the pairs embedded so they round-trip.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'regression-assertions' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed.", "The generated suite asserts against a placeholder identity transform; the caller must point it at the function under test. The deliverable is the suite and its structure, not a passing verdict on someone else's code."], "example_requests": ["Write a Python module that turns recorded input/output pairs into a pytest module, with tests.", "I have input/output examples and want a deterministic regression test suite.", "Generate a regression-suite generator and prove it with pytest."], "when_to_use": "Choose this when recorded input/output pairs must become one deterministic pytest case per pair.", "when_not_to_use": "Do not choose this to test behaviour not covered by the recorded pairs, or to generate non-deterministic tests.", "tags": ["code-generation", "python", "testing", "regression", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "regression-suite-generation", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "text-parser-module", "title": "Text parsing module with pytest tests", "summary": "Produce a standard-library Python module that parses a text format into a structured result, plus pytest tests including malformed input. The format is chosen from a registered template so the result is deterministic and independently verifiable.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "generated", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "run", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "parse-log-line", "max_length": 32, "example": "parse-log-line", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The parser module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the parser."}], "acceptance_criteria": ["The module file exists and defines the named function.", "The function returns a structured value for well-formed input.", "The function raises ValueError for malformed input.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The format is fixed by the registered template, not described in prose. A bespoke grammar needs the agentic path, which is not enabled on this build.", "Standard-library only."], "example_requests": ["Write a Python module that parses a key=value config file into a dict, with tests for malformed input.", "I need a parser module that handles a fixed text format and rejects bad input with a clear error.", "Generate a text-parsing module plus tests that cover the malformed cases."], "when_to_use": "Choose this when you need a standard-library parser for a registered text format, delivered with tests that include malformed input.", "when_not_to_use": "Do not choose this for a bespoke grammar the templates do not cover, or for formats needing a third-party parser library.", "tags": ["code-generation", "python", "parser", "text", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "text-parser-module", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "webhook-payload-validation", "title": "Webhook payload validation module with pytest tests", "summary": "Produce a standard-library Python module that validates a webhook payload envelope, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "hookcheck", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "validate_webhook", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "validate-webhook", "max_length": 32, "example": "validate-webhook", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "A valid envelope returns no errors, and each violated rule is reported as a distinct error string.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'validate-webhook' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed."], "example_requests": ["Write a Python module that validates a webhook JSON envelope and returns structured errors, with tests.", "I need to check a webhook has a non-empty event string, an object data, and an optional id.", "Generate a webhook-validation module and its pytest suite."], "when_to_use": "Choose this when an incoming webhook envelope must be validated to the registered shape and rejected with structured errors.", "when_not_to_use": "Do not choose this for provider-specific signature verification or for a schema that differs from the registered envelope.", "tags": ["validation", "python", "webhook", "json", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "webhook-payload-validation", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}, {"id": "xml-json-conversion", "title": "XML to JSON conversion module with pytest tests", "summary": "Produce a standard-library Python module that converts an XML document into JSON, plus pytest tests.", "inputs": [{"name": "module_name", "description": "Lowercase module name, used for the file name.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "xmlconv", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "function_name", "description": "Name of the function the module must define.", "required": true, "pattern": "[a-z][a-z0-9_]{0,30}", "max_length": 31, "example": "xml_to_json", "reserved": ["False", "None", "True", "_", "and", "as", "assert", "async", "await", "break", "case", "class", "continue", "csv", "datetime", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "io", "is", "json", "lambda", "match", "nonlocal", "not", "or", "pass", "pytest", "raise", "re", "return", "try", "type", "while", "with", "xml", "yield"]}, {"name": "template", "description": "Which registered behaviour to produce. The behaviour is fixed by the template and verified by the template's own tests.", "required": true, "pattern": "xml-to-json", "max_length": 32, "example": "xml-to-json", "reserved": []}], "deliverables": [{"path_template": "/workspace/project/{module_name}.py", "description": "The module."}, {"path_template": "/workspace/project/test_{module_name}.py", "description": "Pytest tests for the module."}], "acceptance_criteria": ["The module file exists and defines the named function.", "Well-formed XML converts to JSON preserving nesting, and malformed XML raises ValueError.", "Input outside the template's contract is rejected with ValueError or TypeError rather than silently accepted.", "`python -m pytest -q` exits 0 in the artifact directory."], "limitations": ["The behaviour is fixed by the registered 'xml-to-json' template. Bespoke requirements need the agentic path, which is not enabled on this build, so a request outside the template is rejected rather than approximated.", "Standard-library Python only; third-party packages are unavailable in the sandbox unless already installed.", "Only well-formed XML is converted. A document type definition, an external entity, or a namespace declaration is not resolved; ``xml.etree`` does not fetch external entities, which is why the conversion is safe on untrusted input."], "example_requests": ["Write a Python module that converts an XML document into JSON, with tests.", "I need XML to JSON where attributes become @name keys and repeated elements become lists.", "Generate an XML-to-JSON converter and test it, including malformed XML."], "when_to_use": "Choose this when you need a tested, standard-library XML-to-JSON conversion that keeps attributes as '@name' keys and collects repeated elements.", "when_not_to_use": "Do not choose this when the document uses DTDs, external entities, or namespaces: those are not resolved. It is also a code deliverable, not a conversion of your specific file.", "tags": ["data-transform", "python", "xml", "json", "pytest"], "verify_command": "python -m pytest -q", "model": "openhands/deepseek-v4.1-flash", "timeout_s": 1200, "requires_credentials": [], "recipe": "xml-json-conversion", "deterministic": true, "executed": false, "evidence": "", "provider_supports": true, "provider_available": true, "available": true, "availability_reason": "runnable with the configured provider", "executable_now": true}]}