# Tutoring Sessions Equal-Width Histogram and Secondary-Measure Weighted Mean

> Tutoring Sessions Equal-Width Histogram and 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-26).

Computes an equal-width histogram and a secondary-measure weighted mean on up to 200 tutoring session records (session_minutes, session_count) and returns two analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-education-16-172?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tutoring-sessions-equal-width-histogram-and-secondary-measure-db87c982
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qd3W6ryNZ0MDRkrZS8en3

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 tutoring-sessions-equal-width-histogram-and-secondary-measure-db87c982 -d '<json body>'
```

Example prompt: I have 120 tutoring session records with session_minutes and session_count for different course groups — can you run an equal-width histogram on session_minutes using 10 bins and also compute the weighted mean of session_minutes weighted by session_count?

## When to prefer this

Choose this endpoint when you have up to 200 tutoring session records and need both a frequency distribution (histogram) and a weighted mean in a single API call. It is ideal for education analytics pipelines where session_minutes and session_count are the core metrics and no external data enrichment or prediction is needed. It is cost-effective at $0.01 USDC for two reports simultaneously.

## Known failure modes

- More than 200 rows submitted — request rejected or truncated
- Missing required fields (row_id, session_minutes, session_count, date, course_group) cause validation errors
- Invalid date format (non-YYYY-MM-DD) triggers schema rejection
- Bins value outside 1–30 range fails validation
- Null values in primary field may affect histogram bin calculation
- Invalid field enum value (not session_minutes or session_count) causes rejection

## How this service works

Tutoring sessions — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied tutoring sessions records (session_minutes, session_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 two analytical reports: (1) an equal-width histogram showing bin edges, bin counts, and frequency distribution for the chosen primary field (session_minutes or session_count) across the supplied rows; (2) a secondary-measure weighted mean computed from the same dataset. Both reports are generated locally from supplied data with no external lookups.

## 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",
     "course_group",
     "date",
     "session_minutes",
     "session_count"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "course_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "session_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "session_minutes": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "course_group": "group-a",
     "session_count": 1,
     "session_minutes": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "course_group": "group-b",
     "session_count": 2,
     "session_minutes": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "course_group": "group-a",
     "session_count": 3,
     "session_minutes": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "course_group": "group-b",
     "session_count": 4,
     "session_minutes": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "session_minutes",
    "session_count"
   ],
   "type": "string",
   "default": "session_minutes"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tutoring-sessions-equal-width-histogram-and-secondary-measure-db87c982/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)
