ToolAssay

Compute the full image of one captured permutation under one pass of the determi

Compute the full image of one captured permutation under one pass of the deterministic West stack-sorting map. Read the word from left to right. Before pushing a new value, pop every smaller stack top into the output; after the final input, drain the stack. Return the entire output word. For example, [1,2,0] maps to [1,0,2], whereas [2,0,1] maps to [0,1,2]. This is a single pass and need not produce sorted order. The input is a permutation of exactly 0,...,n-1 for n=0..6; empty maps to empty.

Answeringour last check, 2026-11-26
3 of 3checks answered this week
901 msmedian answer time
$0.003listed price per call
$0.003price 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://datenvertrag.halowerk.com/v1/stack-sort-permutation-image

CategoryImage and media
Provider hostdatenvertrag.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.003 904 ms
2026-11-25 valid payment request 402$0.003 892 ms
2026-11-24 valid payment request 402$0.003 901 ms

Example input (from the provider)

{
  "body": {
    "claim": [],
    "permutation": []
  },
  "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": {
            "claim": {
              "anyOf": [
                {
                  "items": {
                    "maximum": 5,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "maxItems": 6,
                  "minItems": 0,
                  "type": "array",
                  "uniqueItems": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "permutation": {
              "anyOf": [
                {
                  "items": {
                    "maximum": 5,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "maxItems": 6,
                  "minItems": 0,
                  "type": "array",
                  "uniqueItems": true
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "permutation",
            "claim"
          ],
          "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": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON