# Forecast Verification — Secondary-Measure Weighted Mean & Keyed Dataset Comparison

> Forecast Verification — Secondary-Measure Weighted Mean & Keyed Dataset Comparison 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-26).

Computes a secondary-measure weighted mean and performs keyed dataset comparison on up to 200 rows of forecast vs. observed values, returning 2 analytical reports per call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-24-186?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forecast-verification-secondary-measure-weighted-mean-keyed-dataset-bcbcaeea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vjK6fbn10ZhNcxC7nKbkE

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 forecast-verification-secondary-measure-weighted-mean-keyed-dataset-bcbcaeea -d '<json body>'
```

Example prompt: I have two sets of forecast verification records (up to 200 rows each) with forecast_value and observed_value fields — can you run a secondary-measure weighted mean on the forecast_value field and do a keyed dataset comparison between the two datasets?

## When to prefer this

Choose this endpoint when you need both a weighted mean statistic and a keyed row-level comparison between two forecast verification datasets in a single call. It is purpose-built for forecast vs. observed value analysis with station group context, supports up to 200 rows, and returns two distinct reports for $0.01 USDC. Prefer alternatives if you need live forecast data, external weather lookups, or more than 200 rows per batch.

## Known failure modes

- Fewer than 1 row submitted — validation error
- More than 200 rows submitted — rejected with max-items error
- Missing required fields (row_id, date, forecast_value, observed_value) — schema validation failure
- Invalid date format (not YYYY-MM-DD) — pattern validation error
- Null values in forecast_value or observed_value may affect weighted mean computation
- Mismatched row_ids between primary and 'other' datasets reduce comparison coverage

## How this service works

Forecast verification inputs — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied forecast verification inputs records (forecast_value, observed_value). 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 selected field (forecast_value or observed_value) across the supplied rows, and (2) a keyed dataset comparison between the primary rows dataset and the reference 'other' dataset, identifying differences by row key. No external data is fetched; all analysis is performed on the submitted data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "station_group",
     "date",
     "forecast_value",
     "observed_value"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "station_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "forecast_value": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "observed_value": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "station_group": "group-a",
     "forecast_value": 10,
     "observed_value": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "station_group": "group-b",
     "forecast_value": 20,
     "observed_value": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "station_group": "group-a",
     "forecast_value": 15,
     "observed_value": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "station_group": "group-b",
     "forecast_value": 30,
     "observed_value": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "forecast_value",
    "observed_value"
   ],
   "type": "string",
   "default": "forecast_value"
  },
  "other": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "station_group",
     "date",
     "forecast_value",
     "observed_value"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "station_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "forecast_value": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "observed_value": {
      "type": [
       "number",
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forecast-verification-secondary-measure-weighted-mean-keyed-dataset-bcbcaeea/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)
