{"uid":"cap_VNXxJWptYcfoE3sv4Rz6y","slug":"business-location-inventories-weighted-mean-dataset-comparison-4f9ee1f2","name":"Business Location Inventories — Weighted Mean & Dataset Comparison","description":"Business location inventories — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied business location inventories records (location_count, verified_locations). 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-05-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","location_count","verified_locations"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"location_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"verified_locations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","location_count":10,"verified_locations":1},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","location_count":20,"verified_locations":2},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","location_count":15,"verified_locations":3},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","location_count":30,"verified_locations":4}],"maxItems":200,"minItems":1},"field":{"enum":["location_count","verified_locations"],"type":"string","default":"location_count"},"other":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","location_count","verified_locations"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"location_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"verified_locations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","location_count":10,"verified_locations":1},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","location_count":21,"verified_locations":2},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","location_count":17,"verified_locations":3},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","location_count":33,"verified_locations":4}],"maxItems":200,"minItems":0}}},"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_9AWo9FebH-p2OIr6Oo1_1","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 a secondary-measure weighted mean and performs a keyed dataset comparison on supplied business location inventory records (location_count, verified_locations) for up to 200 rows.","exampleAgentPrompt":"I have two snapshots of our business location inventory — up to 200 rows each with company_group, date, location_count, and verified_locations. Can you compute the secondary-measure weighted mean for location_count and also run a keyed comparison between the two datasets to see where they differ?","exampleUseCases":[{"title":"Retail chain location audit","prompt":"We have two monthly snapshots of our retail chain location data — each with up to 100 rows tagged by company_group, date, location_count, and verified_locations. Can you compute the weighted mean of verified_locations and compare the two datasets side-by-side to flag differences?"},{"title":"Franchise verification discrepancy check","prompt":"I've got before and after datasets for our franchise location inventory — each row has a company_group, date, location_count, and verified_locations. Weight the mean by location_count and show me where the two datasets diverge by key."},{"title":"Multi-brand location rollup analysis","prompt":"We track location_count and verified_locations for several brands (company groups) over time. Can you take my 150-row dataset, compute the secondary-measure weighted mean for verified_locations, and compare it against a second dataset we have from last quarter?"}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean for the chosen field (location_count or verified_locations) across the supplied rows, and (2) a keyed dataset comparison between the primary rows and the secondary 'other' dataset, highlighting matching, differing, and mismatched records by row_id and company_group.","failureModes":["Input rows array is empty or exceeds 200 items — validation error returned","Missing required fields (row_id, company_group, date, location_count, verified_locations) on any row — error flagging the offending row","Invalid date format (not YYYY-MM-DD) — pattern validation failure","'field' enum value not one of 'location_count' or 'verified_locations' — schema rejection","Null values in numeric fields may be handled gracefully but could affect weighted mean calculation","Mismatched row_ids between 'rows' and 'other' datasets — comparison report may show unmatched records","Payment of 0.01 USDC not completed — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need both a weighted mean computation and a keyed dataset comparison in a single call against business location inventory data (location_count, verified_locations). It is ideal for offline/batch analytical scenarios where you supply your own data (no live lookup), need results for up to 200 rows, and want two distinct reports for a flat $0.01 fee. Prefer alternatives if you need real-time location verification, predictions, or more than 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:46:06.058Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-weighted-mean-dataset-comparison-4f9ee1f2"}