{"uid":"cap_bfiBSLNg5pM0ZuFjZvg1n","slug":"validation-rule-results-numeric-row-ordering-explicit-missing-value-2dc5d38e","name":"Validation Rule Results — Numeric Row Ordering + Explicit Missing-Value Fill","description":"Validation rule results — Numeric row ordering + Explicit missing-value fill: Numeric row ordering + Explicit missing-value fill for supplied validation rule results records (passed_rules, total_rules). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-analytics-08-124?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","passed_rules","total_rules"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"total_rules":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"passed_rules":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","total_rules":1,"passed_rules":10,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","total_rules":2,"passed_rules":20,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","total_rules":3,"passed_rules":15,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","total_rules":4,"passed_rules":30,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["passed_rules","total_rules"],"type":"string","default":"passed_rules"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xykxs3tbqplGb9LwCRoic","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sorts validation rule result rows numerically and fills missing passed_rules or total_rules values using zero, mean, or median imputation, producing two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have up to 50 rows of validation rule results with row_id, dataset_group, date, passed_rules, and total_rules — some total_rules values are missing. Can you sort them numerically and fill in the missing total_rules values using median imputation, and give me the two analytical reports?","exampleUseCases":[{"title":"Impute missing passed_rules in quality audit","prompt":"I've got 80 rows of data quality audit results with some missing passed_rules counts — can you fill those gaps using the mean and also sort all the rows numerically so I can see them in order? My fields are row_id, dataset_group, date, passed_rules, and total_rules."},{"title":"Prepare validation metrics for dashboard","prompt":"I need to clean up my validation rule result data before loading it into a dashboard — there are null total_rules entries across about 120 rows. Fill the nulls with zero and sort everything numerically, then give me the two reports."},{"title":"Analyze multi-group rule pass rates","prompt":"I have validation results across two dataset groups — group-a and group-b — for about 30 rows from October 2026. Some passed_rules values are missing. Can you sort the rows numerically and use median imputation to fill the gaps in passed_rules?"}],"resultDescription":"Returns two independent analytical reports: one showing the rows sorted in numeric order, and one with missing values for the selected field (passed_rules or total_rules) filled using the chosen method (zero, mean, or median). Reports are generated locally with no external lookups.","failureModes":["More than 200 rows submitted — exceeds the maxItems limit","Missing required fields (row_id, dataset_group, date) in one or more row objects","Invalid date format (must match YYYY-MM-DD pattern)","Invalid field enum value (must be passed_rules or total_rules)","Invalid method enum value (must be zero, mean, or median)","Payment failure or insufficient USDC balance for the $0.01 call"],"whenToPreferThis":"Choose this endpoint when you have up to 200 validation rule result records with passed_rules or total_rules fields and need both numeric ordering and missing-value imputation in a single call. It is ideal for lightweight, local data cleaning of validation metrics without requiring external data sources, live lookups, or prediction models. Prefer it over general data-processing pipelines when the specific schema (row_id, dataset_group, date, passed_rules, total_rules) matches your data and you want two bundled reports at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:51:38.651Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-numeric-row-ordering-explicit-missing-value-2dc5d38e"}