# Test Coverage Correlation & Missing-Value Fill

> Test Coverage Correlation & Missing-Value Fill 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).

Computes two-measure correlation and fills missing values for supplied test coverage records (covered_lines, total_lines) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-software-10-184?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/test-coverage-correlation-missing-value-fill-3a71fac7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6RTEZ-eU7iwexGEJHXmMt

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 test-coverage-correlation-missing-value-fill-3a71fac7 -d '<json body>'
```

Example prompt: I have test coverage records for my components — can you compute the correlation between covered_lines and total_lines and fill any missing values using median imputation? I've got about 50 rows covering multiple components across the last quarter.

## When to prefer this

Choose this endpoint when you have tabular test coverage data (covered_lines, total_lines) and need both a statistical correlation between those two measures and missing-value imputation in a single call, at low cost ($0.01 USDC for both reports). Prefer this over generic stats tools when your data fits the software coverage schema and you need a bundled two-report output without external API dependencies.

## Known failure modes

- Fewer than 1 row supplied returns an error
- More than 200 rows causes rejection
- Invalid date format (not YYYY-MM-DD) fails schema validation
- Missing required fields (row_id, component, date) causes validation failure
- Non-numeric values where numbers are expected may cause computation errors
- Insufficient non-null data points may prevent meaningful correlation computation

## How this service works

Test coverage — Two-measure correlation + Explicit missing-value fill: Two-measure correlation + Explicit missing-value fill for supplied test coverage records (covered_lines, total_lines). 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: (1) a correlation result between the two numeric measures (covered_lines and total_lines) across the supplied rows, and (2) the dataset with missing values filled using the specified method (zero, mean, or median). Up to 200 rows processed locally without external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/test-coverage-correlation-missing-value-fill-3a71fac7/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)
