{"task": {"agent_timeout": 3600, "task": "task_filipedeschamps_video_maker__oauth_support", "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\nComplete the GET `/oauth2callback` handler in `server.js` so the API can mirror the YouTube robot's OAuth callback behavior.\n\nRequirements:\n- Read the `code` query parameter that Google redirects back with.\n- If `code` is missing or empty, respond with HTTP 400 and the JSON payload `{ \"error\": \"MISSING_CODE\", \"message\": \"Provide the code parameter returned by Google OAuth\" }`.\n- When the `code` is present, respond with HTTP 200 and `{ \"status\": \"consent-received\", \"code\": <provided value> }`.\n- Keep the handler synchronous; no external network requests are required.\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/filipedeschamps_video-maker/Dockerfile`\n", "memory": "", "runnable": false, "difficulty": "hard", "language": "", "cpus": "", "instruction_truncated": false, "category": "Content", "compose": true, "has_solution": true, "oracle": null, "docker_image": "", "taskset": "abc-bench", "tags": []}, "runs": []}