{"uid":"cap_Vl3ZCWJxFsI2fYrJnVzzN","slug":"validation-rule-results-two-measure-correlation-keyed-dataset-e0a0a0a8","name":"Validation Rule Results — Two-Measure Correlation + Keyed Dataset Comparison","description":"Validation rule results — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison 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-183?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},"other":{"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":21,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","total_rules":3,"passed_rules":17,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","total_rules":4,"passed_rules":33,"dataset_group":"group-b"}],"maxItems":200,"minItems":0}}},"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_ktpwHXZno35mr_r5ot9WX","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":"Analyzes validation rule result records (passed_rules, total_rules) by computing two-measure correlation and performing a keyed dataset comparison between two supplied datasets of up to 200 rows each.","exampleAgentPrompt":"Can you run a two-measure correlation and keyed dataset comparison on my validation rule results? I have two datasets of about 50 rows each — the primary set has passed_rules and total_rules per dataset_group from 2024-01-01 through 2024-02-19, and the comparison set covers the same groups from 2024-02-20 through 2024-04-10.","exampleUseCases":[{"title":"Data pipeline quality regression check","prompt":"I want to compare my validation rule results from last quarter versus this quarter — both sets have about 80 rows with passed_rules and total_rules per dataset_group per day. Can you run a correlation and a keyed comparison so I can see if our data quality has changed?"},{"title":"Cross-team validation audit","prompt":"We have two teams running the same validation rules on their datasets and I want to see how correlated their passed_rules and total_rules are, and where the datasets diverge row by row. Each team's data has around 120 rows with dates and dataset_group labels — can you analyze both?"},{"title":"Before-and-after schema change analysis","prompt":"After we updated our validation schema last month, I need to know if the relationship between passed_rules and total_rules shifted and where specific rows now differ from before. Can you run a two-measure correlation and keyed comparison on my pre-change and post-change validation records — about 60 rows each?"}],"resultDescription":"Returns two independent analytical reports: (1) a two-measure correlation report quantifying the statistical relationship between passed_rules and total_rules across the supplied rows, and (2) a keyed dataset comparison report highlighting row-by-row differences between the primary and secondary datasets matched on row_id, dataset_group, and date fields.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) — validation error","Date field does not match YYYY-MM-DD pattern — schema validation failure","Insufficient variance in both measures for meaningful correlation — degenerate result","Mismatched row_ids between primary and comparison datasets — reduced or empty keyed comparison output","Payment not included or insufficient USDC — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have structured validation rule result records with numeric passed_rules and total_rules fields and need both a correlation analysis between those two measures AND a keyed row-level comparison between two versions or sources of that data — all in a single paid API call. Best suited for data quality monitoring, regression detection after schema changes, or auditing differences between two teams or time periods running the same rule sets. Not appropriate if you need live lookups, predictive modeling, or more than 200 rows per dataset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:43.337Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-two-measure-correlation-keyed-dataset-e0a0a0a8"}