{"uid":"cap_MrP1Ms8vy2iYaJEzYuXIE","slug":"validation-rule-results-numeric-interval-filter-trailing-mean-series-61c06cd7","name":"Validation Rule Results — Numeric Interval Filter + Trailing Mean Series","description":"Validation rule results — Numeric interval filter + Trailing mean series: Numeric interval filter + Trailing mean series 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-126?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2},"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_ZerXL06NFO_sC9tfCBN6s","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":"Applies a numeric interval filter and computes a trailing mean series on validation rule result records (passed_rules, total_rules) for up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"Take my validation rule results data — 50 rows with passed_rules and total_rules per date — filter them to only records where passed_rules is between 5 and 95, and compute a trailing mean series with a window of 7 for the passed_rules field; give me both the interval filter report and the trailing mean report.","exampleUseCases":[{"title":"Data quality trend monitoring","prompt":"I have 120 rows of daily validation results for my pipeline, each with a date, dataset_group, passed_rules, and total_rules. Filter the passed_rules values to only those between 10 and 80, then compute a trailing mean with a window of 5 — I want to see the smoothed trend in rule pass rates."},{"title":"Outlier exclusion before rolling average","prompt":"Here are my validation records for October — about 90 rows. I want to strip out any total_rules values outside the 0 to 50 range, then compute a rolling mean with a window of 3 on total_rules so I can see the smoothed baseline without extremes."},{"title":"Dataset group rule pass analysis","prompt":"Run an interval filter on my passed_rules field keeping only values between 20 and 200, and compute a trailing mean series with window size 10, across all 150 of my validation rows. I need both reports to compare rule pass stability across my dataset groups."}],"resultDescription":"Returns two analytical reports: (1) records filtered to the specified numeric interval for the chosen field, and (2) a trailing mean series computed over the chosen field with the specified window size — both derived from the supplied validation rule results data of up to 200 rows.","failureModes":["Fewer than 1 row or more than 200 rows submitted — request rejected","Window size larger than number of rows — trailing mean series may be empty or produce minimal output","Minimum value greater than maximum value — interval filter returns no records","Missing required fields (row_id, date, dataset_group) — validation error","Date field not matching YYYY-MM-DD pattern — schema validation failure","Numeric values outside allowed range (±1,000,000,000,000) — schema rejection"],"whenToPreferThis":"Choose this endpoint when you have pre-collected validation rule result records (passed_rules, total_rules) and need both a numeric interval filter and a trailing mean series computed together in one call at low cost. Ideal for offline/batch analytical workflows on data quality metrics without needing live data lookup, prediction, or external integrations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:51:32.133Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-numeric-interval-filter-trailing-mean-series-61c06cd7"}