← Market

Stack Sort Permutation Image

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.

POST https://datenvertrag.halowerk.com/v1/stack-sort-permutation-image

0.003 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.003 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "claim": [],
  "permutation": []
}
{
  "data": {
    "state": "observed",
    "value": {
      "claimed_matches": true,
      "complete": true,
      "image": [],
      "missing": []
    }
  }
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://datenvertrag.halowerk.com/v1/stack-sort-permutation-image · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "permutation": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5
          },
          "minItems": 0,
          "maxItems": 6,
          "uniqueItems": true
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5
          },
          "minItems": 0,
          "maxItems": 6,
          "uniqueItems": true
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "permutation",
    "claim"
  ],
  "additionalProperties": false
}
Output schema
{}
curl -i -X POST 'https://datenvertrag.halowerk.com/v1/stack-sort-permutation-image' \
  -H 'content-type: application/json' -d '{"permutation":[],"claim":[]}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)