microsoft / microsoft/RepoLaunch
`bash: git: command not found` when applying patch during evaluation on some instances
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 145
- Forks
- 13
- Avg merge
- 5h 25m
- Merged PRs (30d)
- 2
Description
E.g. for alibaba__nacos-13539, reproducible with golden patch too:
$ python -m evaluation.evaluation \
--dataset SWE-bench-Live/MultiLang \
--instance_ids alibaba__nacos-13539 \
--platform linux \
--patch_dir gold \
--output_dir logs/test \
--workers 1 \
--overwrite 1
Running Ground Truth Patches...
Evaluating ['alibaba__nacos-13539'] ......
<<<<<<PATCH FAILED TO APPLY CLEANLY
git apply --reject --whitespace=nowarn /testbed/mnt_tmp/1c582de6-f93f-48c9-ba21-3338222220a3.diff
bash: git: command not found
>>>>>>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the evaluation.evaluation entry point and reproduce the issue using the documented command for alibaba__nacos-13539 with the gold patch. Trace the patch-application step that invokes git and verify that golden patch evaluation proceeds cleanly on instances where the command currently fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- devops, testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100