# Source Diversity Analytics: Record Quality Audit, String Normalisation & Two-Measure Correlation

> Source Diversity Analytics: Record 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-29).

Audits record quality, normalises strings, and computes correlation between source_count and outlet_count for up to 200 rows of source diversity data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-news-17-204?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/source-diversity-analytics-record-quality-audit-string-normalisation-986f9001
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GTMXsEFjjrXsJZYAlD9j-

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 source-diversity-analytics-record-quality-audit-string-normalisation-986f9001 -d '<json body>'
```

Example prompt: Can you run a record quality audit, string normalisation, and source-to-outlet correlation analysis on my source diversity dataset? I have rows with channel groups like 'group-a' and 'group-b', dates from 2026-10-01 to 2026-10-04, and source_count/outlet_count pairs like 10/1, 20/2, 15/3, and 30/4 — I need all three reports in one shot.

## When to prefer this

Choose this endpoint when you need a bundled, cost-efficient trio of analytical operations — record quality audit, string normalisation, and two-measure correlation — on source diversity data (source_count, outlet_count) in a single API call. It is ideal for media analysts, journalism researchers, or data engineers who want to validate and understand relationships in news source diversity datasets without building separate pipelines. Best when data fits within 200 rows and no external lookups or predictions are required.

## Known failure modes

- More than 200 rows submitted — request rejected with maxItems violation
- Missing required fields (row_id, channel_group, date, source_count, outlet_count) — validation error
- Invalid date format not matching YYYY-MM-DD pattern — schema rejection
- source_count or outlet_count outside allowed numeric range — validation error
- Empty rows array (minItems: 1 not met) — schema rejection

## How this service works

Source diversity — Record quality audit + String normalisation + Two-measure correlation: Record quality audit + String normalisation + Two-measure correlation for supplied source diversity records (source_count, outlet_count). 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

Returns three independent analytical reports: (1) a record quality audit flagging issues such as nulls, out-of-range values, or malformed dates in the supplied rows; (2) a string normalisation report identifying and correcting inconsistencies in channel_group and other string fields; and (3) a two-measure correlation report quantifying the statistical relationship between source_count and outlet_count across all supplied rows. All processing is local with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/source-diversity-analytics-record-quality-audit-string-normalisation-986f9001/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)
