{"uid":"cap_WMR_mkoOqNW-PNv8oEbi9","slug":"validation-rule-results-iqr-outlier-flags-secondary-measure-weighted-041d9192","name":"Validation Rule Results — IQR Outlier Flags + Secondary-Measure Weighted Mean","description":"Validation rule results — IQR outlier flags + Secondary-measure weighted mean: IQR outlier flags + 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-177?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_lcXj-2GaIZVXpolMkfYx8","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 statistical analyses on validation rule result records: IQR-based outlier detection and a secondary-measure weighted mean, returning both reports for up to 200 rows.","exampleAgentPrompt":"Can you run IQR outlier detection and a weighted mean analysis on my validation rule results — I have 4 rows for groups group-a and group-b from October 2026, with passed_rules as the field to analyze?","exampleUseCases":[{"title":"Flag anomalous data quality check rows","prompt":"I have a batch of 50 daily validation snapshots with passed_rules and total_rules for several dataset groups — can you run IQR outlier flagging and a weighted mean on passed_rules to see which days had unusually low rule pass rates?"},{"title":"Compare rule compliance across dataset groups","prompt":"For my two dataset groups, alpha and beta, I've got 30 rows of validation results from last quarter. Run both the IQR outlier flags and the secondary-measure weighted mean on total_rules so I can see which groups are behaving abnormally."},{"title":"Monitor pipeline health after a schema migration","prompt":"We just migrated our data pipeline and I want to check if any of the 80 post-migration validation result rows are outliers — use IQR outlier detection and the weighted mean on passed_rules across all dataset groups to surface anything suspicious."}],"resultDescription":"Returns two statistical reports for the supplied rows: (1) IQR outlier flags per row indicating which records fall outside the interquartile range for the selected field, and (2) a secondary-measure weighted mean computed across the supplied data. Both reports are computed locally with no external lookups.","failureModes":["Fewer than 1 row supplied — minimum item count not met","More than 200 rows supplied — exceeds maxItems limit","Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) on any row","Date field does not match YYYY-MM-DD pattern — validation error","Numeric values outside allowed range (±1,000,000,000,000)","Invalid field enum value — must be 'passed_rules' or 'total_rules'","Payment failure — 0.01 USDC not provided via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you have up to 200 validation rule result records and need both IQR-based outlier detection and a weighted mean in a single paid call. Ideal for data quality monitoring workflows where you want statistical anomaly flagging on pass/fail rule metrics without any external data fetching or model inference. Prefer this over generic stats tools when your data is already structured as passed_rules and total_rules per group and date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:36:39.704Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-iqr-outlier-flags-secondary-measure-weighted-041d9192"}