{"uid":"cap_1SFKP0cN_tkIUYxQrbpgb","slug":"schema-conformity-trailing-mean-series-secondary-measure-weighted-mean-79f51ac3","name":"Schema Conformity — Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Schema conformity — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied schema conformity records (valid_records, checked_records). 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-02-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","valid_records","checked_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"dataset_group":{"type":"string","default":"","maxLength":80},"valid_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"checked_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","valid_records":10,"checked_records":1},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","valid_records":20,"checked_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","valid_records":15,"checked_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","valid_records":30,"checked_records":4}],"maxItems":200,"minItems":1},"field":{"enum":["valid_records","checked_records"],"type":"string","default":"valid_records"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_V8bRYA0rnmiespEezKHuy","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":"Computes a trailing moving average series and a secondary-measure weighted mean for schema conformity records (valid_records, checked_records) over up to 200 rows.","exampleAgentPrompt":"Can you run a trailing mean series and weighted mean analysis on my schema conformity data — I have 50 rows with valid_records and checked_records fields per date, using a window of 7, and I want the primary field set to valid_records?","exampleUseCases":[{"title":"Data Quality Trend Smoothing","prompt":"I have 120 rows of daily schema conformity records with valid_records and checked_records for two dataset groups — can you compute a trailing mean series using a window of 5 on the valid_records field so I can see the smoothed quality trend over time?"},{"title":"Weighted Mean for Compliance Reporting","prompt":"Run a secondary-measure weighted mean on my schema conformity dataset — 80 rows covering October, with checked_records as the weight — and give me both the trailing series and the weighted mean summary using a window of 10."},{"title":"Multi-group Schema Audit Analytics","prompt":"I'm auditing schema conformity across two dataset groups over the past quarter — can you analyze my 150 rows of valid_records and checked_records data with a trailing mean window of 14 and use valid_records as the primary field for both reports?"}],"resultDescription":"Returns two independent analytical reports: (1) a trailing mean series across up to 200 rows for the selected primary field using the specified window size, and (2) a secondary-measure weighted mean using the complementary field as the weight. Both reports are computed locally with no external lookups.","failureModes":["Fewer than 1 row supplied — minimum row count not met","Window size exceeds number of rows — insufficient data for trailing calculation","Missing required fields (row_id, date, valid_records, checked_records) — validation error","Date strings not matching YYYY-MM-DD format — pattern mismatch","More than 200 rows submitted — exceeds maximum row limit","Null values in both primary and secondary measure fields — insufficient numeric data for computation"],"whenToPreferThis":"Choose this endpoint when you have tabular schema conformity records (valid_records and checked_records) and need both a time-series trailing moving average and a cross-measure weighted mean in a single $0.01 call. Ideal for data quality pipelines, compliance dashboards, and audit workflows where you need smoothed trend analysis and weighted aggregation without external dependencies or live data fetching.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:30:21.306Z","isFirstParty":false,"canonicalSlug":"schema-conformity-trailing-mean-series-secondary-measure-weighted-mean-79f51ac3"}