{"uid":"cap_yP3ir351DVA7WQldiqMV-","slug":"training-assessments-trailing-mean-series-secondary-measure-weighted-e537a706","name":"Training Assessments Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Training assessments — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean 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-151?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_cZLInNlWMdX4KF3qy5sck","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 rolling/trailing mean time series and a secondary-measure weighted mean for training assessment records containing pre_score and post_score fields.","exampleAgentPrompt":"Can you run a trailing mean series with a window of 3 on the pre_score field for these 12 training assessment records, each with a row_id, course_group, date, pre_score, and post_score, and also give me the secondary-measure weighted mean?","exampleUseCases":[{"title":"Corporate training cohort trend analysis","prompt":"I have 50 training records for our onboarding cohort — each has a date, course group, pre-test score, and post-test score. Can you compute a trailing mean series with a window of 5 on the post_score field plus the weighted mean across secondary measures so I can see how scores are trending over time?"},{"title":"E-learning platform score smoothing","prompt":"We have 120 learner assessment rows from our e-learning platform with pre_score and post_score values. Run a trailing mean series using a window of 4 on pre_score along with the secondary-measure weighted mean so we can smooth out week-to-week noise in the data."},{"title":"Compliance training effectiveness report","prompt":"I need to evaluate effectiveness across two course groups — 'safety-101' and 'ethics-202' — using 80 assessment records. Please compute a rolling mean series with window 6 on post_score and the weighted mean for the secondary measure so I can include these stats in our quarterly compliance report."}],"resultDescription":"Returns two independent analytical reports for the supplied training assessment data: (1) a trailing/rolling mean time series computed over the specified window for the chosen score field (pre_score or post_score), and (2) a secondary-measure weighted mean. Both reports are derived entirely from the supplied rows (up to 200) with no external lookups or predictions.","failureModes":["Fewer than 1 row supplied — minimum row count not met","More than 200 rows supplied — exceeds maximum batch size","Invalid date format (must be YYYY-MM-DD)","Window size outside allowed range of 2–200","Missing required fields (row_id, course_group, date, pre_score, or post_score)","Invalid field value — must be 'pre_score' or 'post_score'","Null scores in all rows may result in empty or degenerate statistics","Payment failure or insufficient USDC balance via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need both a time-based rolling/trailing mean series AND a secondary-measure weighted mean in a single API call for training assessment data with pre_score and post_score fields, and your dataset is up to 200 rows. It is ideal for offline or batch analytics where no live data lookup, prediction, or external enrichment is needed, and cost efficiency matters ($0.01 USDC for two reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:50:37.501Z","isFirstParty":false,"canonicalSlug":"training-assessments-trailing-mean-series-secondary-measure-weighted-e537a706"}