You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SWEBench uses several hyperparameters/ constant values and constant values in its implementation in benchmarks/swebench
A constant value is any value int or str that must be set to correctly parametrize/run the benchmark. It can appear as input of a method or as default argument of a method.
Here are example of what can be a constant value:
"validation"
"2023_all"
"finish_with_patch"
"lite"
"wentingzhao/commit0_combined"
....
Those values are hyper parameters of the full evaluation workflow.
Painpoint
It's not easy to check if all such values are correctly parametrized for a benchmark because they are scattered in many different places.
Solution
For Swebench
Go through the code in benchmarks/swebench and find ALL such constant values
Redefine all those constant values in benchmarks/swebench/constants.py and make sure all other files import those values from the constant.py which constitutes the single source of truth.