{"uid":"cap_F_DlGWvSFEoCIOLa6Zz4K","slug":"target-replenishment-quantity-weighted-result-mean-f10013ba","name":"Target Replenishment Quantity – Weighted Result Mean","description":"Target replenishment quantity - Weighted result mean: Weighted result mean for Target replenishment quantity. 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-replenishment-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["target_units","inventory_position"],"properties":{"target_units":{"type":"number","default":200,"maximum":1000000000000,"minimum":0},"inventory_position":{"type":"number","default":120,"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"target_units":200,"inventory_position":120},{"target_units":220.00000000000003,"inventory_position":132},{"target_units":200,"inventory_position":120},{"target_units":220.00000000000003,"inventory_position":132}],"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_EDY3wtYOp6M1j68RVtnUL","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 weighted mean of target replenishment quantities across multiple retail SKU rows using supplied inventory position data.","exampleAgentPrompt":"Calculate the weighted mean replenishment quantity for these four SKU rows: targets of 200, 220, 200, 220 units with inventory positions of 120, 132, 120, 132 — use weights of 1, 2, 1, 2 so the second and fourth rows count twice as much.","exampleUseCases":[{"title":"Multi-SKU reorder planning by sales velocity","prompt":"I have five products with target units of 300, 250, 180, 400, 220 and current inventory positions of 150, 200, 80, 350, 100. Weight them by their monthly sales rank — weights 5, 3, 1, 4, 2 — and give me the weighted mean replenishment quantity I should plan for."},{"title":"Seasonal scenario analysis for store clusters","prompt":"I'm comparing replenishment needs across three store clusters for the holiday season. Targets are 500, 600, 450 units and inventory positions are 200, 300, 150. Weight the clusters by store count — 10, 25, 8 — and compute the weighted average replenishment quantity."},{"title":"Supplier order consolidation across product lines","prompt":"Before I place a consolidated supplier order, I need the weighted mean of our replenishment quantities across two product lines: targets 1000 and 800, inventory positions 400 and 600, with weights 3 and 1 since the first line is higher priority."}],"resultDescription":"Returns a single weighted mean value representing the average target replenishment quantity across the supplied rows, computed using the provided weights. The result reflects how many units would need to be ordered on a weighted-average basis given the gap between target units and inventory position.","failureModes":["Mismatched lengths between rows array and weights array causes a validation error","Fewer than 2 rows supplied returns an error due to minItems constraint","Negative or zero weights may distort the weighted mean result","Inventory position values outside the allowed range trigger schema validation failure","All-zero weights array may cause a division-by-zero error"],"whenToPreferThis":"Use this endpoint when you need a single weighted summary statistic for target replenishment quantities across multiple SKUs, store locations, or product lines — especially when different rows should contribute unequally to the aggregate (e.g. weighted by sales volume, store count, or strategic priority). Prefer this over a simple mean when rows have different importance levels. This is a local calculation with no live inventory data access or order execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:37:32.497Z","isFirstParty":false,"canonicalSlug":"target-replenishment-quantity-weighted-result-mean-f10013ba"}