# Validation Rule Results — Numeric Row Ordering & Secondary-Measure Weighted Mean

> Validation Rule Results — Numeric Row Ordering & 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-12).

Computes numeric row ordering and secondary-measure weighted mean analytics for validation rule result records (passed_rules, total_rules) across up to 200 rows in two independent reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-08-121?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/validation-rule-results-numeric-row-ordering-secondary-measure-bbc560ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hzC2ZxYdjuIwVRbtZLX7F

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-numeric-row-ordering-secondary-measure-bbc560ec -d '<json body>'
```

Example prompt: I have a batch of validation rule results — rows with passed_rules and total_rules values across groups like group-a and group-b from 2026-10-01 to 2026-10-04. Can you run a numeric row ordering and a weighted mean analysis on the passed_rules field and give me both reports?

## When to prefer this

Choose this endpoint when you need two fast, local statistical analyses — numeric row ordering and weighted mean — on validation rule result data (passed_rules, total_rules) with up to 200 rows, and no external data lookup, prediction, or live assessment is needed. It is cost-effective at $0.01 for both reports together, ideal for data quality pipelines, compliance audits, or recurring governance checks where you want ranked ordering and a weighted aggregate in a single call.

## Known failure modes

- More than 200 rows submitted — request exceeds maxItems limit and will be rejected
- Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) on any row causes validation error
- Date field not matching YYYY-MM-DD pattern causes schema rejection
- Numeric values outside ±1,000,000,000,000 range are rejected
- Invalid field enum value (not 'passed_rules' or 'total_rules') causes error
- Empty rows array (minItems: 1 not met) causes rejection

## How this service works

Validation rule results — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + 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 submitted rows: (1) a numeric row ordering report ranking the rows by the selected field (passed_rules or total_rules), and (2) a secondary-measure weighted mean report computing the weighted average of the selected field. Both reports are derived locally from 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-numeric-row-ordering-secondary-measure-bbc560ec/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)
