# Simulation Caches — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill

> Simulation Caches — 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-22).

Computes a secondary-measure weighted mean and fills missing values explicitly for simulation cache records (cache_gb, simulation_seconds) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-creative-08-187?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/simulation-caches-secondary-measure-weighted-mean-explicit-missing-f91c1c6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vvz1y-SLLKpuyYrorpDSD

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 simulation-caches-secondary-measure-weighted-mean-explicit-missing-f91c1c6f -d '<json body>'
```

Example prompt: I have 4 rows of simulation cache data — group-a had 10 GB / 1s and 15 GB / 3s, group-b had 20 GB / 2s and 30 GB / 4s — can you compute the secondary-measure weighted mean for cache_gb (weighted by simulation_seconds) and fill any missing values using median?

## When to prefer this

Choose this endpoint when you have tabular simulation cache records with cache_gb and simulation_seconds columns and need both a weighted mean (using one measure to weight the other) and explicit missing-value imputation in a single API call. Ideal for small to medium datasets (up to 200 rows) where no external data enrichment or prediction is needed — purely local analytical computation on supplied data.

## Known failure modes

- Fewer than 1 or more than 200 rows submitted — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Numeric values outside allowed range (±1,000,000,000,000) — rejected
- Invalid enum value for 'field' or 'method' — schema error
- All values for the weighted field are null — weighted mean may be undefined or NaN
- Missing required fields (row_id, asset_group, date, cache_gb, simulation_seconds) — schema rejection

## How this service works

Simulation caches — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied simulation caches records (cache_gb, simulation_seconds). 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 two analytical reports: (1) the secondary-measure weighted mean of the selected field (cache_gb or simulation_seconds) using the other measure as weights, and (2) a missing-value filled version of the dataset using the specified strategy (zero, mean, or median). Results are computed locally with no external data lookup.

## Request schema (JSON Schema)

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

## More

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