{"uid":"cap_hzC2ZxYdjuIwVRbtZLX7F","slug":"validation-rule-results-numeric-row-ordering-secondary-measure-bbc560ec","name":"Validation Rule Results — Numeric Row Ordering & Secondary-Measure Weighted Mean","description":"Validation rule results — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + Secondary-measure weighted mean 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-121?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"}}},"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_QkmJQBA4y-mKNs4zJYoV_","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":"Computes numeric row ordering and secondary-measure weighted mean analytics for validation rule result records (passed_rules, total_rules) across up to 200 rows in two independent reports.","exampleAgentPrompt":"I have a batch of validation rule results — rows with passed_rules and total_rules values across groups like group-a and group-b from 2026-10-01 to 2026-10-04. Can you run a numeric row ordering and a weighted mean analysis on the passed_rules field and give me both reports?","exampleUseCases":[{"title":"Data quality audit across dataset groups","prompt":"I have 50 rows of validation results with passed_rules and total_rules for two dataset groups (finance and ops) from last month. Can you rank them by numeric ordering on passed_rules and also compute the weighted mean so I can see which group is performing best?"},{"title":"Pipeline validation rule monitoring","prompt":"Here are 120 rows of daily validation rule records across our ETL pipeline groups — each row has a date, row_id, passed_rules, and total_rules. Run both the numeric row ordering and secondary-measure weighted mean on total_rules so I can spot any problematic days."},{"title":"Comparing rule compliance across groups","prompt":"I've got validation results for four dataset groups over the past quarter, up to 200 rows total with passed_rules and total_rules. Give me the numeric ordering of the rows and the weighted mean for passed_rules so I can compare compliance rates across groups."}],"resultDescription":"Returns two independent analytical reports for the submitted rows: (1) a numeric row ordering report ranking the rows by the selected field (passed_rules or total_rules), and (2) a secondary-measure weighted mean report computing the weighted average of the selected field. Both reports are derived locally from the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request exceeds maxItems limit and will be rejected","Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) on any row causes validation error","Date field not matching YYYY-MM-DD pattern causes schema rejection","Numeric values outside ±1,000,000,000,000 range are rejected","Invalid field enum value (not 'passed_rules' or 'total_rules') causes error","Empty rows array (minItems: 1 not met) causes rejection"],"whenToPreferThis":"Choose this endpoint when you need two fast, local statistical analyses — numeric row ordering and weighted mean — on validation rule result data (passed_rules, total_rules) with up to 200 rows, and no external data lookup, prediction, or live assessment is needed. It is cost-effective at $0.01 for both reports together, ideal for data quality pipelines, compliance audits, or recurring governance checks where you want ranked ordering and a weighted aggregate in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:51:36.137Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-numeric-row-ordering-secondary-measure-bbc560ec"}