{"uid":"cap_CPl9P9RzBHf0F5WmPzskj","slug":"data-reconciliation-trailing-mean-series-secondary-measure-weighted-42cae8bc","name":"Data Reconciliation — Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Data reconciliation — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied data reconciliation records (source_total, target_total). 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-11-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","source_total","target_total"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_total":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"target_total":{"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","source_total":10,"target_total":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","source_total":20,"target_total":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","source_total":15,"target_total":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","source_total":30,"target_total":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_total","target_total"],"type":"string","default":"source_total"},"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_LohrRX577yE4tIfb1CJF5","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 mean time series and a secondary-measure weighted mean over supplied source/target reconciliation data rows (up to 200 rows, 2 reports per call).","exampleAgentPrompt":"Run the trailing mean series and secondary-measure weighted mean on my reconciliation data — I have 4 rows across groups 'group-a' and 'group-b' with dates from 2026-10-01 to 2026-10-04, source_total values of 10, 20, 15, 30 and target_total values of 1, 2, 3, 4; use a window of 2 and compute over source_total.","exampleUseCases":[{"title":"Monthly source/target drift analysis","prompt":"I have 60 rows of monthly reconciliation data with source_total and target_total values per dataset group — can you compute a trailing mean series with a window of 3 over source_total so I can see where the drift is building up over time?"},{"title":"Weighted mean for cross-group comparison","prompt":"Take my 120 reconciliation records across groups 'region-east' and 'region-west' and run the secondary-measure weighted mean on target_total so I can compare how each group's weighted average stacks up against the source."},{"title":"End-of-quarter reconciliation audit","prompt":"I need to audit our Q4 reconciliation records — here are 80 rows with date, row_id, dataset_group, source_total and target_total. Run both the trailing mean series (window of 5, field: source_total) and the weighted mean report so I can spot anomalies before the close."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series computed over the selected field (source_total or target_total) using the specified rolling window, and (2) a secondary-measure weighted mean across the supplied reconciliation rows. Both reports are derived purely from the provided data with no external lookups.","failureModes":["Fewer than 1 or more than 200 rows submitted — request rejected","Window size larger than number of rows — trailing mean may be incomplete or errored","Invalid date format (not YYYY-MM-DD) — schema validation failure","source_total or target_total out of range (±1 trillion) — rejected","Missing required fields (row_id, dataset_group, date) — validation error","Null values in source_total or target_total may affect weighted mean calculation"],"whenToPreferThis":"Choose this endpoint when you have up to 200 reconciliation records with source_total and target_total fields and need both a rolling/trailing mean time series and a weighted mean summary in a single call. It is ideal for lightweight, offline statistical reconciliation analysis where no live data lookup, prediction, or external action is required. Prefer it over general-purpose analytics tools when cost-efficiency ($0.01 per call for 2 reports) and simplicity are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:46:04.844Z","isFirstParty":false,"canonicalSlug":"data-reconciliation-trailing-mean-series-secondary-measure-weighted-42cae8bc"}