{"uid":"cap_xc2ytLvz7QG5rE-aZKG-U","slug":"company-headcount-observations-secondary-measure-weighted-mean-keyed-e0af6482","name":"Company Headcount Observations — Secondary-Measure Weighted Mean + Keyed Dataset Comparison","description":"Company headcount observations — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison 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-186?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"},"other":{"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":21,"open_roles":2,"company_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","headcount":17,"open_roles":3,"company_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","headcount":33,"open_roles":4,"company_group":"group-b"}],"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_TGDgWMrBnOceEeejKPTXx","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 on company headcount or open-roles data and compares two supplied datasets row-by-row, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"Can you compute the open-roles-weighted mean of headcount across my company groups, and also compare these two sets of headcount observations to spot differences — I have two batches of up to 50 rows each, one for group-a and one for group-b, dated from 2024-01-01 through 2024-03-31?","exampleUseCases":[{"title":"Weighted headcount mean for HR reporting","prompt":"I have monthly headcount and open roles data for three company divisions across Q1 2024 — can you compute the open-roles-weighted mean of headcount for each group and give me the two analytical reports?"},{"title":"Headcount dataset diff between two periods","prompt":"I want to compare our company headcount records from last quarter versus this quarter — here are two datasets with up to 80 rows each, both keyed by company_group and date. Can you run the keyed comparison and the weighted mean report on these?"},{"title":"Validate revised headcount figures against originals","prompt":"Our HR team revised some headcount numbers — can you compare the original dataset to the revised one (both have headcount and open_roles columns, keyed by company_group and date) and also compute the open-roles-weighted average headcount across all rows?"}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean of headcount or open_roles values using the other field as the weight, broken down by company group; (2) a keyed dataset comparison showing row-by-row differences between the two supplied datasets. Both reports are computed locally with no external data lookups.","failureModes":["Input array exceeds 200 rows — request will be rejected","Missing required row fields (row_id, company_group, date, headcount, open_roles) cause validation errors","Invalid date format (must match YYYY-MM-DD pattern) causes schema rejection","All weight values (secondary measure) are null or zero, making weighted mean undefined","Mismatched row_ids between the two datasets reduce the keyed comparison coverage"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of company headcount observations and need both a secondary-measure weighted mean (e.g. headcount weighted by open_roles) and a keyed row-level comparison between two datasets in a single low-cost call. Ideal for HR analytics, workforce reporting, or auditing headcount revisions without any external data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:46:06.059Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-secondary-measure-weighted-mean-keyed-e0af6482"}