{"uid":"cap_zzfBnLi6mGicQt8RFZaeu","slug":"supplier-delivery-evidence-duplicate-key-report-secondary-measure-2b9d66cf","name":"Supplier Delivery Evidence — Duplicate Key Report + Secondary-Measure Weighted Mean","description":"Supplier delivery evidence — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean for supplied supplier delivery evidence records (deliveries, on_time_deliveries). 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-company-15-067?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","deliveries","on_time_deliveries"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"deliveries":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"on_time_deliveries":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","deliveries":10,"company_group":"group-a","on_time_deliveries":1},{"date":"2026-10-02","row_id":"row-2","deliveries":20,"company_group":"group-b","on_time_deliveries":2},{"date":"2026-10-03","row_id":"row-3","deliveries":15,"company_group":"group-a","on_time_deliveries":3},{"date":"2026-10-04","row_id":"row-4","deliveries":30,"company_group":"group-b","on_time_deliveries":4}],"maxItems":200,"minItems":1},"field":{"enum":["deliveries","on_time_deliveries"],"type":"string","default":"deliveries"}}},"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_BTFdRxY_3Or3Vvv0hZ-zi","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 two local analytical reports on supplier delivery data: a duplicate row-ID detection report and a weighted mean calculation for a chosen delivery metric, across up to 200 supplied rows.","exampleAgentPrompt":"Check my supplier delivery records for duplicate row IDs and calculate the weighted mean of on_time_deliveries — I have 4 rows: row-1 for group-a on 2026-10-01 with 10 deliveries and 1 on-time, row-2 for group-b on 2026-10-02 with 20 deliveries and 2 on-time, row-3 for group-a on 2026-10-03 with 15 deliveries and 3 on-time, row-4 for group-b on 2026-10-04 with 30 deliveries and 4 on-time.","exampleUseCases":[{"title":"Duplicate key audit for delivery data","prompt":"I have a batch of 50 supplier delivery records and I want to know if any row IDs are duplicated — can you run a duplicate key check on them and also give me the weighted mean for the deliveries field?"},{"title":"On-time delivery performance summary","prompt":"Run a weighted mean calculation on my on_time_deliveries data across these 30 supplier delivery rows, grouped by company, and flag any duplicate row IDs while you're at it."},{"title":"Data quality check before reporting","prompt":"Before I send this supplier evidence to my manager, can you check these 100 delivery rows for any duplicate row_id values and compute the weighted mean of deliveries so I have a clean summary to attach?"}],"resultDescription":"Returns two reports: (1) a duplicate key report listing any row_id values that appear more than once in the supplied data, and (2) a secondary-measure weighted mean for the chosen field (deliveries or on_time_deliveries), computed locally without any external lookup or live data fetch.","failureModes":["Empty or missing rows array returns an error","More than 200 rows submitted exceeds the maxItems limit and is rejected","Invalid date format (not YYYY-MM-DD) fails schema validation","row_id missing or empty string fails minLength constraint","field value not in enum ['deliveries','on_time_deliveries'] causes validation error","All null values in the selected metric field may produce undefined weighted mean"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of supplier delivery evidence and need two lightweight analytical reports — duplicate key detection and weighted mean — computed together in a single cheap call ($0.01 USDC). It is ideal for offline or batch data quality checks on structured delivery records without needing live data, predictions, or external integrations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T06:58:12.074Z","isFirstParty":false,"canonicalSlug":"supplier-delivery-evidence-duplicate-key-report-secondary-measure-2b9d66cf"}