# Damaged Stock Quality Audit + String Normalisation + Two-Measure Correlation

> Damaged Stock Quality Audit + String Normalisation + Two-Measure Correlation 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-24).

Runs three local analytical reports on damaged stock data: record quality audit, string normalisation, and two-measure correlation between handled_units and damaged_units (up to 200 rows).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-retail-18-204?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/damaged-stock-quality-audit-string-normalisation-two-measure-387c3719
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vKc7ym0eb7IIYxQBtOqgB

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 damaged-stock-quality-audit-string-normalisation-two-measure-387c3719 -d '<json body>'
```

Example prompt: Can you run a record quality audit, string normalisation, and correlation analysis on this batch of damaged stock records? I have up to 50 rows with fields for row_id, store_group, date, handled_units, and damaged_units — I want to see all three reports bundled together.

## When to prefer this

Choose this endpoint when you need three standard data-quality and analytical reports on damaged stock data in a single $0.01 call, without needing live inventory lookups, predictive modelling, or external integrations. It is ideal for offline batch QA on up to 200 rows of retail damage tracking data where record auditing, string cleaning, and correlation are all required together.

## Known failure modes

- Payload exceeds 200 rows — request rejected with validation error
- Missing required fields (row_id, date, handled_units, damaged_units) cause row-level audit failures
- Malformed date strings not matching YYYY-MM-DD pattern flagged or rejected
- Null numeric values for both measures may degrade correlation computation
- Payment not sent or insufficient USDC — 402 Payment Required response

## How this service works

Damaged stock — Record quality audit + String normalisation + Two-measure correlation: Record quality audit + String normalisation + Two-measure correlation for supplied damaged stock records (handled_units, damaged_units). Up to 200 rows; 3 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 3 supplied-data reports for up to 200 rows.

## Output

Three bundled analytical reports: (1) a record quality audit flagging null values, out-of-range numbers, and malformed dates across up to 200 rows; (2) a string normalisation report standardising store_group labels; (3) a two-measure correlation report quantifying the statistical relationship between handled_units and damaged_units. All computed locally with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/damaged-stock-quality-audit-string-normalisation-two-measure-387c3719/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)
