{"uid":"cap_RaUCznYqVA4x9VgUECWH4","slug":"time-series-completeness-trailing-mean-missing-value-fill-c63abb4c","name":"Time Series Completeness: Trailing Mean + Missing-Value Fill","description":"Time series completeness — Trailing mean series + Explicit missing-value fill: Trailing mean series + Explicit missing-value fill for supplied time series completeness records (observed_points, expected_points). 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-16-154?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","observed_points","expected_points"],"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},"expected_points":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"observed_points":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","expected_points":1,"observed_points":10},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","expected_points":2,"observed_points":20},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","expected_points":3,"observed_points":15},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","expected_points":4,"observed_points":30}],"maxItems":200,"minItems":1},"field":{"enum":["observed_points","expected_points"],"type":"string","default":"observed_points"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"},"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__TMqb5IUltdKroERpwr_0","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 series and fills explicit missing values for time series completeness records (observed vs expected points) for up to 200 rows in two combined reports.","exampleAgentPrompt":"I have a batch of up to 50 daily completeness records with observed_points and expected_points for two groups — can you run a trailing mean with a window of 7 and fill any missing observed_points using the median, and give me both the smoothed series and the filled-value report?","exampleUseCases":[{"title":"Smoothing noisy pipeline completeness metrics","prompt":"I have 30 days of completeness records for my data pipeline — observed_points and expected_points per day across two groups. Can you compute a trailing mean with a window of 5 on observed_points and also fill in any missing values using the mean method? I need both reports."},{"title":"Detecting and patching gaps in sensor data coverage","prompt":"My sensor dataset has 90 rows of daily expected vs observed point counts and some days have nulls in expected_points. Run a window-7 trailing mean and fill those nulls with zero, and give me the two combined analytic reports."},{"title":"Monitoring dataset completeness trends over time","prompt":"I'm tracking dataset completeness for group-a and group-b over the last 60 days — here are my observed_points and expected_points per day. Can you smooth observed_points with a trailing mean using window size 10 and fill any missing values with median, and return both the trend series and the fill report?"}],"resultDescription":"Returns two analytical reports: (1) a trailing mean series over the specified window for the chosen field (observed_points or expected_points), and (2) an explicit missing-value fill report where nulls are replaced using the chosen method (zero, mean, or median) — all computed locally against the supplied rows, with no external data lookup.","failureModes":["Fewer than 1 or more than 200 rows submitted — validation error","Invalid date format (not YYYY-MM-DD) — schema rejection","Window size smaller than 2 or larger than 200 — validation error","observed_points or expected_points values outside ±1,000,000,000,000 — validation error","Missing required fields (row_id, date, observed_points, expected_points) — schema error","Invalid method enum value (not zero/mean/median) — schema rejection","Invalid field enum value (not observed_points/expected_points) — schema rejection"],"whenToPreferThis":"Choose this endpoint when you need both a trailing mean smoothing series and a missing-value imputation report computed together in a single call for time series completeness data (observed vs expected points). It is ideal for lightweight, local batch analytics on up to 200 rows without any external lookups, predictions, or professional assessments — and the $0.01 flat fee covers both reports simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:38:53.866Z","isFirstParty":false,"canonicalSlug":"time-series-completeness-trailing-mean-missing-value-fill-c63abb4c"}