{"slug":"code-halowerk-com-v1-cfg-loop-invariant-hoist-candidates-d0f7f7","title":"Find loop operations whose operands become invariant and whose declared effects ","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/cfg-loop-invariant-hoist-candidates","category":"code","description":"Find loop operations whose operands become invariant and whose declared effects permit speculative hoisting.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":893,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"invariant_variables":["x"],"operations":[{"id":"b","operands":["x"],"pure":true,"safe_to_speculate":true,"target":"y"},{"id":"c","operands":["y"],"pure":true,"safe_to_speculate":false,"target":"z"}]},"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":{"invariant_variables":{"items":{"maxLength":32,"minLength":1,"type":"string"},"maxItems":32,"minItems":0,"type":"array"},"operations":{"items":{"additionalProperties":false,"properties":{"id":{"maxLength":32,"minLength":1,"type":"string"},"operands":{"items":{"maxLength":32,"minLength":1,"type":"string"},"maxItems":32,"minItems":0,"type":"array"},"pure":{"type":"boolean"},"safe_to_speculate":{"type":"boolean"},"target":{"maxLength":32,"minLength":1,"type":"string"}},"required":["id","target","operands","pure","safe_to_speculate"],"type":"object"},"maxItems":32,"minItems":0,"type":"array"}},"required":["invariant_variables","operations"],"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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":893,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1063,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":909,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":892,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":881,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":880,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":893,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":881,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":333,"error":null}],"description_full":"Find loop operations whose operands become invariant and whose declared effects permit speculative hoisting.","last_updated":"2026-11-20T12:07:47.904Z","schemes":["exact"]}