{"uid":"cap_TbXHb5zFwuY_hNwxNW6k4","slug":"supplier-fill-duplicate-key-report-secondary-measure-weighted-mean-acddf7be","name":"Supplier Fill — Duplicate Key Report + Secondary-Measure Weighted Mean","description":"Supplier fill — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean for supplied supplier fill records (ordered_units, received_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-06-067?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","ordered_units","received_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},"ordered_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"received_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","ordered_units":10,"received_units":1},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","ordered_units":20,"received_units":2},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","ordered_units":15,"received_units":3},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","ordered_units":30,"received_units":4}],"maxItems":200,"minItems":1},"field":{"enum":["ordered_units","received_units"],"type":"string","default":"ordered_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_AxKch9TSg-2qdHlckMbmO","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":"Analyzes up to 200 supplier fill records to produce a duplicate key report and a secondary-measure weighted mean, using ordered_units as the weight field.","exampleAgentPrompt":"Check my supplier fill data for duplicate row IDs and also calculate the weighted mean of received_units (weighted by ordered_units) — here are my 50 rows across store groups A and B for October 2026.","exampleUseCases":[{"title":"Retail inventory duplicate audit","prompt":"I've got a batch of 120 supplier fill records with row IDs, store groups, dates, ordered units, and received units — can you run a duplicate key check on them and also give me the weighted mean of received_units weighted by ordered_units?"},{"title":"Weighted fill rate calculation by store","prompt":"Here's my supplier fill dataset for Q4 — about 80 rows. I need to know if there are any duplicate keys in there, and I also want the secondary-measure weighted mean for ordered_units across all rows."},{"title":"Supply chain data quality pre-processing","prompt":"Before I load this into our warehouse, can you scan these 200 supplier fill rows for any duplicate row IDs and compute the weighted average of received_units so I have a sanity check figure?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying which row_ids or key combinations appear more than once in the supplied dataset, and (2) a secondary-measure weighted mean calculation for the chosen field (ordered_units or received_units), using the other measure as weight. Up to 200 rows processed per call.","failureModes":["Input array exceeds 200 rows — request is rejected","Missing required fields (row_id, date, store_group, ordered_units, received_units) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","All weight values are zero or null — weighted mean cannot be computed","Empty rows array — minimum 1 item required"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key audit and a weighted mean computation on supplier fill data (ordered_units / received_units) in a single cheap call ($0.01 USDC). Ideal for pre-processing retail inventory or supply chain datasets before loading into a warehouse, when you want local analytical computation without sending data to an external prediction or ML service. Best for datasets up to 200 rows; for larger datasets, batch across multiple calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:55.819Z","isFirstParty":false,"canonicalSlug":"supplier-fill-duplicate-key-report-secondary-measure-weighted-mean-acddf7be"}