# Tutorial Completion Equal-Width Histogram + Secondary-Measure Weighted Mean

> Tutorial Completion Equal-Width Histogram + 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-11-03).

Generates an equal-width histogram and a secondary-measure weighted mean for tutorial completion data (starts and completions) supplied by the caller, up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-game-20-172?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tutorial-completion-equal-width-histogram-secondary-measure-weighted-32d8b2c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3vbFWeTJg2J9NgQzEi2b7

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 tutorial-completion-equal-width-histogram-secondary-measure-weighted-32d8b2c0 -d '<json body>'
```

Example prompt: Analyze my tutorial completion data with an equal-width histogram and weighted mean — here are my rows: row-1, 2024-01-01, group-a, 100 starts, 40 completions; row-2, 2024-01-02, group-b, 200 starts, 90 completions; row-3, 2024-01-03, group-a, 150 starts, 60 completions. Use 5 bins and analyze the 'starts' field.

## When to prefer this

Choose this endpoint when you have tutorial completion records (starts and completions) and need both a frequency distribution (histogram) and a weighted mean computed in a single call for up to 200 rows, without any need for external data, live lookups, or predictions. It is especially suitable for gaming or educational analytics where you want to understand the distribution shape of a metric alongside its weighted average in one cheap API call.

## Known failure modes

- More than 200 rows submitted — request rejected
- Invalid date format (not YYYY-MM-DD) causes row rejection
- Bins parameter outside 1–30 range returns validation error
- Missing required row fields (row_id, game_area, date, starts, completions) causes error
- All null values for the selected field prevents histogram computation
- Invalid field enum value (not 'starts' or 'completions') returns error

## How this service works

Tutorial completion — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied tutorial completion records (starts, completions). 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) an equal-width histogram showing bin boundaries and record frequencies for the specified primary field (starts or completions), and (2) a secondary-measure weighted mean that weights the complementary metric using the primary field. Results are computed locally on the supplied data with no external lookup.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tutorial-completion-equal-width-histogram-secondary-measure-weighted-32d8b2c0/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)
