{"uid":"cap_BbLUKR0w-oKwrhN0bVerV","slug":"pipeline-durations-trailing-mean-weighted-mean-analytics-fa847747","name":"Pipeline Durations Trailing Mean + Weighted Mean Analytics","description":"Pipeline durations — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied pipeline durations records (run_seconds, processed_rows). 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-05-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","run_seconds","processed_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"run_seconds":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"processed_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","run_seconds":10,"dataset_group":"group-a","processed_rows":1},{"date":"2026-10-02","row_id":"row-2","run_seconds":20,"dataset_group":"group-b","processed_rows":2},{"date":"2026-10-03","row_id":"row-3","run_seconds":15,"dataset_group":"group-a","processed_rows":3},{"date":"2026-10-04","row_id":"row-4","run_seconds":30,"dataset_group":"group-b","processed_rows":4}],"maxItems":200,"minItems":1},"field":{"enum":["run_seconds","processed_rows"],"type":"string","default":"run_seconds"},"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_KbYakhxHLMgxHdx_gaFsP","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 processed_rows-weighted mean for supplied pipeline duration records (run_seconds, processed_rows) — two analytical reports in one call.","exampleAgentPrompt":"Can you compute a trailing mean series with a window of 3 and a processed_rows-weighted mean for these pipeline run records across group-a and group-b, using run_seconds as the target field?","exampleUseCases":[{"title":"ETL pipeline performance trend review","prompt":"I have 60 daily pipeline run records with run_seconds and processed_rows — can you give me a trailing mean series with a window of 7 days and a processed_rows-weighted mean for run_seconds so I can see how our ETL performance has been trending?"},{"title":"Data team sprint retrospective stats","prompt":"We just finished a two-week sprint and I've got pipeline logs for three dataset groups. Can you compute a trailing mean (window of 5) plus a weighted mean using processed_rows as the weight, targeting run_seconds, so I can share summary stats with the team?"},{"title":"Comparing pipeline duration across dataset groups","prompt":"Here are 120 pipeline execution records split across four dataset groups. Can you calculate both a rolling average series with window size 10 and a processed_rows-weighted mean for run_seconds so I can compare which groups are slowest?"}],"resultDescription":"Returns two analytical reports: (1) a trailing/rolling mean time series for the chosen field (run_seconds or processed_rows) computed over the specified window, indexed by date and optionally grouped by dataset_group; (2) a secondary-measure weighted mean where processed_rows acts as the weight variable. Both reports are computed locally without any external lookups or live data access.","failureModes":["Fewer than 2 rows provided (minItems:1 but window requires at least window-size rows to produce meaningful output)","window value exceeds number of supplied rows, producing empty or sparse trailing mean","Invalid date format (must match YYYY-MM-DD pattern exactly)","row_id missing or empty string (required, minLength:1)","Payload exceeds 200 rows (maxItems limit)","null values in run_seconds or processed_rows may cause gaps in weighted mean computation"],"whenToPreferThis":"Choose this endpoint when you have pipeline execution records with run_seconds and processed_rows fields and need both a rolling/trailing mean time series and a weighted mean in a single low-cost call. Ideal for data engineering teams doing retrospective performance analysis, sprint reviews, or trend reporting on batch job durations without needing external data sources or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T07:24:50.879Z","isFirstParty":false,"canonicalSlug":"pipeline-durations-trailing-mean-weighted-mean-analytics-fa847747"}