# Knowledge Base Maintenance — Two-Measure Correlation + Secondary-Measure Weighted Mean

> Knowledge Base Maintenance — Two-Measure Correlation + 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-23).

Computes Pearson/rank correlation between updated_articles and due_articles, plus a weighted mean of the secondary measure, across up to 200 knowledge base maintenance records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-writing-16-181?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/knowledge-base-maintenance-two-measure-correlation-secondary-measure-e0814506
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4KuzxBiJEyYxSQYWxXIFZ

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 knowledge-base-maintenance-two-measure-correlation-secondary-measure-e0814506 -d '<json body>'
```

Example prompt: I have 4 knowledge base maintenance records — row-1 on 2026-10-01 (group-a, 10 updated, 1 due), row-2 on 2026-10-02 (group-b, 20 updated, 2 due), row-3 on 2026-10-03 (group-a, 15 updated, 3 due), row-4 on 2026-10-04 (group-b, 30 updated, 4 due) — can you run both the two-measure correlation between updated_articles and due_articles and the weighted mean of due_articles across these rows?

## When to prefer this

Choose this endpoint when you need both a correlation analysis between two knowledge-base maintenance metrics (updated_articles vs due_articles) AND a weighted mean of a secondary measure in a single $0.01 call covering up to 200 rows. It is ideal for documentation or content teams wanting quick offline statistical summaries without external data dependencies, live predictions, or professional assessments.

## Known failure modes

- Fewer than 1 row submitted — minimum row count not met
- More than 200 rows submitted — exceeds maximum row limit
- Missing required fields (row_id, document_group, date, updated_articles, due_articles) — validation error
- Invalid date format (must be YYYY-MM-DD) — pattern mismatch
- Numeric values outside allowed range (±1,000,000,000,000) — schema violation
- Invalid field enum value — must be 'updated_articles' or 'due_articles'
- Insufficient variance in data — correlation may return undefined or NaN
- Payment not included or insufficient — x402 payment required at $0.01 USDC

## How this service works

Knowledge base maintenance — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean for supplied knowledge base maintenance records (updated_articles, due_articles). 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 analytical reports: (1) a two-measure correlation coefficient quantifying the statistical relationship between updated_articles and due_articles across the submitted rows, and (2) a weighted mean of the selected secondary measure (updated_articles or due_articles). Results are computed locally from supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/knowledge-base-maintenance-two-measure-correlation-secondary-measure-e0814506/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)
