{"uid":"cap_bze4IiL8FYCIwto7fRQzy","slug":"repeat-purchasing-customer-share-weighted-result-mean-25f4c8f4","name":"Repeat Purchasing Customer Share – Weighted Result Mean","description":"Repeat purchasing customer share - Weighted result mean: Weighted result mean for Repeat purchasing customer share. 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-repeat-customers-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["repeat_customers","purchasing_customers"],"properties":{"repeat_customers":{"type":"number","default":20,"maximum":1000000000000,"minimum":0},"purchasing_customers":{"type":"number","default":100,"maximum":1000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"repeat_customers":20,"purchasing_customers":100},{"repeat_customers":22,"purchasing_customers":110.00000000000001},{"repeat_customers":20,"purchasing_customers":100},{"repeat_customers":22,"purchasing_customers":110.00000000000001}],"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_SK060fCmcnmJTsgcKcxq8","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 the weighted mean of repeat purchasing customer share (repeat customers / purchasing customers) across multiple supplied retail data rows using custom weights.","exampleAgentPrompt":"I have four retail periods with repeat customer counts of 20, 22, 20, and 22, out of total purchasing customers of 100, 110, 100, and 110 respectively — can you calculate the weighted mean repeat customer share using weights 1, 2, 1, 2?","exampleUseCases":[{"title":"Multi-store repeat customer benchmarking","prompt":"I've got repeat and total customer counts from 5 store locations, and I want to weight headquarters stores more heavily — can you compute the weighted mean repeat customer share using weights 3, 3, 1, 1, 2 across those stores?"},{"title":"Seasonal loyalty trend analysis","prompt":"Here are our repeat customer figures for each quarter this year: Q1 had 150 repeats out of 600, Q2 had 180 out of 700, Q3 had 210 out of 750, Q4 had 260 out of 800 — calculate the weighted mean repeat purchasing share giving Q4 double the weight of the other quarters."},{"title":"Retail segment weighted loyalty comparison","prompt":"We have three customer segments — premium, mid-tier, and budget — with repeat customer shares from supplied figures. Can you compute the weighted mean repeat purchasing customer share using weights 5, 3, 1 to reflect each segment's revenue contribution?"}],"resultDescription":"Returns a single bounded weighted result mean value representing the weighted average of repeat purchasing customer share (repeat_customers / purchasing_customers) across all supplied rows, computed using the provided weights array. The result is a ratio or percentage metric derived entirely from the submitted figures with no external data sources.","failureModes":["purchasing_customers value of 0 triggers exclusiveMinimum validation error","mismatched lengths between rows array and weights array causing computation error","fewer than 2 rows submitted violating minItems constraint","more than 200 rows submitted violating maxItems constraint","negative repeat_customers or weights values rejected by schema minimum","repeat_customers exceeding purchasing_customers producing a ratio above 1 (not blocked but semantically anomalous)"],"whenToPreferThis":"Choose this endpoint when you have multiple retail data points (periods, locations, or segments) with varying importance and need a single summary metric for repeat customer loyalty, weighted by relative significance. Ideal for local scenario analysis or aggregation without needing live inventory, platform fees, or account access. Prefer this over simple averages when your data rows should contribute unequally to the final metric.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:53:28.482Z","isFirstParty":false,"canonicalSlug":"repeat-purchasing-customer-share-weighted-result-mean-25f4c8f4"}