{"uid":"cap_QWoLZwEfUeF2YTPe7_fMj","slug":"packaging-usage-quality-audit-weighted-mean-c9a821b8","name":"Packaging Usage Quality Audit & Weighted Mean","description":"Packaging usage — Record quality audit + Secondary-measure weighted mean: Record quality audit + Secondary-measure weighted mean for supplied packaging usage records (packages_sent, material_grams). 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-17-016?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","packages_sent","material_grams"],"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},"packages_sent":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"material_grams":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","packages_sent":10,"material_grams":1},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","packages_sent":20,"material_grams":2},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","packages_sent":15,"material_grams":3},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","packages_sent":30,"material_grams":4}],"maxItems":200,"minItems":1},"field":{"enum":["packages_sent","material_grams"],"type":"string","default":"packages_sent"}}},"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_WBTgGnmwXscEavDZWv9Vj","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":"Runs a data quality audit and secondary-measure weighted mean on packaging usage records (packages_sent, material_grams) for up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"Can you run a quality audit and weighted mean on my packaging usage data? I have rows with store_group, date, packages_sent, and material_grams — up to 50 rows — and I want the weighted mean calculated on material_grams.","exampleUseCases":[{"title":"Retail packaging data quality check","prompt":"I have packaging shipment records from our retail stores — each row has a row ID, store group, date, packages sent, and material grams. Can you audit those rows for data quality issues and also give me a weighted mean on packages_sent?"},{"title":"Material weight analytics for sustainability report","prompt":"Before I submit our sustainability report, can you validate my packaging material data for quality problems and compute a weighted mean on material_grams across all our store groups? I have about 120 rows covering last quarter."},{"title":"Pre-pipeline packaging data validation","prompt":"We're loading packaging usage records into our data warehouse — about 80 rows with packages_sent and material_grams per store group. Can you run a quality audit and weighted mean on material_grams before we commit the data?"}],"resultDescription":"Returns two reports: (1) a record quality audit highlighting completeness, validity, or anomaly issues across the submitted packaging rows, and (2) a weighted mean calculation for the selected field (packages_sent or material_grams). Both are computed locally with no external lookups.","failureModes":["More than 200 rows submitted — request exceeds row limit","Missing required fields (row_id, date, packages_sent, material_grams) — validation error","Invalid date format (must be YYYY-MM-DD) — pattern mismatch error","Numeric values outside allowed range (-1e12 to 1e12) — schema rejection","Invalid field enum value — must be 'packages_sent' or 'material_grams'","Payment not provided or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need two simultaneous analytical reports — a quality audit plus a weighted mean — on packaging usage data (packages_sent, material_grams) without any external lookups or predictions. Ideal for pre-pipeline data validation, sustainability reporting prep, or operational analytics on retail packaging records of up to 200 rows at a very low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:43:36.452Z","isFirstParty":false,"canonicalSlug":"packaging-usage-quality-audit-weighted-mean-c9a821b8"}