{"slug":"datenvertrag-halowerk-com-v1-stack-sort-permutation-image-2f2e0f","title":"Compute the full image of one captured permutation under one pass of the determi","host":"datenvertrag.halowerk.com","method":"POST","resource":"https://datenvertrag.halowerk.com/v1/stack-sort-permutation-image","category":"image","description":"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","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":901,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"claim":[],"permutation":[]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":904,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":892,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":901,"error":null}],"description_full":"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.","last_updated":"2026-11-24T10:36:48.162Z","schemes":["exact"]}