# Task Type Prediction Error Records

> Task Type Prediction Error Records 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-12).

Computes prediction error records for a naive-Bayes task-type classifier (research/writing/analysis/implementation) given up to 200 labelled text records with predicted labels and class probabilities.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-errors?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/task-type-prediction-error-records-4d710ca4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C9Ht_3jZ1ybhtABm9YYPc

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 task-type-prediction-error-records-4d710ca4 -d '<json body>'
```

Example prompt: I have 50 labelled text records where each one has an actual task type (research, writing, analysis, or implementation), a predicted label from my naive-Bayes model, and the 4-class probability scores — can you run the prediction error records calculation on them and tell me which ones the model got wrong?

## When to prefer this

Choose this endpoint when you need a cheap, bounded error-record report for a small labelled dataset (up to 200 records) classified into the four task types (research, writing, analysis, implementation) using a local naive-Bayes baseline — particularly useful for quick evaluation audits without needing a hosted model or foundation-model infrastructure.

## Known failure modes

- Records array exceeds 200 items — request rejected
- Probabilities array does not contain exactly 4 values per record — validation error
- Probability values outside [0,1] range — schema validation failure
- Missing required fields (id, text, actual, predicted, probabilities) — rejected
- Invalid label value outside enum (research, writing, analysis, implementation) — schema error

## How this service works

Task type - Prediction error records: Prediction error records for Task type. Up to 200 supplied labelled text records. Local dataset tools, evaluation and small naive-Bayes baselines; no hosted model or foundation-model training. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded prediction error records deliverable.

## Output

A bounded deliverable containing prediction error records for the submitted labelled text records — identifying which records were misclassified, the actual vs predicted task-type labels, and associated probability information, produced via local naive-Bayes evaluation (no hosted model or foundation-model training).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text",
     "actual",
     "predicted",
     "probabilities"
    ],
    "properties": {
     "id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "default": "",
      "maxLength": 1000
     },
     "actual": {
      "enum": [
       "research",
       "writing",
       "analysis",
       "implementation"
      ],
      "type": "string"
     },
     "predicted": {
      "enum": [
       "research",
       "writing",
       "analysis",
       "implementation"
      ],
      "type": "string"
     },
     "probabilities": {
      "type": "array",
      "items": {
       "type": "number",
       "default": 0,
       "maximum": 1,
       "minimum": 0
      },
      "default": [],
      "maxItems": 4,
      "minItems": 4
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "research sample document number 0 for this supplied dataset.",
     "actual": "research",
     "predicted": "research",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-1",
     "text": "research sample document number 1 for this supplied dataset.",
     "actual": "research",
     "predicted": "research",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-0-2",
     "text": "research sample document number 2 for this supplied dataset.",
     "actual": "research",
     "predicted": "research",
     "probabilities": [
      0.8,
      0.06666666666666667,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-0",
     "text": "writing sample document number 0 for this supplied dataset.",
     "actual": "writing",
     "predicted": "writing",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
    },
    {
     "id": "example-1-1",
     "text": "writing sample document number 1 for this supplied dataset.",
     "actual": "writing",
     "predicted": "writing",
     "probabilities": [
      0.06666666666666667,
      0.8,
      0.06666666666666667,
      0.06666666666666667
     ]
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/task-type-prediction-error-records-4d710ca4/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)
