# Software Quality Two-Measure Correlation

> Software Quality Two-Measure Correlation 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 the statistical correlation between issues_opened and issues_closed across software quality records, grouped by component and date.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-software-quality-correlation?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-two-measure-correlation-8879fff9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t3nZL8Dgppr9ksh8JtUEO

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-two-measure-correlation-8879fff9 -d '<json body>'
```

Example prompt: Can you calculate the correlation between issues opened and issues closed for my software components? I have data for components 'auth-service' and 'payment-service' from 2024-01-01 to 2024-01-04 — row-1: auth-service, 5 opened, 3 closed; row-2: payment-service, 12 opened, 8 closed; row-3: auth-service, 7 opened, 5 closed; row-4: payment-service, 9 opened, 6 closed.

## When to prefer this

Choose this endpoint when you need a fast, local statistical correlation between two software quality measures (issues opened vs closed) without any external data enrichment or forecasting. Ideal for teams analyzing defect tracking data across components over time when a simple, bounded, cost-effective correlation computation is sufficient and privacy of data is important (no external enrichment).

## Known failure modes

- Missing required fields (row_id, component, date, issues_opened, issues_closed) returns validation error
- Date field not matching YYYY-MM-DD pattern causes rejection
- Exceeding 200 row limit returns payload too large error
- Null values in both measure fields may reduce correlation reliability
- Empty rows array (minItems: 1 violated) returns schema validation error
- Payment of 0.01 USDC not fulfilled causes x402 payment required response

## How this service works

Software quality - Two-measure correlation: Two-measure correlation 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 two-measure correlation deliverable.

## Output

Returns a two-measure correlation deliverable showing the statistical correlation coefficient between issues_opened and issues_closed across the supplied software quality records (up to 200 rows), with local numeric processing and data-quality validation — no external enrichment applied.

## 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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/software-quality-two-measure-correlation-8879fff9/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)
