{"uid":"cap_AYJfHlsL64nxWoAGathV8","slug":"unit-return-rate-weighted-result-mean-f38ef90c","name":"Unit Return Rate – Weighted Result Mean","description":"Unit return rate - Weighted result mean: Weighted result mean 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 weighted result mean deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-retail-unit-return-weighted-mean?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},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":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_EWnmr3jru9i-InaQ65Noj","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 the weighted mean of unit return rates across multiple retail data rows, using caller-supplied weights.","exampleAgentPrompt":"Can you calculate the weighted mean return rate across these four retail periods: period 1 had 100 units sold and 5 returned (weight 1), period 2 had 110 sold and 5.5 returned (weight 2), period 3 had 100 sold and 5 returned (weight 1), period 4 had 110 sold and 5.5 returned (weight 2)?","exampleUseCases":[{"title":"Seasonal return rate trend analysis","prompt":"I have return data for Q1 across three months: January had 500 units sold and 40 returned, February had 620 sold and 55 returned, March had 480 sold and 30 returned. Weight March and January equally at 1 and February at 2 since it's busier. What's the weighted mean return rate?"},{"title":"Multi-SKU product line comparison","prompt":"I want to compare weighted return rates across my top 3 product categories: electronics had 200 sold and 18 returned (weight 3), apparel had 350 sold and 42 returned (weight 2), and accessories had 150 sold and 9 returned (weight 1). Can you compute the weighted mean return rate?"},{"title":"Retail scenario analysis for forecasting","prompt":"Run a weighted mean calculation on these two retail scenarios: base case has 1000 units sold and 80 returned with weight 1, optimistic case has 1000 sold and 50 returned with weight 2. What's the weighted average return rate across these scenarios?"}],"resultDescription":"A single weighted mean value representing the aggregate unit return rate across all supplied rows, calculated using the provided weights. No live inventory or platform data is used — the result is derived purely from the caller-supplied sold_units and returned_units figures.","failureModes":["Fewer than 2 rows provided — minimum row count not met","Weights array length does not match rows array length","sold_units value is zero or negative — violates exclusiveMinimum constraint","returned_units exceeds sold_units — logically invalid but may still compute","More than 200 rows supplied — exceeds maxItems limit","Non-numeric values in rows or weights fields — schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need a local, scenario-based weighted average of unit return rates using your own retail figures, without requiring live inventory access, platform fee data, or order execution. Ideal for offline analysis, forecasting models, or when you want to weight certain periods or product lines more heavily in the aggregate result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T13:07:25.840Z","isFirstParty":false,"canonicalSlug":"unit-return-rate-weighted-result-mean-f38ef90c"}