{"uid":"cap_Oz1bQmPOay4hcTXYVmpHV","slug":"validation-rule-results-numeric-interval-filter-secondary-measure-49357a80","name":"Validation Rule Results – Numeric Interval Filter + Secondary-Measure Weighted Mean","description":"Validation rule results — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + 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-132?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_KsOygE-7LXO80f0wLEdwT","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 chosen field and computes a secondary-measure weighted mean, returning two analytical reports for up to 200 supplied rows.","exampleAgentPrompt":"I have 50 rows of validation rule results with passed_rules and total_rules columns — can you filter to rows where passed_rules is between 5 and 80, then compute a secondary-measure weighted mean across those rows and give me both reports?","exampleUseCases":[{"title":"Data quality pipeline health check","prompt":"I've got 120 rows of daily validation rule results across two dataset groups — filter them to rows where passed_rules falls between 10 and 100, then compute the weighted mean of total_rules as the secondary measure and give me both reports."},{"title":"Rule compliance rate analysis","prompt":"Can you analyze my validation rule results? I want to filter total_rules between 0 and 50 and then get a weighted mean report — I have about 80 rows with row_id, date, dataset_group, passed_rules, and total_rules."},{"title":"Outlier exclusion before weighted aggregation","prompt":"I need to exclude extreme values from my validation results before aggregating — filter passed_rules to only rows between 20 and 200, then run the secondary-measure weighted mean on my 40-row dataset and show me both analytical reports."}],"resultDescription":"Returns two analytical reports: (1) a numeric interval filter report showing which rows fall within the specified min/max range for the chosen field, and (2) a secondary-measure weighted mean computed across the filtered or full dataset, both derived from the supplied passed_rules and total_rules data without any external lookup.","failureModes":["Fewer than 1 row supplied returns a validation error","More than 200 rows supplied exceeds the row limit","Invalid date format (not YYYY-MM-DD) causes schema rejection","minimum value greater than maximum value may produce empty filter results","Null values in passed_rules or total_rules may affect weighted mean computation","field enum value not matching 'passed_rules' or 'total_rules' causes rejection"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of validation rule result data (passed_rules, total_rules) and need both a numeric range filter and a weighted mean computation in a single low-cost call ($0.01 USDC). It is ideal for data quality monitoring workflows where you want to isolate rows within a specific numeric band and simultaneously compute a weighted aggregate, all using supplied data without external lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:51:35.395Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-numeric-interval-filter-secondary-measure-49357a80"}