Skip to content

bash: git: command not found when applying patch during evaluation on some instances #16

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

>>>>>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions