{"uid":"cap_QBQJ5VZADThHDFlGIbPg8","slug":"validation-rule-results-analytics-two-measure-correlation-date-by-7fa68e55","name":"Validation Rule Results Analytics — Two-Measure Correlation + Date-by-Category Pivot","description":"Validation rule results — Two-measure correlation + Date by category pivot: Two-measure correlation + Date by category pivot 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-182?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_O5SHbGAQznb25-7kMybIj","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":"Runs two local analytical reports on validation rule result records: a two-measure correlation between passed_rules and total_rules, plus a date-by-category pivot table.","exampleAgentPrompt":"I have up to 200 rows of validation rule results with columns for row_id, dataset_group, date, passed_rules, and total_rules — can you run a two-measure correlation between passed_rules and total_rules and also pivot the results by date and dataset_group category?","exampleUseCases":[{"title":"Data pipeline quality correlation check","prompt":"I have my ETL pipeline's daily validation records for October — each row has a date, a dataset_group like 'sales' or 'inventory', passed_rules, and total_rules. Can you compute the correlation between passed_rules and total_rules and also give me a pivot of those numbers broken down by date and group?"},{"title":"Multi-team dataset compliance reporting","prompt":"We have validation results from three dataset groups — 'finance', 'ops', and 'hr' — across the last month, with passed_rules and total_rules for each day. Run a correlation report and a date-by-category pivot on these records so I can see which groups and dates are underperforming."},{"title":"Data quality audit before release","prompt":"Before we release this dataset, I want to check how strongly total_rules and passed_rules correlate with each other and see a pivot table of pass rates by date and dataset_group for our 150 validation result rows. Can you do both reports at once?"}],"resultDescription":"Returns two independent analytical reports computed locally on the supplied rows: (1) a two-measure correlation analysis between passed_rules and total_rules showing the statistical relationship, and (2) a pivot table breaking down the selected measure (passed_rules or total_rules) by date and dataset_group category. No external data is fetched; all analysis is performed on the up-to-200 input rows provided.","failureModes":["Fewer than 1 row submitted — request rejected","More than 200 rows submitted — exceeds max row limit","Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) — validation error","Date field not in YYYY-MM-DD format — pattern validation failure","Numeric fields out of allowed range — schema rejection","All values null for a measure — correlation cannot be computed","Payment not provided or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have pre-collected validation rule result records (passed_rules, total_rules) and need both a correlation analysis and a date-by-category pivot in a single call without any external data lookups. It is ideal for data quality monitoring workflows where you want quick local analytics on up to 200 rows of rule-based test results organized by dataset group and date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:40.387Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-analytics-two-measure-correlation-date-by-7fa68e55"}