{"uid":"cap_ZXIsklFUghHu0ri1Lr3OH","slug":"shift-coverage-deduplication-and-weighted-mean-analysis-46270d28","name":"Shift Coverage Deduplication and Weighted Mean Analysis","description":"Shift coverage — Exact row deduplication + Secondary-measure weighted mean: Exact row deduplication + Secondary-measure weighted mean for supplied shift coverage records (covered_hours, required_hours). 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-operations-15-051?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","covered_hours","required_hours"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"covered_hours":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"required_hours":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","covered_hours":10,"required_hours":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","covered_hours":20,"required_hours":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","covered_hours":15,"required_hours":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","covered_hours":30,"required_hours":4}],"maxItems":200,"minItems":1},"field":{"enum":["covered_hours","required_hours"],"type":"string","default":"covered_hours"}}},"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_BiBxLFDvE30XUGt2cdeei","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 shift coverage rows exactly and computes a secondary-measure weighted mean across covered_hours and required_hours data, returning two reports per call.","exampleAgentPrompt":"Can you deduplicate these shift coverage records for teams group-a and group-b across October 2026 and compute a weighted mean for covered_hours? I have about 50 rows total.","exampleUseCases":[{"title":"Cleaning duplicate workforce shift logs","prompt":"I have shift logs for my operations team with duplicate entries — can you deduplicate them and calculate a weighted mean of covered_hours weighted by required_hours? I'll send up to 80 rows covering multiple team groups."},{"title":"Weekly staffing coverage summary","prompt":"Take these weekly shift records for my two departments — about 120 rows with covered and required hours per day — deduplicate any repeated entries and give me the weighted mean of required_hours across the dataset."},{"title":"Validating shift data before payroll","prompt":"Before I run payroll I need to clean up these shift coverage rows: remove exact duplicates and compute a coverage weighted mean on covered_hours. There are around 150 rows spanning several team groups from last month."}],"resultDescription":"Returns two analytical reports: (1) an exact row deduplication result identifying and removing duplicate shift coverage records, and (2) a weighted mean computation for the selected field (covered_hours or required_hours) weighted by the secondary measure, across up to 200 input rows.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, date, team_group, covered_hours, required_hours) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null values in both covered_hours and required_hours may produce undefined weighted mean","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Choose this endpoint when you need both exact row deduplication and a weighted mean computation on shift coverage data in a single low-cost call ($0.01 USDC). It is purpose-built for workforce scheduling records with covered_hours and required_hours fields, handles up to 200 rows, and delivers two bundled analytical reports without any external data lookup or live API dependency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:12:00.339Z","isFirstParty":false,"canonicalSlug":"shift-coverage-deduplication-and-weighted-mean-analysis-46270d28"}