SWE-bench debugging task.
SWE-bench debugging task.: a task in envqc-traces (Harbor dataset). generate derangements mishandles unsorted perm The following is incorrect: python list('TRUMP') in generate derangements('TRUMP') True The routine is assuming that the perm is sorted (though this is not a requirement): python…
The task
generate_derangements mishandles unsorted perm The following is incorrect: ```python >>> list('TRUMP') in generate_derangements('TRUMP') True ``` The routine is assuming that the `perm` is sorted (though this is not a requirement): ```python >>> list('MPRTU') in generate_derangements('MPRTU') False ```
Part of vibrantlabsai/envqc-traces.