# Validation Rule Results — Adjacent Row Changes & Secondary-Measure Weighted Mean

> Validation Rule Results — Adjacent Row Changes & 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-10-11).

Computes adjacent row change analysis and secondary-measure weighted mean for validation rule result records (passed_rules, total_rules) on up to 200 supplied rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-08-159?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-adjacent-row-changes-secondary-measure-333ea1c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hv-gbnxeAavHN6-S1a_se

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-adjacent-row-changes-secondary-measure-333ea1c6 -d '<json body>'
```

Example prompt: I have up to 200 rows of validation rule results with passed_rules and total_rules per dataset group and date — can you run the adjacent row changes and secondary-measure weighted mean reports on the passed_rules field for my data?

## When to prefer this

Choose this endpoint when you have tabular validation rule result data (with passed_rules and total_rules columns) and need both a row-by-row change analysis and a weighted mean statistic computed together in a single low-cost call. Ideal for data quality monitoring workflows, compliance audits, or pipeline health checks where you want local statistical analysis without external data lookups or predictions. Best suited for datasets up to 200 rows.

## Known failure modes

- More than 200 rows supplied — request will be rejected or truncated
- Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) cause validation errors
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Null values in passed_rules or total_rules may affect weighted mean calculation
- Invalid field selector (not 'passed_rules' or 'total_rules') causes enum validation failure
- Empty rows array rejected (minItems: 1)

## How this service works

Validation rule results — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean 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 for the supplied rows: (1) an adjacent row changes report showing delta values between consecutive rows for the selected field (passed_rules or total_rules), and (2) a secondary-measure weighted mean report computing the weighted average of the selected field using the other measure as the weight. Results are computed locally against the supplied data with no external lookups.

## 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
  },
  "field": {
   "enum": [
    "passed_rules",
    "total_rules"
   ],
   "type": "string",
   "default": "passed_rules"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/validation-rule-results-adjacent-row-changes-secondary-measure-333ea1c6/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)
