# Validation Rule Results — Two-Measure Correlation + Keyed Dataset Comparison

> Validation Rule Results — Two-Measure Correlation + 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-11).

Analyzes validation rule result records (passed_rules, total_rules) by computing two-measure correlation and performing a keyed dataset comparison between two supplied datasets of up to 200 rows each.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-08-183?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/validation-rule-results-two-measure-correlation-keyed-dataset-e0a0a0a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vl3ZCWJxFsI2fYrJnVzzN

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 validation-rule-results-two-measure-correlation-keyed-dataset-e0a0a0a8 -d '<json body>'
```

Example prompt: Can you run a two-measure correlation and keyed dataset comparison on my validation rule results? I have two datasets of about 50 rows each — the primary set has passed_rules and total_rules per dataset_group from 2024-01-01 through 2024-02-19, and the comparison set covers the same groups from 2024-02-20 through 2024-04-10.

## When to prefer this

Choose this endpoint when you have structured validation rule result records with numeric passed_rules and total_rules fields and need both a correlation analysis between those two measures AND a keyed row-level comparison between two versions or sources of that data — all in a single paid API call. Best suited for data quality monitoring, regression detection after schema changes, or auditing differences between two teams or time periods running the same rule sets. Not appropriate if you need live lookups, predictive modeling, or more than 200 rows per dataset.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) — validation error
- Date field does not match YYYY-MM-DD pattern — schema validation failure
- Insufficient variance in both measures for meaningful correlation — degenerate result
- Mismatched row_ids between primary and comparison datasets — reduced or empty keyed comparison output
- Payment not included or insufficient USDC — x402 payment required error

## How this service works

Validation rule results — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison for supplied validation rule results records (passed_rules, total_rules). 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 independent analytical reports: (1) a two-measure correlation report quantifying the statistical relationship between passed_rules and total_rules across the supplied rows, and (2) a keyed dataset comparison report highlighting row-by-row differences between the primary and secondary datasets matched on row_id, dataset_group, and date fields.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/validation-rule-results-two-measure-correlation-keyed-dataset-e0a0a0a8/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)
