{"uid":"cap_4qfjmyGXaTly8GtbgsPHJ","slug":"damaged-stock-numeric-distribution-row-ordering-analyzer-53d5f422","name":"Damaged Stock Numeric Distribution & Row Ordering Analyzer","description":"Damaged stock — Numeric distribution + Numeric row ordering: Numeric distribution + Numeric row ordering for supplied damaged stock records (handled_units, damaged_units). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-retail-18-073?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","handled_units","damaged_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"store_group":{"type":"string","default":"","maxLength":80},"damaged_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"handled_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","damaged_units":1,"handled_units":10},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","damaged_units":2,"handled_units":20},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","damaged_units":3,"handled_units":15},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","damaged_units":4,"handled_units":30}],"maxItems":200,"minItems":1},"field":{"enum":["handled_units","damaged_units"],"type":"string","default":"handled_units"}}},"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_L3u1EKIJq4mYWUwsWm2qd","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 numeric distribution statistics and row ordering for up to 200 supplied damaged stock records (handled_units and damaged_units), returning 2 independent analytical reports per call.","exampleAgentPrompt":"Can you run a numeric distribution and row ordering analysis on my damaged stock data? Here are 4 rows: row-1 for store group-a on 2026-10-01 with 10 handled_units and 1 damaged_unit, row-2 for group-b on 2026-10-02 with 20 handled and 2 damaged, row-3 for group-a on 2026-10-03 with 15 handled and 3 damaged, row-4 for group-b on 2026-10-04 with 30 handled and 4 damaged — analyze the handled_units field.","exampleUseCases":[{"title":"Store group damage rate distribution","prompt":"I have 50 rows of damaged stock data across 5 store groups for October. Can you compute the numeric distribution of damaged_units across all those rows and also give me the rows ranked in order? I'll supply the full dataset with row_id, store_group, date, handled_units, and damaged_units."},{"title":"Weekly handled units ranking for warehouse audit","prompt":"For our weekly warehouse audit, can you take these 120 damaged stock records and give me both a numeric distribution and a numeric row ordering based on the handled_units field? Each row has a row_id, store group, date, handled units, and damaged units."},{"title":"End-of-month damaged inventory summary","prompt":"At the end of the month I need two quick reports on my damaged inventory: a numeric distribution and a ranked ordering of the rows by damaged_units. I have about 180 records with row IDs, store groups, dates, and unit counts — can you process all of them?"}],"resultDescription":"Returns 2 independent analytical reports: (1) a numeric distribution report showing how the selected field (handled_units or damaged_units) is spread across the supplied rows, and (2) a numeric row ordering report ranking all rows by the selected field. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Input exceeds 200 rows — request rejected or truncated","Missing required fields (row_id, store_group, date, handled_units, damaged_units) causes validation error","Invalid date format (not YYYY-MM-DD) fails pattern validation","Null values in the selected numeric field may affect distribution calculations","Payment failure (insufficient USDC balance) blocks the call"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of retail damaged stock data and need both a numeric distribution and a ranked row ordering in a single low-cost call ($0.01 USDC). It is ideal for offline/batch analytical passes over supplied data where no live inventory lookup, prediction, or external enrichment is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:33:27.280Z","isFirstParty":false,"canonicalSlug":"damaged-stock-numeric-distribution-row-ordering-analyzer-53d5f422"}