{"uid":"cap_0S_kfctPGBY5um8dKbga9","slug":"training-compliance-analytics-category-frequencies-secondary-measure-b9325433","name":"Training Compliance Analytics — Category Frequencies + Secondary-Measure Weighted Mean","description":"Training compliance — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean for supplied training compliance records (completed_courses, assigned_courses). 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-10-109?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","completed_courses","assigned_courses"],"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},"assigned_courses":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completed_courses":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","assigned_courses":1,"completed_courses":10},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","assigned_courses":2,"completed_courses":20},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","assigned_courses":3,"completed_courses":15},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","assigned_courses":4,"completed_courses":30}],"maxItems":200,"minItems":1},"field":{"enum":["completed_courses","assigned_courses"],"type":"string","default":"completed_courses"}}},"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_FP6NsXl4LDUc7wV7yp2xe","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 category frequencies and a secondary-measure weighted mean for up to 200 training compliance records (completed_courses, assigned_courses) in two independent local analytical reports.","exampleAgentPrompt":"Can you run a category frequency count and weighted mean analysis on our training compliance data — I have 4 rows across two team groups (group-a and group-b) with dates in October 2026, and I want to analyze the completed_courses field?","exampleUseCases":[{"title":"Department training completion audit","prompt":"I have compliance records for 50 employees across 5 departments with their assigned and completed course counts for Q3. Can you compute the category frequencies by department and the weighted mean of completed_courses so I can see which groups are performing best?"},{"title":"Weekly compliance snapshot for HR","prompt":"Run a frequency and weighted mean analysis on this week's training compliance export — about 120 rows with team_group and date fields — focusing on assigned_courses so HR can see how workload is distributed across teams."},{"title":"Spot-check two team groups' course load","prompt":"I've got a small dataset of 8 training records split between two team groups from last month. Can you give me the category frequency breakdown and the weighted mean for completed_courses so I can compare the two groups?"}],"resultDescription":"Two independent analytical reports: (1) category frequencies showing how often each team_group value appears across the supplied rows, and (2) a secondary-measure weighted mean of the selected field (completed_courses or assigned_courses), computed locally without any external lookup or prediction. Results cover up to 200 input rows.","failureModes":["Missing required fields (row_id, team_group, date, completed_courses, assigned_courses) cause validation errors","Date values not matching YYYY-MM-DD pattern are rejected","Input array exceeding 200 rows is rejected","Null numeric values may affect weighted mean computation","Malformed JSON body results in a 400-level error","Payment of 0.01 USDC not provided causes 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need two quick, offline analytical summaries — category frequency counts and a weighted mean — for training compliance tabular data of up to 200 rows, without requiring live data lookup, external enrichment, or professional assessment. Ideal for HR analytics pipelines that already have the compliance records on hand and need fast, cheap statistical aggregation at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:30:48.167Z","isFirstParty":false,"canonicalSlug":"training-compliance-analytics-category-frequencies-secondary-measure-b9325433"}