71trust / 100

Assistant Sector Ml Task Type Top K

by Task type - Top-k label coverage in Productivity & SaaS

x402 APIPassing, checked 2 h ago

Task type - Top-k label coverage: Top-k label coverage 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 top-k label coverage deliverable.

POST https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-top-k

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
77.8%
Response time
81 ms typical, 1.7 s slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-top-k" \
  -H "content-type: application/json" \
  -d '{"k":2,"records":[{"actual":"research","id":"example-0-0","predicted":"research","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667],"text":"research sample document number 0 for this supplied dataset."},{"actual":"research","id":"example-0-1","predicted":"research","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667],"text":"research sample document number 1 for this supplied dataset."},{"actual":"research","id":"example-0-2","predicted":"research","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667],"text":"research sample document number 2 for this supplied dataset."},{"actual":"writing","id":"example-1-0","predicted":"writing","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667],"text":"writing sample document number 0 for this supplied dataset."},{"actual":"writing","id":"example-1-1","predicted":"writing","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667],"text":"writing sample document number 1 for this supplied dataset."},{"actual":"writing","id":"example-1-2","predicted":"writing","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667],"text":"writing sample document number 2 for this supplied dataset."},{"actual":"analysis","id":"example-2-0","predicted":"analysis","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667],"text":"analysis sample document number 0 for this supplied dataset."},{"actual":"analysis","id":"example-2-1","predicted":"analysis","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667],"text":"analysis sample document number 1 for this supplied dataset."},{"actual":"analysis","id":"example-2-2","predicted":"analysis","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667],"text":"analysis sample document number 2 for this supplied dataset."},{"actual":"implementation","id":"example-3-0","predicted":"implementation","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8],"text":"implementation sample document number 0 for this supplied dataset."},{"actual":"implementation","id":"example-3-1","predicted":"implementation","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8],"text":"implementation sample document number 1 for this supplied dataset."},{"actual":"implementation","id":"example-3-2","predicted":"implementation","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8],"text":"implementation sample document number 2 for this supplied dataset."}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmarket.datapackvibe.com%2Fx402%2Fassistant-sector-ml-task-type-top-k
const res = await pay("https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-top-k", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"k":2,"records":[{"actual":"research","id":"example-0-0","predicted":"research","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667],"text":"research sample document number 0 for this supplied dataset."},{"actual":"research","id":"example-0-1","predicted":"research","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667],"text":"research sample document number 1 for this supplied dataset."},{"actual":"research","id":"example-0-2","predicted":"research","probabilities":[0.8,0.06666666666666667,0.06666666666666667,0.06666666666666667],"text":"research sample document number 2 for this supplied dataset."},{"actual":"writing","id":"example-1-0","predicted":"writing","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667],"text":"writing sample document number 0 for this supplied dataset."},{"actual":"writing","id":"example-1-1","predicted":"writing","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667],"text":"writing sample document number 1 for this supplied dataset."},{"actual":"writing","id":"example-1-2","predicted":"writing","probabilities":[0.06666666666666667,0.8,0.06666666666666667,0.06666666666666667],"text":"writing sample document number 2 for this supplied dataset."},{"actual":"analysis","id":"example-2-0","predicted":"analysis","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667],"text":"analysis sample document number 0 for this supplied dataset."},{"actual":"analysis","id":"example-2-1","predicted":"analysis","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667],"text":"analysis sample document number 1 for this supplied dataset."},{"actual":"analysis","id":"example-2-2","predicted":"analysis","probabilities":[0.06666666666666667,0.06666666666666667,0.8,0.06666666666666667],"text":"analysis sample document number 2 for this supplied dataset."},{"actual":"implementation","id":"example-3-0","predicted":"implementation","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8],"text":"implementation sample document number 0 for this supplied dataset."},{"actual":"implementation","id":"example-3-1","predicted":"implementation","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8],"text":"implementation sample document number 1 for this supplied dataset."},{"actual":"implementation","id":"example-3-2","predicted":"implementation","probabilities":[0.06666666666666667,0.06666666666666667,0.06666666666666667,0.8],"text":"implementation sample document number 2 for this supplied dataset."}]}),
});
console.log(await res.json());

