{"uid":"cap_D_RheXUZswEb6HPzUvOZY","slug":"validation-rule-results-numeric-interval-filter-two-measure-correlation-ce8cc7df","name":"Validation Rule Results — Numeric Interval Filter + Two-Measure Correlation","description":"Validation rule results — Numeric interval filter + Two-measure correlation: Numeric interval filter + Two-measure correlation 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-131?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"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_4yk4obOCBtcZ1YwS4tJY8","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":"Filters validation rule result rows by a numeric interval on a selected measure and computes a two-measure correlation (passed_rules vs total_rules) across up to 200 supplied rows, returning two independent analytical reports.","exampleAgentPrompt":"I have 150 rows of validation rule results with passed_rules and total_rules for each dataset group and date — can you filter to rows where passed_rules is between 5 and 50 and run a correlation analysis between passed_rules and total_rules across all the records?","exampleUseCases":[{"title":"Data quality pass-rate correlation check","prompt":"Here are 80 rows of daily validation results across two dataset groups, each with passed_rules and total_rules. Filter to rows where total_rules is between 10 and 100, and tell me how strongly passed_rules and total_rules are correlated."},{"title":"Outlier detection in rule execution metrics","prompt":"I've got validation rule results going back 90 days — can you filter the records where passed_rules falls between 0 and 20 and also compute the correlation between passed_rules and total_rules so I can spot anomalies?"},{"title":"Multi-group validation trend analysis","prompt":"I have validation records for group-a and group-b from the last quarter. Run an interval filter on passed_rules between 15 and 200, and give me the two-measure correlation report between passed_rules and total_rules for these groups."}],"resultDescription":"Returns two independent analytical reports: (1) a numeric interval filter report listing which rows fall within the specified minimum/maximum range for the chosen field, and (2) a correlation report quantifying the statistical relationship between passed_rules and total_rules across all supplied rows. Both reports are computed locally without external lookups or predictions, covering up to 200 input rows.","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 error","minimum greater than maximum — may return empty filter result set","Null values in passed_rules or total_rules — correlation may be undefined or skipped","Payment of 0.01 USDC not completed — endpoint returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of validation rule result records (with passed_rules and total_rules fields) and need both a numeric interval filter and a two-measure correlation in a single $0.01 call. It is ideal for data quality teams who want to quickly explore the statistical relationship between rule pass counts and total rule counts across dataset groups without setting up their own analytics infrastructure. Prefer alternatives if you need more than 200 rows, live data lookups, predictive modeling, or a single-measure analysis only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:35.841Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-numeric-interval-filter-two-measure-correlation-ce8cc7df"}