Inconsistent sorting behavior with SortAnythingKey
Inconsistent sorting behavior with SortAnythingKey: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). I've encountered an issue with the SortAnythingKey class in patsy/util.py . The class doesn't properly handle equality comparisons when sorting objects, which…
The task
I've encountered an issue with the `SortAnythingKey` class in `patsy/util.py`. The class doesn't properly handle equality comparisons when sorting objects, which leads to inconsistent behavior.