{"uid":"cap_VuSfEZOGucdIxuMsapmUP","slug":"company-headcount-observations-record-quality-audit-secondary-measure-09b83e2e","name":"Company Headcount Observations — Record Quality Audit + Secondary-Measure Weighted Mean","description":"Company headcount observations — Record quality audit + Secondary-measure weighted mean: Record quality audit + Secondary-measure weighted mean 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-016?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"}}},"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_jf6Aat2HXFmLbL7hMUrLR","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 supplied company headcount observation rows: a record quality audit and a secondary-measure weighted mean calculation.","exampleAgentPrompt":"Can you audit the quality of these headcount observation records and compute the weighted mean of headcount across them? I have up to 50 rows with company group, date, headcount, and open_roles fields — the field I want the weighted mean for is headcount.","exampleUseCases":[{"title":"HR data quality audit before reporting","prompt":"I have a batch of 80 headcount observation records for our business units — can you run a record quality audit on them and also compute the weighted mean of open_roles so I can spot any bad data before we finalize the quarterly workforce report?"},{"title":"Weighted mean of open roles across groups","prompt":"I've got 40 rows of company headcount data across two groups, 'engineering' and 'sales', each with daily dates and open_roles counts — please give me the weighted mean of open_roles and flag any quality issues in the records."},{"title":"Validate headcount time series integrity","prompt":"Before I use this headcount time series in our model, can you check the record quality for these 120 rows and compute the weighted mean of headcount? The rows have company_group, date, headcount, and open_roles for each observation."}],"resultDescription":"Returns two reports: (1) a record quality audit identifying issues with the supplied headcount observation rows (e.g. missing values, out-of-range numbers, format problems) and (2) a weighted mean calculation for the chosen field (headcount or open_roles), both computed locally using shared analytical engines on up to 200 input rows.","failureModes":["More than 200 rows submitted — batch size exceeded","Missing required fields (row_id, company_group, date, headcount, or open_roles) cause validation errors","Invalid date format (not YYYY-MM-DD) causes parsing failure","Numeric values outside allowed range cause rejection","Empty rows array returns an error","Invalid enum value for 'field' parameter (must be 'headcount' or 'open_roles')"],"whenToPreferThis":"Choose this endpoint when you have up to 200 company headcount observation records and need both a data quality audit and a weighted mean statistic in a single low-cost call ($0.01 USDC). It is ideal for pre-analysis validation of workforce data pipelines, HR reporting workflows, or any scenario where you want to surface record-level quality issues alongside a summary statistic — all without any external lookups or live data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:06.990Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-record-quality-audit-secondary-measure-09b83e2e"}