# Training Attendance Secondary-Measure Weighted Mean

> Training Attendance Secondary-Measure Weighted Mean is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-27).

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.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-training-attendance-weighted-average?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/training-attendance-secondary-measure-weighted-mean-b593c376
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W_U8hi0Jt67smRAl6poWv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability training-attendance-secondary-measure-weighted-mean-b593c376 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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')

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/training-attendance-secondary-measure-weighted-mean-b593c376/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
