{"uid":"cap_Q72bSqcva4mELTSQ6aQi1","slug":"training-compliance-equal-width-histogram-and-two-measure-correlation-cf3a13a1","name":"Training Compliance Equal-Width Histogram and Two-Measure Correlation","description":"Training compliance — Equal-width histogram + Two-measure correlation: Equal-width histogram + Two-measure correlation 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-171?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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_05gtpuahv4sB4qW0TYsM6","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 an equal-width histogram and a two-measure correlation report for training compliance data (completed_courses and assigned_courses) from up to 200 supplied rows.","exampleAgentPrompt":"I have training compliance records for my teams — can you run an equal-width histogram with 10 bins on completed_courses and also compute the correlation between completed_courses and assigned_courses for these 50 rows of data?","exampleUseCases":[{"title":"Team training completion distribution analysis","prompt":"I've got 120 rows of training compliance data from our Q3 review — can you build a 8-bin equal-width histogram on completed_courses and also show me the correlation between completed_courses and assigned_courses so I can see which teams are keeping up?"},{"title":"HR compliance audit for assigned vs completed courses","prompt":"Run a two-measure correlation and a histogram with 5 bins on our assigned_courses field using this set of 80 training records — I want to understand whether assigning more courses actually leads to higher completion."},{"title":"Monthly training analytics for a single department","prompt":"Here are 40 rows of training data for the Engineering department across October — give me a 6-bin equal-width histogram on completed_courses and the correlation between completed and assigned courses so I can report on compliance trends."}],"resultDescription":"Returns two analytical reports computed locally against the supplied data: (1) an equal-width histogram breaking the chosen field (completed_courses or assigned_courses) into the specified number of bins with counts per bin, and (2) a two-measure correlation report quantifying the linear relationship between completed_courses and assigned_courses across all supplied rows.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, date, completed_courses, assigned_courses) causes row-level rejection","Invalid date format (non-YYYY-MM-DD) triggers a schema validation error","Requesting more than 30 bins or fewer than 1 bin fails schema validation","Null values in numeric fields may reduce effective sample size for correlation","Payment of 0.01 USDC not received results in HTTP 402 and no computation"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of training compliance records and need both a distributional view (histogram) and a pairwise relationship measure (correlation) in a single low-cost call. It is ideal for HR analytics, L&D reporting, and compliance auditing workflows where no external data lookup or prediction is needed — just fast local statistical analysis of 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:43.265Z","isFirstParty":false,"canonicalSlug":"training-compliance-equal-width-histogram-and-two-measure-correlation-cf3a13a1"}