# Software Quality – Numeric Row Ordering

> Software Quality – 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-12).

Sorts up to 200 software quality records (issues opened/closed per component and date) by a chosen numeric field in ascending or descending order.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-software-quality-sort?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/software-quality-numeric-row-ordering-185f5293
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_99EEAob-dLs8mvlkuFnTy

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 software-quality-numeric-row-ordering-185f5293 -d '<json body>'
```

Example prompt: Sort these software quality records by issues_opened — I have 4 rows: row-1 for component group-a on 2026-10-01 with 10 opened and 1 closed, row-2 for group-b on 2026-10-02 with 20 opened and 2 closed, row-3 for group-a on 2026-10-03 with 15 opened and 3 closed, and row-4 for group-b on 2026-10-04 with 30 opened and 4 closed.

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.01 USDC) local numeric sort of up to 200 software quality records by issues opened or closed — ideal when you already have structured issue data and just need it ranked without external enrichment or forecasting.

## Known failure modes

- Missing required fields (row_id, component, date, issues_opened, issues_closed) returns a validation error
- More than 200 rows submitted returns a payload-too-large or validation error
- Invalid date format (not YYYY-MM-DD) causes a schema validation failure
- Invalid field enum value (not 'issues_opened' or 'issues_closed') returns an error
- Null numeric values may affect sort order or trigger edge-case handling

## How this service works

Software quality - Numeric row ordering: Numeric row ordering for Software quality. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded numeric row ordering deliverable.

## Output

Returns the submitted software quality rows reordered by the specified numeric field (issues_opened or issues_closed), preserving all original fields (row_id, component, date, issues_opened, issues_closed) in the sorted sequence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "component",
     "date",
     "issues_opened",
     "issues_closed"
    ],
    "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
     },
     "issues_closed": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "issues_opened": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "component": "group-a",
     "issues_closed": 1,
     "issues_opened": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "component": "group-b",
     "issues_closed": 2,
     "issues_opened": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "component": "group-a",
     "issues_closed": 3,
     "issues_opened": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "component": "group-b",
     "issues_closed": 4,
     "issues_opened": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "issues_opened",
    "issues_closed"
   ],
   "type": "string",
   "default": "issues_opened"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/software-quality-numeric-row-ordering-185f5293/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)
