Return the minimum terminal substitutions and one corrected token sequence admit
Return the minimum terminal substitutions and one corrected token sequence admitted by a supplied CNF grammar.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
905 msmedian answer time
$0.005listed price per call
$0.005price it asked us
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://code.halowerk.com/v1/grammar-cnf-minimum-token-substitution
| Category | Code and developer |
|---|---|
| Provider host | code.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.005 | 903 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 905 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 904 ms |
| 2026-11-23 | valid payment request | 402 | $0.005 | 894 ms |
| 2026-11-22 | valid payment request | 402 | $0.005 | 1176 ms |
| 2026-11-21 | valid payment request | 402 | $0.005 | 1163 ms |
| 2026-11-20 | valid payment request | 402 | $0.005 | 1188 ms |
| 2026-11-19 | valid payment request | 402 | $0.005 | 1164 ms |
| 2026-11-18 | valid payment request | 402 | $0.005 | 343 ms |
Example input (from the provider)
{
"body": {
"nonterminals": [
"S",
"A",
"B"
],
"rules": [
{
"left": "S",
"right": [
"A",
"B"
]
},
{
"left": "A",
"right": [
"a"
]
},
{
"left": "B",
"right": [
"b"
]
}
],
"start": "S",
"tokens": [
"a",
"x"
]
},
"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": {
"nonterminals": {
"items": {
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"maxItems": 30,
"minItems": 1,
"type": "array"
},
"rules": {
"items": {
"additionalProperties": false,
"properties": {
"left": {
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"right": {
"items": {
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"maxItems": 20,
"minItems": 0,
"type": "array"
}
},
"required": [
"left",
"right"
],
"type": "object"
},
"maxItems": 120,
"minItems": 1,
"type": "array"
},
"start": {
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"tokens": {
"items": {
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"start",
"nonterminals",
"rules",
"tokens"
],
"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": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}