# Simulation Caches Two-Measure Correlation + Secondary-Measure Weighted Mean

> Simulation Caches Two-Measure Correlation + 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-21).

Computes Pearson correlation between cache_gb and simulation_seconds, plus a weighted mean of a secondary measure, for up to 200 simulation cache records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-creative-08-181?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/simulation-caches-two-measure-correlation-secondary-measure-weighted-63010e7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d_SIFbdIPEE51u8mr2A37

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-two-measure-correlation-secondary-measure-weighted-63010e7f -d '<json body>'
```

Example prompt: I have a set of simulation cache records with cache_gb and simulation_seconds values — can you run a correlation between those two measures and also compute a weighted mean of cache_gb for up to 4 rows: row-1 on 2026-10-01 group-a with cache_gb=10 simulation_seconds=1, row-2 on 2026-10-02 group-b with cache_gb=20 simulation_seconds=2, row-3 on 2026-10-03 group-a with cache_gb=15 simulation_seconds=3, and row-4 on 2026-10-04 group-b with cache_gb=30 simulation_seconds=4?

## When to prefer this

Choose this endpoint when you need two simultaneous statistical reports — correlation and weighted mean — on simulation cache data (cache_gb vs simulation_seconds) without any external data enrichment or prediction. Ideal for batch statistical summarization of up to 200 in-memory simulation records at minimal cost ($0.01 USDC for both reports). Prefer this over general-purpose analytics APIs when your data is already structured with the exact row schema and you want fast, local computation with no side effects.

## Known failure modes

- Empty rows array returns validation error
- More than 200 rows triggers maxItems constraint rejection
- Null values in both cache_gb and simulation_seconds may reduce correlation sample size
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- row_id missing or empty string triggers required field error
- field enum value other than 'cache_gb' or 'simulation_seconds' rejected
- Payment of 0.01 USDC required; missing x402 payment header returns 402

## How this service works

Simulation caches — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean 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 Pearson correlation coefficient between cache_gb and simulation_seconds across the submitted rows, and (2) the weighted mean of the selected secondary measure (cache_gb or simulation_seconds). Both computed locally using shared analytical engines, no external lookups.

## 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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/simulation-caches-two-measure-correlation-secondary-measure-weighted-63010e7f/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)