Example input

{
  "k": 2,
  "records": [
    {
      "actual": "research",
      "id": "example-0-0",
      "predicted": "research",
      "probabilities": [
        0.8,
        0.06666666666666667,
        0.06666666666666667,
        0.06666666666666667
      ],
      "text": "research sample document number 0 for this supplied dataset."
    },
    {
      "actual": "research",
      "id": "example-0-1",
      "predicted": "research",
      "probabilities": [
        0.8,
        0.06666666666666667,
        0.06666666666666667,
        0.06666666666666667
      ],
      "text": "research sample document number 1 for this supplied dataset."
    },
    {
      "actual": "research",
      "id": "example-0-2",
      "predicted": "research",
      "probabilities": [
        0.8,
        0.06666666666666667,
        0.06666666666666667,
        0.06666666666666667
      ],
      "text": "research sample document number 2 for this supplied dataset."
    },
    {
      "actual": "writing",
      "id": "example-1-0",
      "predicted": "writing",
      "probabilities": [
        0.06666666666666667,
        0.8,
        0.06666666666666667,
        0.06666666666666667
      ],
      "text": "writing sample document number 0 for this supplied dataset."
    },
    {
      "actual": "writing",
      "id": "example-1-1",
      "predicted": "writing",
      "probabilities": [
        0.06666666666666667,
        0.8,
        0.06666666666666667,
        0.06666666666666667
      ],
      "text": "writing sample document number 1 for this supplied dataset."
    },
    {
      "actual": "writing",
      "id": "example-1-2",
      "predicted": "writing",
      "probabilities": [
        0.06666666666666667,
        0.8,
        0.06666666666666667,
        0.06666666666666667
      ],
      "text": "writing sample document number 2 for this supplied dataset."
    },
    {
      "actual": "analysis",
      "id": "example-2-0",
      "predicted": "analysis",
      "probabilities": [
        0.06666666666666667,
        0.06666666666666667,
        0.8,
        0.06666666666666667
      ],
      "text": "analysis sample document number 0 for this supplied dataset."
    },
    {
      "actual": "analysis",
      "id": "example-2-1",
      "predicted": "analysis",
      "probabilities": [
        0.06666666666666667,
        0.06666666666666667,
        0.8,
        0.06666666666666667
      ],
      "text": "analysis sample document number 1 for this supplied dataset."
    },
    {
      "actual": "analysis",
      "id": "example-2-2",
      "predicted": "analysis",
      "probabilities": [
        0.06666666666666667,
        0.06666666666666667,
        0.8,
        0.06666666666666667
      ],
      "text": "analysis sample document number 2 for this supplied dataset."
    },
    {
      "actual": "implementation",
      "id": "example-3-0",
      "predicted": "implementation",
      "probabilities": [
        0.06666666666666667,
        0.06666666666666667,
        0.06666666666666667,
        0.8
      ],
      "text": "implementation sample document number 0 for this supplied dataset."
    },
    {
      "actual": "implementation",
      "id": "example-3-1",
      "predicted": "implementation",
      "probabilities": [
        0.06666666666666667,
        0.06666666666666667,
        0.06666666666666667,
        0.8
      ],
      "text": "implementation sample document number 1 for this supplied dataset."
    },
    {
      "actual": "implementation",
      "id": "example-3-2",
      "predicted": "implementation",
      "probabilities": [
        0.06666666666666667,
        0.06666666666666667,
        0.06666666666666667,
        0.8
      ],
      "text": "implementation sample document number 2 for this supplied dataset."
    }
  ]
}

Example output

{
  "files": [],
  "order_id": "ord_example",
  "result": {
    "completed": true,
    "workflow": "sector-ml-task-type-top-k"
  },
  "sku": "assistant-sector-ml-task-type-top-k",
  "status": "delivered"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40256 ms$0.01
6 h agoPassed40281 ms$0.01
9 h agoExpected HTTP 402, got 50250278 ms-
13 h agoPassed40260 ms$0.01
17 h agoPassed4023.6 s$0.01
20 h agoPassed4021.7 s$0.01
24 h agoPassed402744 ms$0.01
27 h agoPassed40257 ms$0.01
32 h agoTimed out---