{"uid":"cap_dHM34oYFUOA-r8enSyJZl","slug":"training-assessments-secondary-measure-weighted-mean-explicit-missing-80d594d8","name":"Training Assessments — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Training assessments — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill 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-187?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"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_QSEjFNyEKO8BmcRjKcOeG","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 fills missing values for training assessment records (pre_score, post_score) across up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"I have 50 training assessment records with pre_score and post_score values — some scores are missing. Can you compute the secondary-measure weighted mean for post_score, filling any missing values using the median, and give me both analytical reports?","exampleUseCases":[{"title":"Course group performance comparison","prompt":"I've got 120 training records across three course groups with pre_score and post_score — several post_scores are null. Run the weighted mean analysis on post_score using mean to fill the missing values, and give me the two summary reports."},{"title":"Pre-training baseline aggregation","prompt":"I need to analyze the pre_score baseline across my 80 learner records — there are some nulls. Compute the secondary-measure weighted mean for pre_score and fill any missing entries with zero so I can see the weighted aggregate."},{"title":"Missing-value audit before L&D reporting","prompt":"Before I submit my L&D report, can you take these 40 assessment rows and run the weighted mean calculation on post_score with median imputation for missing values, returning both analytical outputs?"}],"resultDescription":"Two independent analytical reports covering: (1) secondary-measure weighted mean of the selected field (pre_score or post_score) across up to 200 supplied rows, and (2) explicit missing-value fill results using the chosen strategy (zero, mean, or median), all computed locally without external lookup or live data.","failureModes":["Exceeds 200-row limit — request rejected","Missing required fields (row_id, course_group, date, pre_score, post_score) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Invalid field enum value — only 'pre_score' or 'post_score' accepted","Invalid method enum — only 'zero', 'mean', or 'median' accepted","All values null for the selected field — weighted mean may be undefined or zero","Payment not included or insufficient — x402 payment required (0.01 USDC)"],"whenToPreferThis":"Choose this endpoint when you have up to 200 training assessment records with pre_score and post_score fields, need a weighted mean computed on one of those measures, and want missing values explicitly imputed before aggregation — all in a single low-cost call that returns two analytical reports. Prefer this over generic statistics APIs when your data fits the education/training assessment schema and you need both imputation and weighted aggregation in one pass.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:51:22.290Z","isFirstParty":false,"canonicalSlug":"training-assessments-secondary-measure-weighted-mean-explicit-missing-80d594d8"}