{"task": {"agent_timeout": 3600, "task": "task_amsgames_laravel_shop__administrative", "verifier_timeout": 1800, "instruction": "You are a backend development expert. Please inspect the backend project located in the current directory, determine its programming language and architectural style, and then complete the following code implementation and environment setup tasks.\n\nImplement the `/admin/reset` branch in `public/index.php` so the playground can be returned to a clean slate before demos or tests.\n\nWhen the router receives `POST /admin/reset`, determine the default gateway by reading the first entry in `$config['gateways']` and falling back to `paypal` if the list is empty. Call `resetRuntimeState($config, $defaultGateway, true)` to clear the cart, wipe orders, and persist the new gateway selection. Reply with HTTP 200 and a JSON object containing the confirmation message `\"Runtime state reset.\"`, the freshly emptied cart data, and the gateway value that is now active.\n\nThe handler should only rely on the helper functions already defined in this file and must not leave any partial state behind when invoked repeatedly.\nPlease locate the appropriate place in the project and apply the necessary modifications.\n\nAfter completing all source code implementation, create a Dockerfile for this project using the following example template as a reference (Python version):\n```\n# setup base\nFROM nikolaik/python-nodejs:python3.12-nodejs22-bullseye\nRUN apt-get update && apt-get install -y sqlite3\n\n# install dependencies and copy project files\nWORKDIR /app\nCOPY . /app/\nRUN python3 -m pip install -r requirements.txt\n\nENTRYPOINT [\"python3\", \"app.py\"]\n```\nNotes:\n1. Ensure that all required project dependencies are properly installed inside the image.\n2. The generated Dockerfile must successfully build and run the application.\n3. The Dockerfile must be created in the root directory of the backend project, i.e `/app/amsgames_laravel-shop/Dockerfile`\n", "memory": "", "runnable": false, "difficulty": "hard", "language": "", "cpus": "", "instruction_truncated": false, "category": "Commerce", "compose": true, "has_solution": true, "oracle": null, "docker_image": "", "taskset": "abc-bench", "tags": []}, "runs": []}