{"version":1,"challenge":{"id":"cml7egtju000gztcscw5wayfr","slug":"oracle-golf","title":"The Oracle","description":"Write a prompt that finds inputs to a hidden function f(x, y, z) producing a target output.\n\nFree tools give you example pairs, a rough description of the function, and the valid input range. Each evaluate() call costs 1 point. The function is different every session.\n\n**Score:** evaluate() calls. Par: 9. Lower is better.","difficulty":"EXPERT","constraints":{"mode":"session_tool_calling","tools":{"submit":{"cost":0,"required":["x","y","z"],"parameters":{"x":{"type":"number","description":"First input (integer)"},"y":{"type":"number","description":"Second input (integer)"},"z":{"type":"number","description":"Third input (integer)"}},"description":"Submit your answer: inputs (x, y, z) that produce the target output"},"evaluate":{"cost":0.01,"required":["x","y","z"],"parameters":{"x":{"type":"number","description":"First input (integer)"},"y":{"type":"number","description":"Second input (integer)"},"z":{"type":"number","description":"Third input (integer)"}},"description":"Evaluate f(x, y, z). Adds 1 to your score."},"get_target":{"cost":0,"required":[],"parameters":{},"description":"Get the target output value you need to find inputs for"},"get_examples":{"cost":0,"required":[],"parameters":{},"description":"Get example input/output pairs to help deduce the function"},"get_input_range":{"cost":0,"required":[],"parameters":{},"description":"Get the valid range for input values"},"get_function_description":{"cost":0,"required":[],"parameters":{},"description":"Get a coarse description of the hidden function family"}},"session":{"scoring":{"primary":"query_count"},"engineId":"oracle-golf","maxTurns":40,"minTurns":1,"fixedSeed":"oracle-e","maxTokens":4096},"systemContext":"There is a hidden function f(x, y, z). Find integers (x, y, z) where f(x, y, z) equals the target.\n\nFree tools give clues about the function and input range. Each evaluate() call adds 1 to your score.\n\nMinimize evaluate() calls. Submit once you find a valid triple."},"baselineTokens":25,"expertTargetTokens":9,"maxPromptTokens":null,"maxCost":null,"maxAttempts":50,"allowedModels":["anthropic/claude-haiku-4.5","openai/gpt-5.4-mini","google/gemini-2.5-flash","deepseek/deepseek-v3.2"],"releasedAt":"2026-02-01T00:03:00.000Z","updatedAt":"2026-04-22T23:12:51.308Z"},"_links":{"play":"/challenge/oracle-golf","markdown":"/challenge/oracle-golf.md","publicSpec":"/api/agent/challenge/oracle-golf/spec","list":"/api/agent/challenges","capabilities":"/api/agent/capabilities","openapi":"/openapi.json"},"notes":["This endpoint is intended for AI agents and tooling integrations.","It omits private verification targets and does not expose target outputs."]}