Describe the issue
Description
Hi, I am relatively new to AI agents, and I am glad I found mini-swe-agent — a simple but very useful agent project. I am currently trying to reproduce SWE-bench Verified evaluation results in my local environment.
However, I am seeing results that are much lower than I expected:
- I am using the open-source
gpt-oss:120b model deployed through Ollama.
- For a quick initial check, I ran the benchmark on the following 10 SWE-bench Verified instances:
pallets__flask-5014
pytest-dev__pytest-5809
pytest-dev__pytest-6202
pylint-dev__pylint-6903
sphinx-doc__sphinx-8269
sphinx-doc__sphinx-8721
sphinx-doc__sphinx-9320
sphinx-doc__sphinx-9367
sphinx-doc__sphinx-9698
sphinx-doc__sphinx-9711
According to the public benchmark reports, this model reaches around 62% on SWE-bench Verified. In my local runs, however, I usually only get 1 resolved instance out of these 10. I understand that this is only a small sample and is not directly comparable to the full benchmark score, but the gap still seems large.
I would like to ask:
- What is the recommended way to reproduce the reported SWE-bench Verified performance of
gpt-oss:120b with mini-swe-agent?
- Are there known configuration choices, prompt settings, or environment details that can significantly affect the final score?
- Is there anything in my setup that looks suspicious or suboptimal and might explain the lower-than-expected results?
Environment
My test environment is:
System architecture: aarch64
CPU: 20 cores (10x Cortex-X925, 10x Cortex-A725)
RAM: 128GB LPDDR5x
GPU: NVIDIA Blackwell (NVIDIA GB10)
CUDA cores: Blackwell generation
Tensor cores: 5th generation (1 PFLOP)
RT cores: 4th generation
Ollama version: 0.13.5
mini-swe-agent setup
- mini-swe-agent version:
2.2.7
- Config file:
livesweagent_swebench_brylian_textbased.yaml
- The test
trajs files have also been uploaded as a compressed attachment.
I made one modification to the default prompt/template:
- I just added the following lines to
format_error_template to prevent the LLM from forgetting how to end the task after many iteration steps:
If you have completed your assignment then submit your works by issuing exactly
the following command (you will not be able to continue working in any way on this task after that):
`echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT && git add -A && git diff --cached`
Model and inference settings
model_class: litellm_textbased
model_name: "openai/gpt-oss:120b"
model_kwargs:
api_base: "http://localhost:11434/v1"
temperature: 0.5
drop_params: true
tool_choice: none
reasoning_effort: "high"
action_regex: "```bash\\s*\\n(.*?)\\n```"
cost_tracking: "ignore_errors"
Test results
I compared both medium and high reasoning modes. The overall results were similar.
Medium reasoning mode
| instance_id |
resolved |
patch_applied |
F2P success/failure |
P2P success/failure |
cause |
pallets__flask-5014 |
False |
True |
0/1 |
59/0 |
incorrect_fix |
pytest-dev__pytest-5809 |
False |
True |
0/1 |
0/3 |
incorrect_fix_with_regression |
pytest-dev__pytest-6202 |
False |
True |
0/1 |
0/72 |
incorrect_fix_with_regression |
pylint-dev__pylint-6903 |
True |
True |
1/0 |
8/0 |
resolved |
sphinx-doc__sphinx-8269 |
False |
False |
0/0 |
0/0 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-8721 |
False |
True |
0/1 |
0/3 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-9320 |
False |
True |
0/1 |
0/9 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-9367 |
False |
True |
0/1 |
0/25 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-9698 |
False |
True |
0/1 |
0/45 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-9711 |
False |
False |
0/0 |
0/0 |
patch_already_applied_or_reversed |
High reasoning mode
| instance_id |
resolved |
patch_applied |
F2P success/failure |
P2P success/failure |
cause |
pallets__flask-5014 |
False |
True |
1/0 |
15/44 |
regression |
pytest-dev__pytest-5809 |
False |
True |
0/1 |
0/3 |
incorrect_fix_with_regression |
pytest-dev__pytest-6202 |
True |
True |
1/0 |
72/0 |
resolved |
pylint-dev__pylint-6903 |
False |
False |
0/0 |
0/0 |
line_ending_mismatch |
sphinx-doc__sphinx-8269 |
False |
False |
0/0 |
0/0 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-8721 |
False |
True |
0/1 |
0/3 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-9320 |
False |
True |
0/1 |
0/9 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-9367 |
False |
True |
0/1 |
0/25 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-9698 |
False |
True |
0/1 |
0/45 |
patch_already_applied_or_reversed |
sphinx-doc__sphinx-9711 |
False |
True |
0/1 |
0/0 |
patch_already_applied_or_reversed |
livesweagent_swebench_brylian_textbased.yaml
trajs.zip
Describe the issue
Description
Hi, I am relatively new to AI agents, and I am glad I found mini-swe-agent — a simple but very useful agent project. I am currently trying to reproduce SWE-bench Verified evaluation results in my local environment.
However, I am seeing results that are much lower than I expected:
gpt-oss:120bmodel deployed through Ollama.According to the public benchmark reports, this model reaches around 62% on SWE-bench Verified. In my local runs, however, I usually only get 1 resolved instance out of these 10. I understand that this is only a small sample and is not directly comparable to the full benchmark score, but the gap still seems large.
I would like to ask:
gpt-oss:120bwith mini-swe-agent?Environment
My test environment is:
mini-swe-agent setup
2.2.7livesweagent_swebench_brylian_textbased.yamltrajsfiles have also been uploaded as a compressed attachment.I made one modification to the default prompt/template:
format_error_templateto prevent the LLM from forgetting how to end the task after many iteration steps:Model and inference settings
Test results
I compared both medium and high reasoning modes. The overall results were similar.
Medium reasoning mode
pallets__flask-5014FalseTrueincorrect_fixpytest-dev__pytest-5809FalseTrueincorrect_fix_with_regressionpytest-dev__pytest-6202FalseTrueincorrect_fix_with_regressionpylint-dev__pylint-6903TrueTrueresolvedsphinx-doc__sphinx-8269FalseFalsepatch_already_applied_or_reversedsphinx-doc__sphinx-8721FalseTruepatch_already_applied_or_reversedsphinx-doc__sphinx-9320FalseTruepatch_already_applied_or_reversedsphinx-doc__sphinx-9367FalseTruepatch_already_applied_or_reversedsphinx-doc__sphinx-9698FalseTruepatch_already_applied_or_reversedsphinx-doc__sphinx-9711FalseFalsepatch_already_applied_or_reversedHigh reasoning mode
pallets__flask-5014FalseTrueregressionpytest-dev__pytest-5809FalseTrueincorrect_fix_with_regressionpytest-dev__pytest-6202TrueTrueresolvedpylint-dev__pylint-6903FalseFalseline_ending_mismatchsphinx-doc__sphinx-8269FalseFalsepatch_already_applied_or_reversedsphinx-doc__sphinx-8721FalseTruepatch_already_applied_or_reversedsphinx-doc__sphinx-9320FalseTruepatch_already_applied_or_reversedsphinx-doc__sphinx-9367FalseTruepatch_already_applied_or_reversedsphinx-doc__sphinx-9698FalseTruepatch_already_applied_or_reversedsphinx-doc__sphinx-9711FalseTruepatch_already_applied_or_reversedlivesweagent_swebench_brylian_textbased.yaml
trajs.zip