{"uid":"cap_78E28slYCOCbSN1IJww8s","slug":"validation-rule-results-record-quality-audit-secondary-measure-e7396413","name":"Validation Rule Results — Record Quality Audit & Secondary-Measure Weighted Mean","description":"Validation rule results — Record quality audit + Secondary-measure weighted mean: Record quality audit + 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-016?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_7kcVnGFoCT-sHMMhXueOB","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 a record quality audit and a secondary-measure weighted mean for supplied validation rule result rows (passed_rules, total_rules) — two analytical reports on up to 200 rows.","exampleAgentPrompt":"Run a record quality audit and weighted mean analysis on my validation rule results — I have 4 rows: row-1 on 2026-10-01 for group-a with 10 passed_rules out of 1 total, row-2 on 2026-10-02 for group-b with 20 passed_rules out of 2 total, and so on — use passed_rules as the primary field.","exampleUseCases":[{"title":"Pipeline compliance audit across dataset groups","prompt":"I have validation rule results for two dataset groups over the past week — each row has a date, a group name, and how many rules passed out of the total. Can you run a record quality audit and compute the weighted mean for passed_rules across all 12 rows?"},{"title":"Daily rule-pass rate summary for data team","prompt":"Here are today's validation results for our ETL jobs — 8 rows with row IDs, dates, dataset_group labels, passed_rules and total_rules. Give me the quality audit report and the secondary-measure weighted mean so I can share it with the data team."},{"title":"Comparing total_rules weighted mean across groups","prompt":"I want to analyze the weighted mean for total_rules (not passed_rules) across my 50 validation records — I have row_id, date, dataset_group, passed_rules, and total_rules for each. Run both the quality audit and weighted mean reports using total_rules as the field."}],"resultDescription":"Returns two analytical reports: (1) a record quality audit summarizing pass/fail patterns and data completeness across the supplied validation rule rows, and (2) a secondary-measure weighted mean for the selected field (passed_rules or total_rules), both computed locally without any external lookup. Results cover up to 200 input rows.","failureModes":["Input array is empty or missing — minimum 1 row required","More than 200 rows submitted — request will be rejected","Row missing required fields (row_id, dataset_group, date, passed_rules, total_rules)","Date field does not match YYYY-MM-DD pattern","passed_rules or total_rules values outside allowed numeric range","field enum value is not 'passed_rules' or 'total_rules'","Payment of 0.01 USDC not completed — endpoint returns 402"],"whenToPreferThis":"Choose this endpoint when you have tabular validation rule result data (passed_rules, total_rules per row) and need both a record-level quality audit and a weighted mean statistic in a single paid call, without any need for external data enrichment, live lookup, or prediction. Ideal for data governance pipelines, ETL monitoring dashboards, or compliance reporting where offline analytical computation on a small batch (≤200 rows) is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:37:20.252Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-record-quality-audit-secondary-measure-e7396413"}