{"uid":"cap_PKo477myZNN-3FHU-JQ_7","slug":"unit-return-rate-iqr-outlier-flags-2e98607a","name":"Unit Return Rate – IQR Outlier Flags","description":"Unit return rate - IQR outlier flags: IQR outlier flags 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 iqr outlier flags deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-retail-unit-return-outliers?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}}},"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_sPe15FIZFplYQkoRuO3gT","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":"Flags statistical outliers in unit return rate data using the interquartile range (IQR) method across up to 200 supplied retail records.","exampleAgentPrompt":"I have a list of products with their sold and returned unit counts — can you run IQR outlier detection on the return rates and flag which ones are statistical outliers? Here are 6 rows: [{sold_units:200,returned_units:10},{sold_units:180,returned_units:9},{sold_units:150,returned_units:45},{sold_units:220,returned_units:11},{sold_units:190,returned_units:9},{sold_units:170,returned_units:8}]","exampleUseCases":[{"title":"Flagging rogue SKUs in returns data","prompt":"I've got return and sales figures for 50 SKUs from last quarter — can you run IQR outlier detection on the return rates and tell me which SKUs are statistical outliers I should investigate?"},{"title":"Quality control check after a product launch","prompt":"We just launched a new product line and I want to see if any items have return rates that are outliers compared to the rest of the range — here are the sold and returned unit counts for each item, can you flag the unusual ones using IQR?"},{"title":"Retail audit for abnormal return patterns","prompt":"Before I present to the board, I need to check our store-level return rates — can you apply IQR outlier flagging to these 30 stores' sold and returned unit numbers and highlight any that fall outside the normal range?"}],"resultDescription":"Returns outlier flag indicators for each supplied row, identifying which records have unit return rates that fall outside the IQR-defined bounds (typically below Q1 − 1.5×IQR or above Q3 + 1.5×IQR), based purely on the locally supplied data with no live inventory or platform data.","failureModes":["Fewer than 2 rows supplied — minimum is 2 rows","sold_units value of 0 or missing (exclusiveMinimum enforced)","returned_units exceeds sold_units in a way that produces implausible rates — accepted but may skew IQR","More than 200 rows submitted — maxItems limit exceeded","Malformed row objects with extra properties rejected due to additionalProperties:false"],"whenToPreferThis":"Choose this endpoint when you have a batch of retail records with sold and returned unit counts and want to statistically flag which records are outliers by return rate using the IQR method. It is ideal for local, scenario-based analysis without needing live inventory or platform integration. Prefer it over simple mean/threshold approaches when you want a robust, percentile-based outlier detection that is resistant to skewed distributions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T19:03:21.338Z","isFirstParty":false,"canonicalSlug":"unit-return-rate-iqr-outlier-flags-2e98607a"}