# Style Guide Audits — Trailing Mean Series + Secondary-Measure Weighted Mean

> Style Guide Audits — Trailing Mean Series + 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-28).

Computes a trailing moving-average time series and a secondary-measure weighted mean over supplied style guide audit records (checked_items, flagged_items) for up to 200 rows, returning two independent analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-writing-05-151?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/style-guide-audits-trailing-mean-series-secondary-measure-weighted-mean-3ce5e96a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OY8YBwpZB4iiiOIzvZy_G

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 style-guide-audits-trailing-mean-series-secondary-measure-weighted-mean-3ce5e96a -d '<json body>'
```

Example prompt: Run a trailing mean series and secondary-measure weighted mean on my style guide audit data — I have 4 rows with checked_items and flagged_items per document group, using a window of 2, and I want results for checked_items.

## When to prefer this

Choose this endpoint when you need both a rolling/trailing mean time series and a weighted mean summary computed together from user-supplied style guide audit data in a single call. It is well-suited for document compliance tracking, editorial quality monitoring, or any scenario where checked_items and flagged_items are the core metrics. Prefer it over generic analytics tools when you want a bundled two-report result at low cost ($0.01 USDC) without any live data lookups or external dependencies.

## Known failure modes

- Fewer than 1 or more than 200 rows submitted — request rejected
- Invalid date format (must be YYYY-MM-DD) causes row validation failure
- Window size smaller than 2 or larger than 200 returns an error
- checked_items or flagged_items values outside ±1,000,000,000,000 are rejected
- Missing required fields (row_id, document_group, date) cause schema validation errors
- Field enum value not 'checked_items' or 'flagged_items' causes rejection

## How this service works

Style guide audits — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied style guide audits records (checked_items, flagged_items). 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

Two independent analytical reports: (1) a trailing moving-average time series over the selected field (checked_items or flagged_items) using the specified window size, and (2) a secondary-measure weighted mean across the supplied rows grouped by document_group. Both reports are computed locally from the submitted 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",
     "checked_items",
     "flagged_items"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "checked_items": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "flagged_items": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "document_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "checked_items": 10,
     "flagged_items": 1,
     "document_group": "group-a"
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "checked_items": 20,
     "flagged_items": 2,
     "document_group": "group-b"
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "checked_items": 15,
     "flagged_items": 3,
     "document_group": "group-a"
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "checked_items": 30,
     "flagged_items": 4,
     "document_group": "group-b"
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "checked_items",
    "flagged_items"
   ],
   "type": "string",
   "default": "checked_items"
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/style-guide-audits-trailing-mean-series-secondary-measure-weighted-mean-3ce5e96a/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)
