{"uid":"cap_jt_U0Y1Y8RMDY0L2foSYd","slug":"bundle-sales-exact-row-deduplication-secondary-measure-weighted-mean-e76f47d0","name":"Bundle Sales — Exact Row Deduplication + Secondary-Measure Weighted Mean","description":"Bundle sales — Exact row deduplication + Secondary-measure weighted mean: Exact row deduplication + Secondary-measure weighted mean for supplied bundle sales records (bundles_sold, component_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-15-051?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","bundles_sold","component_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},"bundles_sold":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"component_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","bundles_sold":10,"component_units":1},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","bundles_sold":20,"component_units":2},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","bundles_sold":15,"component_units":3},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","bundles_sold":30,"component_units":4}],"maxItems":200,"minItems":1},"field":{"enum":["bundles_sold","component_units"],"type":"string","default":"bundles_sold"}}},"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_VhYhZsHzk9go0P9cdVAjE","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":"Deduplicates bundle sales rows exactly and computes a secondary-measure weighted mean across up to 200 supplied bundle sales records in two independent reports.","exampleAgentPrompt":"I have up to 200 bundle sales rows with fields row_id, store_group, date, bundles_sold, and component_units — can you deduplicate them exactly and compute the weighted mean for bundles_sold using component_units as the weight?","exampleUseCases":[{"title":"Retail bundle transaction deduplication","prompt":"I've got a batch of bundle sales records from multiple store groups — some rows look like duplicates. Can you run exact row deduplication and compute a weighted mean for bundles_sold weighted by component_units across all the rows?"},{"title":"Component units weighted average by store","prompt":"Here are 150 bundle sales rows across our store groups with date, bundles_sold, and component_units. Please deduplicate them and give me a weighted mean for the component_units field using bundles_sold as the secondary measure."},{"title":"Pre-reporting bundle data cleanup","prompt":"Before I finalize my weekly retail report, I need to deduplicate these bundle sales records and get a weighted mean for bundles_sold. Can you process up to 200 rows and return both analytical reports?"}],"resultDescription":"Returns two independent analytical reports: (1) the deduplicated set of bundle sales rows after exact row matching, and (2) a weighted mean computed for the selected field (bundles_sold or component_units) using the other as the secondary weighting measure. All computation is performed locally on the supplied data with no external lookups.","failureModes":["Input exceeds 200 rows — request rejected","Missing required fields (row_id, store_group, date, bundles_sold, component_units) — validation error","Invalid date format (must be YYYY-MM-DD) — schema validation failure","Null or out-of-range numeric values may affect weighted mean calculation","Empty rows array — minimum 1 item required"],"whenToPreferThis":"Choose this endpoint when you have raw bundle sales records (up to 200 rows) that may contain duplicate entries and you need both exact deduplication and a weighted mean statistic in a single call. It is ideal for pre-reporting data cleanup in retail analytics pipelines where bundles_sold and component_units are your primary measures. Prefer this over generic dedup tools when you need both operations bundled into two structured reports at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:50:16.087Z","isFirstParty":false,"canonicalSlug":"bundle-sales-exact-row-deduplication-secondary-measure-weighted-mean-e76f47d0"}