# Knowledge Topic Training-Evaluation Text Overlap Detector

> Knowledge Topic Training-Evaluation Text Overlap Detector 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-15).

Detects text overlap between training and evaluation sets for knowledge topic classification (setup/usage/troubleshooting/reference) using a naive-Bayes baseline, returning leakage metrics.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-knowledge-topic-leakage?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/knowledge-topic-training-evaluation-text-overlap-detector-a66c9165
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PpY1xbo7twW1gw--YRRit

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 knowledge-topic-training-evaluation-text-overlap-detector-a66c9165 -d '<json body>'
```

Example prompt: Check whether my evaluation texts overlap with my training records for a knowledge topic classifier — I have 12 labelled training documents (split across setup, usage, troubleshooting, and reference categories) and 2 evaluation texts I want to test for leakage.

## When to prefer this

Choose this endpoint when you need a lightweight, cheap ($0.01) check for training-evaluation text overlap in a four-class knowledge topic classification setting (setup/usage/troubleshooting/reference) without needing a hosted model or foundation model. Best for small datasets up to 200 records where data integrity validation is the primary goal, not model training.

## Known failure modes

- Fewer than 2 training records provided — minimum is 2
- Fewer than 1 evaluation text provided — minimum is 1
- More than 200 records or evaluation texts supplied — exceeds maxItems limit
- Record text exceeds 1000 character limit — truncation or rejection
- Invalid category label outside enum (setup/usage/troubleshooting/reference) — validation error
- Missing required fields (id, text, actual) in a record — schema rejection
- Payment not included or insufficient — x402 payment required at $0.01 USDC

## How this service works

Knowledge topic - Training evaluation text overlap: Training evaluation text overlap for Knowledge topic. 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 training evaluation text overlap deliverable.

## Output

Returns an overlap/leakage report quantifying how much textual similarity exists between the supplied labelled training records and the evaluation texts, including which pairs overlap and aggregate leakage metrics — all computed locally using naive-Bayes baseline methods without any hosted model.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text",
     "actual"
    ],
    "properties": {
     "id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "default": "",
      "maxLength": 1000
     },
     "actual": {
      "enum": [
       "setup",
       "usage",
       "troubleshooting",
       "reference"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "setup sample document number 0 for this supplied dataset.",
     "actual": "setup"
    },
    {
     "id": "example-0-1",
     "text": "setup sample document number 1 for this supplied dataset.",
     "actual": "setup"
    },
    {
     "id": "example-0-2",
     "text": "setup sample document number 2 for this supplied dataset.",
     "actual": "setup"
    },
    {
     "id": "example-1-0",
     "text": "usage sample document number 0 for this supplied dataset.",
     "actual": "usage"
    },
    {
     "id": "example-1-1",
     "text": "usage sample document number 1 for this supplied dataset.",
     "actual": "usage"
    },
    {
     "id": "example-1-2",
     "text": "usage sample document number 2 for this supplied dataset.",
     "actual": "usage"
    },
    {
     "id": "example-2-0",
     "text": "troubleshooting sample document number 0 for this supplied dataset.",
     "actual": "troubleshooting"
    },
    {
     "id": "example-2-1",
     "text": "troubleshooting sample document number 1 for this supplied dataset.",
     "actual": "troubleshooting"
    },
    {
     "id": "example-2-2",
     "text": "troubleshooting sample document number 2 for this supplied dataset.",
     "actual": "troubleshooting"
    },
    {
     "id": "example-3-0",
     "text": "reference sample document number 0 for this supplied dataset.",
     "actual": "reference"
    },
    {
     "id": "example-3-1",
     "text": "reference sample document number 1 for this supplied dataset.",
     "actual": "reference"
    },
    {
     "id": "example-3-2",
     "text": "reference sample document number 2 for this supplied dataset.",
     "actual": "reference"
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "evaluation_texts": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 1000
   },
   "
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/knowledge-topic-training-evaluation-text-overlap-detector-a66c9165/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)
