{"uid":"cap_PCOEjpA8ubceDFnKElNQO","slug":"training-assessments-secondary-measure-weighted-mean-date-by-category-4ab90c60","name":"Training Assessments — Secondary-Measure Weighted Mean + Date-by-Category Pivot","description":"Training assessments — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot for supplied training assessments records (pre_score, post_score). 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-education-11-185?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","pre_score","post_score"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"pre_score":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"post_score":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"course_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","pre_score":10,"post_score":1,"course_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","pre_score":20,"post_score":2,"course_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","pre_score":15,"post_score":3,"course_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","pre_score":30,"post_score":4,"course_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["pre_score","post_score"],"type":"string","default":"pre_score"}}},"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_sYBu7-9U6PQvMwG3Rj1nn","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 and a date-by-category pivot table for up to 200 training assessment rows (pre_score / post_score), returning two analytical reports.","exampleAgentPrompt":"I have 150 training assessment records with pre_score and post_score values for several course groups — can you compute the weighted mean of post_score and also give me a date-by-category pivot table for all of them?","exampleUseCases":[{"title":"Post-training score improvement summary","prompt":"I have 80 rows of employee training data with course_group, date, pre_score, and post_score. Can you calculate the weighted mean of post_score and pivot the results by date and course group so I can see how each group improved?"},{"title":"Pre-assessment baseline analysis by cohort","prompt":"Here are 120 learner assessment records across four course groups with dates ranging from January to March. Run a weighted mean on pre_score and generate a date-by-category pivot so I can see baseline performance trends for each cohort."},{"title":"Corporate L&D reporting for quarterly review","prompt":"I need two reports on our Q3 training assessments — a weighted mean of post_score and a date-by-category pivot across all 190 records. The data has course_group, date, pre_score, and post_score fields for each row."}],"resultDescription":"Returns two analytical reports: (1) the weighted mean of the selected score field (pre_score or post_score) across the supplied rows, and (2) a pivot table cross-tabulating dates against course_group categories with aggregated score values. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows supplied — exceeds row limit, request rejected","Missing required fields (row_id, course_group, date, pre_score, post_score) — schema validation error","Invalid date format (not YYYY-MM-DD) — pattern validation failure","Invalid field enum value (not pre_score or post_score) — rejected","All score values are null — weighted mean may be undefined or return null result","Payment of 0.01 USDC not fulfilled — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need both a weighted mean and a date-by-category pivot on training assessment data (pre_score/post_score) in a single paid call. It is ideal for education or L&D analytics workflows where you have up to 200 rows with course_group and date dimensions and want two complementary statistical summaries without building your own aggregation logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:51:13.342Z","isFirstParty":false,"canonicalSlug":"training-assessments-secondary-measure-weighted-mean-date-by-category-4ab90c60"}