{"uid":"cap_qAWsmXsCuWZwcne5u0AkI","slug":"company-headcount-observations-string-normalisation-trailing-mean-7c014ad1","name":"Company Headcount Observations — String Normalisation + Trailing Mean Series","description":"Company headcount observations — String normalisation + Trailing mean series: String normalisation + Trailing mean series 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-028?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_csX_Vye5jKkK06-lX9aoK","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":"Performs string normalisation and computes a trailing mean time series for supplied company headcount or open-roles observation records (up to 200 rows, 2 analytical reports per call).","exampleAgentPrompt":"Can you normalise the company group strings and compute a trailing mean series with a window of 4 for the headcount field across these 120 company observations I'm uploading — one report for string normalisation, one for the rolling average?","exampleUseCases":[{"title":"Smoothing headcount trends for HR reporting","prompt":"I have 150 rows of monthly headcount observations across our business units — can you normalise the company group labels and compute a trailing mean series with a window of 6 for the headcount field so I can spot hiring trends?"},{"title":"Open roles rolling average for recruiting dashboard","prompt":"Run string normalisation and a trailing mean series with window size 3 on my open_roles data for these 80 company observations across different groups — I need the smoothed series for our recruiting dashboard."},{"title":"Cleaning multi-group headcount records before analysis","prompt":"I've got 200 rows of headcount records from multiple company groups with inconsistent naming — normalise the strings and give me a trailing mean series over a window of 5 for the headcount field."}],"resultDescription":"Returns two analytical reports: (1) a string normalisation report that cleans and standardises the company_group and related string fields across the supplied rows, and (2) a trailing mean (rolling average) series computed over the specified window for the chosen numeric field (headcount or open_roles), keyed by row_id, date, and company_group.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows supplied — rejected, maxItems exceeded","Window size smaller than 2 or larger than 200 — validation error","Invalid date format (not YYYY-MM-DD) — pattern mismatch error","Missing required fields (row_id, company_group, date, headcount, open_roles) — schema validation failure","Non-numeric values in headcount or open_roles where number expected — type error","Payment not completed — endpoint returns 402 before processing"],"whenToPreferThis":"Choose this endpoint when you have up to 200 company headcount or open-roles observation records and need both string normalisation of labels and a rolling/trailing mean time series computed locally without any external lookups or predictions. It is cost-effective at $0.01 USDC for two bundled analytical reports and is ideal for pre-processing workforce data before dashboard ingestion or further statistical analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:04.815Z","isFirstParty":false,"canonicalSlug":"company-headcount-observations-string-normalisation-trailing-mean-7c014ad1"}