{"uid":"cap_oBhG0ddRAQYgJyhW7cr8d","slug":"company-headcount-observations-duplicate-key-report-explicit-missing-81d1c7c7","name":"Company Headcount Observations — Duplicate Key Report + Explicit Missing-Value Fill","description":"Company headcount observations — Duplicate key report + Explicit missing-value fill: Duplicate key report + Explicit missing-value fill for supplied company headcount observations records (headcount, open_roles). 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-12-070?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","headcount","open_roles"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"headcount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"open_roles":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","headcount":10,"open_roles":1,"company_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","headcount":20,"open_roles":2,"company_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","headcount":15,"open_roles":3,"company_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","headcount":30,"open_roles":4,"company_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["headcount","open_roles"],"type":"string","default":"headcount"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_LerkVA4-Av1fZ5pFVbUwq","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":"Analyzes up to 200 company headcount observation rows to produce a duplicate key report and fill missing headcount or open_roles values using zero, mean, or median imputation.","exampleAgentPrompt":"Can you run a duplicate key check and fill missing headcount values using median imputation on my company headcount dataset? I have rows for group-a and group-b from October 2026, each with a row_id, date, headcount, and open_roles — flag any duplicates and fill any nulls.","exampleUseCases":[{"title":"HR data quality audit before reporting","prompt":"I need to clean up my company headcount records before the quarterly report — can you check these 80 rows for duplicate company-date combinations and fill any missing headcount values using median imputation?"},{"title":"Recruitment data gap filling","prompt":"My open_roles data has some nulls scattered across company groups — can you fill those missing open_roles values using mean imputation across these 150 headcount observation rows and also flag any duplicate row IDs?"},{"title":"Workforce dataset deduplication check","prompt":"Before I merge these headcount datasets, can you run a duplicate key report on these 200 rows grouped by company_group and date, and also fill any missing headcount values with zero so I know exactly what I'm working with?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying rows that share the same key fields (row_id, company_group, date), and (2) a missing-value fill report showing where null headcount or open_roles values were replaced using the chosen method (zero, mean, or median). No external data is fetched; all analysis is performed on the supplied rows.","failureModes":["Input array is empty or exceeds 200 rows — rejected with validation error","Invalid date format (not YYYY-MM-DD) causes row rejection","Invalid field enum value (not 'headcount' or 'open_roles') returns error","Invalid method enum value (not 'zero', 'mean', 'median') returns error","row_id missing or blank causes schema validation failure","Numeric values outside allowed range cause validation errors"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key audit and missing-value imputation on company headcount data (headcount and open_roles fields) in a single call for up to 200 rows. It is purpose-built for HR and workforce datasets with company_group and date dimensions. Prefer it over generic data-cleaning tools when you need deterministic, locally-computed reports without any external lookups or predictions, and when the flat-rate $0.01 USDC per call (covering both reports) fits your budget.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:01.660Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-duplicate-key-report-explicit-missing-81d1c7c7"}