# Migration Batches — String Normalisation + Secondary-Measure Weighted Mean

> Migration Batches — String Normalisation + 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-11-02).

Normalises component/label strings and computes a weighted mean for a secondary numeric measure across supplied migration batch records (records_migrated, failed_records) for up to 200 rows, returning two analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-software-18-034?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/migration-batches-string-normalisation-secondary-measure-weighted-mean-9e67fa98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PcyrQP-PIDyBI8EYfNRzB

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 migration-batches-string-normalisation-secondary-measure-weighted-mean-9e67fa98 -d '<json body>'
```

Example prompt: Can you run string normalisation on the component labels and compute a weighted mean for failed_records across these migration batch rows? I have 4 rows with components group-a and group-b from October 2026 with records_migrated and failed_records values.

## When to prefer this

Choose this endpoint when you have migration batch tabular data (up to 200 rows) and need both string normalisation of component labels and a weighted mean of a numeric migration measure (records_migrated or failed_records) in a single low-cost call. It is purpose-built for migration analytics use cases and bundles two reports for $0.01 USDC. Prefer it over generic analytics services when working specifically with migration batch logs containing component, date, records_migrated, and failed_records fields.

## Known failure modes

- More than 200 rows supplied — request will be rejected or truncated
- Missing required fields (row_id, date, component) cause row-level errors
- Invalid date format (not YYYY-MM-DD) fails schema validation
- Numeric values outside ±1,000,000,000,000 are rejected
- All-null numeric values for the chosen field may produce an undefined weighted mean
- Invalid enum value for field parameter causes validation error

## How this service works

Migration batches — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean for supplied migration batches records (records_migrated, failed_records). 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

Two reports: (1) a string-normalisation report standardising the component/label strings across the supplied rows, and (2) a secondary-measure weighted mean computed for the chosen field (records_migrated or failed_records) across up to 200 migration batch rows. No external lookups or predictions are made; all analysis is performed locally on the supplied data.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/migration-batches-string-normalisation-secondary-measure-weighted-mean-9e67fa98/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)
