# Tutoring Sessions — Duplicate Key Report + Secondary-Measure Weighted Mean

> Tutoring Sessions — Duplicate Key Report + 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-02).

Analyzes up to 200 tutoring session records to produce a duplicate key report and a session_count-weighted mean of a chosen measure (session_minutes or session_count).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-education-16-067?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tutoring-sessions-duplicate-key-report-secondary-measure-weighted-mean-809c7837
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HAj74adrkkYo_uyCDEYzi

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-duplicate-key-report-secondary-measure-weighted-mean-809c7837 -d '<json body>'
```

Example prompt: Can you run a duplicate key check and a session_count-weighted mean of session_minutes on my tutoring dataset — I have rows with row_id, course_group, date, session_minutes, and session_count for up to 50 sessions across groups like 'group-a' and 'group-b'?

## When to prefer this

Choose this endpoint when you need to simultaneously audit tutoring session data for duplicate row keys and compute a weighted mean of a numeric measure in a single low-cost call ($0.01 USDC). Ideal for education analytics pipelines processing up to 200 records where both data quality (deduplication) and statistical summary (weighted average) are needed together without any external lookup or live data dependency.

## Known failure modes

- Input array is empty or exceeds 200 rows — validation error
- row_id, date, or course_group fields missing or malformed — schema validation failure
- date field does not match YYYY-MM-DD pattern — rejection
- session_minutes or session_count values outside [-1e12, 1e12] range — rejection
- Invalid field enum value — only 'session_minutes' or 'session_count' accepted
- Payment not provided or insufficient — x402 payment required response

## How this service works

Tutoring sessions — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + 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) a duplicate key report identifying any repeated row_id values within the supplied tutoring session records, and (2) a weighted mean of the selected field (session_minutes or session_count), weighted by the secondary measure (session_count), computed across all provided rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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-duplicate-key-report-secondary-measure-weighted-mean-809c7837/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)
