{"uid":"cap_Z4Nz_SEZMr6R-3y0tCDsS","slug":"training-compliance-two-measure-correlation-and-date-by-category-pivot-d773e7ad","name":"Training Compliance Two-Measure Correlation and Date-by-Category Pivot","description":"Training compliance — Two-measure correlation + Date by category pivot: Two-measure correlation + Date by category pivot 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-182?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_OnmzGVUhEIhGPFR1eh_pd","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 training compliance data: a Pearson/Spearman correlation between completed_courses and assigned_courses, and a date-by-category pivot table grouping a chosen metric by team_group over time.","exampleAgentPrompt":"Can you run a correlation between completed_courses and assigned_courses, plus a date-by-team-group pivot on my training compliance records? I have rows for groups A and B from October 2026 with completed_courses as the pivot field — here are up to 200 rows of data.","exampleUseCases":[{"title":"Team completion rate correlation check","prompt":"I want to know if there's a statistical correlation between how many courses were assigned and how many were actually completed across my teams — here are my 150 training compliance rows spanning Q3, each tagged with a team_group and date. Run the two-measure correlation report for me."},{"title":"Date-pivot of completions by department","prompt":"Can you pivot my training compliance data by date and team_group so I can see completed_courses totals for each group over time? I have about 80 rows covering groups like 'engineering', 'sales', and 'ops' from 2026-08-01 to 2026-10-31, and I want completed_courses as the pivot field."},{"title":"Compliance analytics ahead of audit","prompt":"We have an audit next week and I need two quick reports on our training records: a correlation between assigned_courses and completed_courses, and a breakdown of assigned_courses by team and date. Here are 200 rows with row IDs, dates, team names, and both course counts — please run both reports."}],"resultDescription":"Returns two independent analytical reports computed locally on the supplied rows: (1) a two-measure correlation statistic between completed_courses and assigned_courses, and (2) a date-by-category pivot table aggregating the selected field (completed_courses or assigned_courses) grouped by team_group across dates. Both reports are derived solely from the submitted data with no external lookups.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — request rejected or truncated","Invalid date format (not YYYY-MM-DD) — schema validation failure","Missing required fields (row_id, team_group, date, completed_courses, assigned_courses) — error response","Null or non-numeric values in both metric fields may reduce correlation quality","Invalid enum value for 'field' parameter — schema rejection"],"whenToPreferThis":"Choose this endpoint when you have tabular training compliance data (up to 200 rows) and need both a pairwise correlation between two numeric training metrics and a date-by-category pivot in a single low-cost API call ($0.01 USDC). It is ideal for HR analysts, L&D teams, or compliance dashboards that need quick descriptive statistics without sending data to an external prediction or ML service. Prefer it over general-purpose analytics tools when you want a lightweight, self-contained computation that returns two structured reports from your own supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:30:44.441Z","isFirstParty":false,"canonicalSlug":"training-compliance-two-measure-correlation-and-date-by-category-pivot-d773e7ad"}