{
  "x402Version": 2,
  "id": 43395,
  "slug": "43395",
  "resource": "https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-top-k",
  "description": "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.",
  "type": "http",
  "serviceName": "Task type - Top-k label coverage",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8bc2AECdD86097F74a1a5fa17764108D9a683C8C",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "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."
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "k": {
                    "default": 2,
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "records": {
                    "default": [
                      {
                        "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."
                      }
                    ],
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "actual": {
                          "enum": [
                            "research",
                            "writing",
                            "analysis",
                            "implementation"
                          ],
                          "type": "string"
                        },
                        "id": {
                          "default": "",
                          "maxLength": 80,
                          "minLength": 1,
                          "type": "string"
                        },
                        "predicted": {
                          "enum": [
                            "research",
                            "writing",
                            "analysis",
                            "implementation"
                          ],
                          "type": "string"
                        },
                        "probabilities": {
                          "default": [],
                          "items": {
                            "default": 0,
                            "maximum": 1,
                            "minimum": 0,
                            "type": "number"
                          },
                          "maxItems": 4,
                          "minItems": 4,
                          "type": "array"
                        },
                        "text": {
                          "default": "",
                          "maxLength": 1000,
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "text",
                        "actual",
                        "predicted",
                        "probabilities"
                      ],
                      "type": "object"
                    },
                    "maxItems": 200,
                    "minItems": 2,
                    "type": "array"
                  }
                },
                "required": [
                  "records",
                  "k"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "ai",
    "sector-ml",
    "workflow",
    "bazaar"
  ],
  "sourceHost": "market.datapackvibe.com",
  "lastUpdated": "2026-10-03T23:32:58.16Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-03T23:32:57.722Z"
  },
  "metadata": {
    "serviceName": "Task type - Top-k label coverage",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "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."
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "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"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "k": {
                      "default": 2,
                      "maximum": 4,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "records": {
                      "default": [
                        {
                          "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."
                        }
                      ],
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "actual": {
                            "enum": [
                              "research",
                              "writing",
                              "analysis",
                              "implementation"
                            ],
                            "type": "string"
                          },
                          "id": {
                            "default": "",
                            "maxLength": 80,
                            "minLength": 1,
                            "type": "string"
                          },
                          "predicted": {
                            "enum": [
                              "research",
                              "writing",
                              "analysis",
                              "implementation"
                            ],
                            "type": "string"
                          },
                          "probabilities": {
                            "default": [],
                            "items": {
                              "default": 0,
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "maxItems": 4,
                            "minItems": 4,
                            "type": "array"
                          },
                          "text": {
                            "default": "",
                            "maxLength": 1000,
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "text",
                          "actual",
                          "predicted",
                          "probabilities"
                        ],
                        "type": "object"
                      },
                      "maxItems": 200,
                      "minItems": 2,
                      "type": "array"
                    }
                  },
                  "required": [
                    "records",
                    "k"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "market.datapackvibe.com",
    "manifest_name": "market.datapackvibe.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}