Split a dataset into train/validation/test reproducibly with a seed, stratified
Split a dataset into train/validation/test reproducibly with a seed, stratified by label and optionally grouped so related rows never cross splits. Assigns each row to train, validation or test using the given fractions and a seeded generator, so the same input and seed always give the same split. With a label field the split is stratified per label; with a group field all rows of one group (for example one customer or one document) land in the same split to prevent leakage.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://denk.halowerk.com/v1/dataset-split
| Category | Everything else |
|---|---|
| Provider host | denk.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-28 | valid payment request | 402 | $0.003 | 911 ms |
| 2026-11-27 | valid payment request | 402 | $0.003 | 901 ms |
| 2026-11-26 | valid payment request | 402 | $0.003 | 875 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 904 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 899 ms |
Example input (from the provider)
{
"body": {
"fractions": {
"test": 0.5,
"train": 0.5,
"validation": 0
},
"label_field": "label",
"rows": [
{
"label": "x",
"text": "a"
},
{
"label": "x",
"text": "b"
},
{
"label": "y",
"text": "c"
},
{
"label": "y",
"text": "d"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"fractions": {
"additionalProperties": false,
"default": {
"test": 0.1,
"train": 0.8,
"validation": 0.1
},
"properties": {
"test": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"train": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"validation": {
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"group_field": {
"maxLength": 100,
"type": "string"
},
"label_field": {
"maxLength": 100,
"type": "string"
},
"rows": {
"items": {
"type": "object"
},
"maxItems": 200000,
"minItems": 3,
"type": "array"
},
"seed": {
"default": "42",
"maxLength": 100,
"type": "string"
}
},
"required": [
"rows"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"additionalProperties": true,
"properties": {
"type": {
"const": "json"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}