{"uid":"cap_W_U8hi0Jt67smRAl6poWv","slug":"training-attendance-secondary-measure-weighted-mean-b593c376","name":"Training Attendance Secondary-Measure Weighted Mean","description":"Training attendance - Secondary-measure weighted mean: Secondary-measure weighted mean for Training attendance. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded secondary-measure weighted mean deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-training-attendance-weighted-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course","date","attendees","completions"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"course":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"attendees":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completions":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","course":"group-a","row_id":"row-1","attendees":10,"completions":1},{"date":"2026-10-02","course":"group-b","row_id":"row-2","attendees":20,"completions":2},{"date":"2026-10-03","course":"group-a","row_id":"row-3","attendees":15,"completions":3},{"date":"2026-10-04","course":"group-b","row_id":"row-4","attendees":30,"completions":4}],"maxItems":200,"minItems":1},"field":{"enum":["attendees","completions"],"type":"string","default":"attendees"}}},"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_krtYhsms-nfpaw36jRDri","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 over training attendance records (attendees or completions) for up to 200 course session rows, locally, with no external enrichment.","exampleAgentPrompt":"Calculate the secondary-measure weighted mean for attendees across these 4 training sessions: row-1 on 2026-10-01 for group-a had 10 attendees and 1 completion, row-2 on 2026-10-02 for group-b had 20 attendees and 2 completions, row-3 on 2026-10-03 for group-a had 15 attendees and 3 completions, and row-4 on 2026-10-04 for group-b had 30 attendees and 4 completions — use the attendees field.","exampleUseCases":[{"title":"Monthly course attendance summary","prompt":"I have 12 training sessions from last month across our onboarding and compliance courses — can you compute the secondary-measure weighted mean of attendees for all of them? Here are the rows with dates, course names, attendee counts, and completions."},{"title":"Compare completion rates across cohorts","prompt":"We ran 8 sessions for two training cohorts in Q3 — can you calculate the secondary-measure weighted mean of completions across all those rows so I can benchmark overall throughput?"},{"title":"Weekly training rollup for HR report","prompt":"I need a single weighted mean figure for attendees across our 20 training sessions this week, grouped by course name and date — can you run the secondary-measure weighted mean calculation on this dataset?"}],"resultDescription":"A numeric secondary-measure weighted mean value computed from the submitted training session rows, based on the selected field (attendees or completions). The result is derived locally with no external data enrichment or forecasting.","failureModes":["More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, course, date, attendees, or completions) on any row","Invalid date format (must match YYYY-MM-DD pattern)","Non-numeric or out-of-range values for attendees or completions","Empty rows array (minItems: 1 not satisfied)","Invalid field enum value (must be 'attendees' or 'completions')"],"whenToPreferThis":"Choose this endpoint when you need a secondary-measure weighted mean for training attendance data (up to 200 rows) entirely via local numeric processing, with no need for external enrichment, forecasting, or real-time data. It is ideal for HR analytics, L&D reporting, or workforce training dashboards where you already have the session-level data and need a fast, cheap ($0.01 USDC) aggregate computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T13:07:57.143Z","isFirstParty":false,"canonicalSlug":"training-attendance-secondary-measure-weighted-mean-b593c376"}