# Code Review Analytics — Duplicate Key Report + Numeric Row Ordering

> Code Review Analytics — Duplicate Key Report + Numeric Row Ordering 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-25).

Analyzes supplied code review records (pull_requests, review_hours) to produce a duplicate key report and a numeric row ordering report for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-software-11-058?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/code-review-analytics-duplicate-key-report-numeric-row-ordering-8255bf0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ii3PI3dPq-VJYsprMwOtp

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 code-review-analytics-duplicate-key-report-numeric-row-ordering-8255bf0c -d '<json body>'
```

Example prompt: Check my code review data for duplicate row IDs and also rank the rows numerically by pull_requests — here are the records: row-1 for group-a on 2026-10-01 with 10 pull requests and 1 review hour, row-2 for group-b on 2026-10-02 with 20 pull requests and 2 review hours.

## When to prefer this

Choose this endpoint when you need fast, offline duplicate key detection and numeric ordering on code review tabular data (pull_requests, review_hours) without requiring external lookups, predictions, or professional assessments. It is ideal for data quality validation pipelines before importing code review metrics into dashboards or reports, handling up to 200 rows in a single $0.01 call that covers both reports simultaneously.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Missing required fields (row_id, component, date, pull_requests, review_hours) — validation error
- Invalid date format (must be YYYY-MM-DD) — schema validation failure
- row_id empty or exceeds 80 characters — rejected
- field enum value not 'pull_requests' or 'review_hours' — invalid input error
- Empty rows array — minimum 1 item required

## How this service works

Code review — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering for supplied code review records (pull_requests, review_hours). 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

Two independent analytical reports: (1) a duplicate key report listing any row_id values that appear more than once in the supplied dataset, and (2) a numeric row ordering report ranking all rows by the selected field (pull_requests or review_hours), all computed locally without external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/code-review-analytics-duplicate-key-report-numeric-row-ordering-8255bf0c/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)
