{"task": {"agent_timeout": 3000, "task": "codegen__gogs__gogs-7291", "verifier_timeout": 3000, "instruction": "This is a code generation task. You are expected to write working code that solves the described problem.\n<issue>\n      ~~New repository should start using `main` as the default branch, fall back to `master` when `main` is not available when the default branch is not set.~~\n\nWhen detecting the default branch, try `main` if `master` is not available.\n\n</issue>\nFocus on implementing the required functionality correctly and efficiently. Treat this as a programming challenge.\nYou are not allowed to read git history.\n", "memory": "8192m", "runnable": false, "difficulty": "hard", "language": "", "cpus": "", "instruction_truncated": false, "category": "code-generation", "compose": false, "has_solution": true, "oracle": null, "docker_image": "", "taskset": "devopsgym", "tags": ["code-generation", "devops-bench"]}, "runs": []}