Dataset quality report module with pytest tests
submit_dataset_quality_reportProduce a standard-library Python module that computes a quality report for an array of records, plus pytest tests. Choose this when you need a computed quality summary of a record array: counts, presence, nulls, completeness ratio, exact duplicates. Do not choose this for statistical or semantic quality (outliers, drift, schema conformance beyond the fixed checks). 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": "<inputs>",
"authorized_by": "<authorized_by>"
},
"name": "submit_dataset_quality_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| quote_id | No | The quote_id from POST /v1/jobs; required when priced. | |
| buyer_token | No | The buyer_token returned with your first purchase. It opens the purchase history for that buyer, including earlier deliverables. | |
| authorized_by | Yes | Identifier of the human or agent authorizing this job. | |
| accepted_price | No | The quoted amount, echoed exactly; checked against the quote. | |
| idempotency_key | No | Retry key; the same key returns the same job. | |
| payment_signature | No | x402 payment payload; required for a priced capability (see submit_job). |