{"uid":"cap_jXwVbQOxqFPqUHUhoWwxH","slug":"unit-return-rate-rolling-mean-report-485e06fb","name":"Unit Return Rate Rolling Mean Report","description":"Unit return rate - Rolling mean report: Rolling mean report for Unit return rate. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded rolling mean report deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-retail-unit-return-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["returned_units","sold_units"],"properties":{"sold_units":{"type":"number","default":100,"maximum":1000000000000,"minimum":0,"exclusiveMinimum":0},"returned_units":{"type":"number","default":5,"maximum":1000000000000,"minimum":0}},"additionalProperties":false},"default":[{"sold_units":100,"returned_units":5},{"sold_units":110.00000000000001,"returned_units":5.5},{"sold_units":100,"returned_units":5},{"sold_units":110.00000000000001,"returned_units":5.5}],"maxItems":200,"minItems":2},"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_7_V-TGY6G3pDMmr5ykn4K","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":"Calculates a rolling mean of unit return rates from user-supplied retail sold/returned unit figures over a configurable window size.","exampleAgentPrompt":"Can you calculate the rolling mean unit return rate for my retail data? Here are 4 periods: sold units were 100, 110, 100, 110 and returned units were 5, 5.5, 5, 5.5 — use a window size of 2.","exampleUseCases":[{"title":"Seasonal return rate smoothing","prompt":"I have monthly retail data for 6 periods — sold units were 200, 180, 220, 195, 210, 205 and returned units were 12, 10, 14, 11, 13, 12. Can you calculate the rolling mean return rate using a window of 3 so I can see the smoothed trend?"},{"title":"Scenario analysis for new product line","prompt":"I want to do a what-if analysis on return rates for a hypothetical product. Assume sold units of 500, 520, 480, 510 and returns of 25, 30, 20, 28 — what does the rolling mean look like with a window size of 2?"},{"title":"Quarterly return rate trend review","prompt":"Can you run a rolling mean return rate report on our last 8 quarters of retail data? Sold units: 1000, 1050, 980, 1020, 1100, 1070, 990, 1030; returned units: 50, 55, 45, 52, 60, 58, 48, 53 — use a window of 4 quarters."}],"resultDescription":"A rolling mean report showing smoothed unit return rate values computed from the supplied sold and returned unit figures, calculated over the specified window size. The output represents local scenario analysis results — no live inventory or platform data is included.","failureModes":["Fewer than 2 rows provided — minimum input requirement not met","Window size exceeds number of rows — rolling mean cannot be computed","sold_units value of 0 causes division-by-zero in return rate calculation","Input rows exceed 200 item maximum","Non-numeric values passed in sold_units or returned_units fields","Window size below minimum of 2 or above maximum of 200"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost statistical smoothing of unit return rate data you already possess, particularly for retail scenario analysis or trend visualization. It is ideal for local calculations on historical or hypothetical datasets where no live inventory lookup, platform integration, or order execution is needed. Prefer this over general-purpose computation tools when you specifically need a rolling mean on sold/returned unit ratios formatted as a retail report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T13:07:37.564Z","isFirstParty":false,"canonicalSlug":"unit-return-rate-rolling-mean-report-485e06fb"}