{"uid":"cap_PmRAEgKgAA0pgYVX4vD88","slug":"manufacturing-output-trailing-mean-series-b94f9488","name":"Manufacturing Output Trailing Mean Series","description":"Manufacturing output - Trailing mean series: Trailing mean series for Manufacturing output. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded trailing mean series deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-manufacturing-output-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","line","date","units","defects"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"line":{"type":"string","default":"","maxLength":80},"units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"defects":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","line":"group-a","units":10,"row_id":"row-1","defects":1},{"date":"2026-10-02","line":"group-b","units":20,"row_id":"row-2","defects":2},{"date":"2026-10-03","line":"group-a","units":15,"row_id":"row-3","defects":3},{"date":"2026-10-04","line":"group-b","units":30,"row_id":"row-4","defects":4}],"maxItems":200,"minItems":1},"field":{"enum":["units","defects"],"type":"string","default":"units"},"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_LFix8UaIpTJoWz3PKQqd0","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 (rolling) mean time series for manufacturing output metrics (units or defects) across production lines, using locally processed row data.","exampleAgentPrompt":"Calculate a trailing mean series for units produced on production line 'line-A' using a window of 7, given these daily rows: row-1 on 2024-01-01 had 120 units and 3 defects, row-2 on 2024-01-02 had 135 units and 5 defects, row-3 on 2024-01-03 had 110 units and 2 defects — I want to smooth out the daily noise in the units field.","exampleUseCases":[{"title":"Defect rate trend smoothing","prompt":"I have 30 days of defect counts from two production lines and I want to smooth out the noise — can you compute a trailing mean series over a 5-day window on the defects field for all these rows?"},{"title":"Weekly rolling output monitoring","prompt":"Take these daily units-produced records for our factory floor from the last two months and give me a 7-day trailing mean series so I can see the rolling production trend for the units field."},{"title":"Multi-line manufacturing comparison","prompt":"I have daily output data for three assembly lines over the past 60 days. Can you run a trailing mean with a window of 10 on the units field so I can compare how each line's smoothed output looks over time?"}],"resultDescription":"Returns a bounded trailing mean series: for each row in the input (after the initial window fills), the rolling average of the selected field (units or defects) over the specified window size, along with row identifiers, dates, and line labels. Up to 200 rows processed locally with data-quality indicators; no external enrichment or forecasting is applied.","failureModes":["Fewer input rows than the window size results in no computable trailing values for early rows","Invalid date format (not YYYY-MM-DD) causes validation rejection","Exceeding 200 rows triggers a maxItems schema violation","Null numeric values in the selected field may affect rolling calculations or be skipped","Invalid field value (not 'units' or 'defects') causes enum validation failure","Window value outside 2–200 range is rejected by schema"],"whenToPreferThis":"Choose this endpoint when you need a simple, locally computed trailing mean series for manufacturing output data (units or defects) without requiring external data enrichment, forecasting, or complex statistical modeling. It is ideal for smoothing noisy daily production or defect records across one or more production lines, up to 200 rows, at very low cost ($0.01 USDC). Prefer this over general-purpose analytics platforms when you want a lightweight, deterministic rolling average with no external dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:51.648Z","isFirstParty":false,"canonicalSlug":"manufacturing-output-trailing-mean-series-b94f9488"}