# Document Readability Inputs — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill

> Document Readability Inputs — Secondary-Measure Weighted Mean + Explicit 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-23).

Computes a secondary-measure weighted mean and fills missing values for document readability inputs (sentence_count, word_count) across up to 200 rows, returning 2 analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-writing-07-187?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/document-readability-inputs-secondary-measure-weighted-mean-explicit-f076ca73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YtlN4HGbKmET5vY0m2Sp8

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 document-readability-inputs-secondary-measure-weighted-mean-explicit-f076ca73 -d '<json body>'
```

Example prompt: I have a dataset of 50 documents with sentence_count and word_count per row — can you compute the secondary-measure weighted mean for word_count across all rows, filling any missing values with the median, and give me 2 analytical reports?

## When to prefer this

Choose this endpoint when you have a batch of up to 200 document readability records (sentence_count, word_count) and need both a weighted mean aggregation and explicit missing-value imputation in a single cost-effective call ($0.01 USDC for 2 reports). Ideal for preprocessing readability metrics before downstream analysis when null handling is required.

## Known failure modes

- Missing required fields (row_id, date, document_group) causes validation error
- More than 200 rows submitted exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Invalid field or method enum value causes parameter error
- Empty rows array (minItems:1 not met) causes rejection

## How this service works

Document readability inputs — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied document readability inputs records (sentence_count, word_count). 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 2 independent analytical reports containing the secondary-measure weighted mean and explicit missing-value filled results for the selected field (sentence_count or word_count) across up to 200 input rows, computed locally without external data lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/document-readability-inputs-secondary-measure-weighted-mean-explicit-f076ca73/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)
