{"task": {"agent_timeout": 3000, "task": "codegen__gogs__gogs-6349", "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      **Describe the bug**\nAuto generated URL of commit SHA references in markdown link to wrong address\n\n**Gogs version and commit**\nGogs  0.11.91.0811\n\n**Git version**\nGit 2.24.1.windows.2\n\n**Operating system**\nWindows 10 Home (Chinese) 19041.450\n\n**Database**\nUnknown\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Edit README.md file locally, add line with a valid commit SHA value, save file.\n2. Commit and push README.md to repository\n3. View the render page of README.md in Gogs\n4. Click the link of commit SHA references, the browser jump to wrong 404 page\n\n**Can you reproduce the bug at https://try.gogs.io?**\nNo try yet\n\n**Expected behavior**\nA link with correct URL to commit SHA references.\n\n**Actual behavior**\nA link with wrong URL, unnecessary 'src/develop' path in the URL.\n\n**Screenshots**\nN/A\n\n**Additional context**\nN/A\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": []}