{"task": {"agent_timeout": 3000, "task": "testgen__gogs__gogs-6349", "verifier_timeout": 3000, "instruction": "The following text contains a user issue (in <issue/> brackets) posted at a repository. Further, you are provided with file contents of several files in the repository that contain relevant code (in <code> brackets). It may be necessary to use code from third party dependencies or files not contained in the attached documents however. Your task is to identify the issue and implement a test case that verifies a proposed solution to this issue. More details at the end of this text.\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>\nPlease generate test cases that check whether an implemented solution resolves the issue of the user (at the top, within <issue/> brackets).\nYou may apply changes to several files.\nApply as much reasoning as you please and see necessary.\nMake sure to implement only test cases and don't try to fix the issue itself.\nYou are not allowed to read git history.\n", "memory": "8192m", "runnable": false, "difficulty": "hard", "language": "", "cpus": "", "instruction_truncated": false, "category": "test-generation", "compose": false, "has_solution": true, "oracle": null, "docker_image": "", "taskset": "devopsgym", "tags": ["test-generation", "devops-bench"]}, "runs": []}