# Training Compliance — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill

> Training Compliance — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill 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-29).

Computes a secondary-measure weighted mean and fills missing values for training compliance records (completed_courses, assigned_courses) across up to 200 rows, returning 2 analytical reports per call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-10-187?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/training-compliance-secondary-measure-weighted-mean-explicit-missing-3236adf9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KmOlTOtbWC9vXa4wnwS6j

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-compliance-secondary-measure-weighted-mean-explicit-missing-3236adf9 -d '<json body>'
```

Example prompt: I have 4 rows of training compliance data — row-1 group-a 2026-10-01 completed=10 assigned=1, row-2 group-b 2026-10-02 completed=20 assigned=2, row-3 group-a 2026-10-03 completed=15 assigned=3, row-4 group-b 2026-10-04 completed=30 assigned=4 — can you compute the secondary-measure weighted mean for completed_courses and fill any missing values using the median method?

## When to prefer this

Choose this endpoint when you have structured training compliance data (completed_courses, assigned_courses) in up to 200 rows and need both a weighted mean aggregation and explicit missing-value imputation in a single low-cost call ($0.01 USDC for 2 reports). Prefer this over general-purpose analytics tools when working specifically with compliance course completion metrics and needing deterministic, local computation without external dependencies.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Missing required fields (row_id, date, team_group) cause validation error
- Invalid date format (not YYYY-MM-DD) fails pattern validation
- All values for the target field are null — weighted mean may be undefined
- Invalid enum value for field or method parameters
- Empty rows array returns error

## How this service works

Training compliance — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied training compliance records (completed_courses, assigned_courses). 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.

## Output

Returns 2 analytical reports per call: (1) a secondary-measure weighted mean computed over the specified field (completed_courses or assigned_courses) across up to 200 supplied rows, and (2) an explicit missing-value fill report where nulls are replaced using the chosen method (zero, mean, or median), all processed locally without external lookups or predictions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "team_group",
     "date",
     "completed_courses",
     "assigned_courses"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "team_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "assigned_courses": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "completed_courses": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "team_group": "group-a",
     "assigned_courses": 1,
     "completed_courses": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "team_group": "group-b",
     "assigned_courses": 2,
     "completed_courses": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "team_group": "group-a",
     "assigned_courses": 3,
     "completed_courses": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "team_group": "group-b",
     "assigned_courses": 4,
     "completed_courses": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "completed_courses",
    "assigned_courses"
   ],
   "type": "string",
   "default": "completed_courses"
  },
  "method": {
   "enum": [
    "zero",
    "mean",
    "median"
   ],
   "type": "string",
   "default": "median"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/training-compliance-secondary-measure-weighted-mean-explicit-missing-3236adf9/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)
