A different approach for filters
A different approach for filters: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). I want to perform some cleaning in some fields, for example, remove several \n in a row or strip some whitespaces. The cleanest way I found so far was to…
The task
I want to perform some _cleaning_ in some fields, for example, remove several `\n` in a row or strip some whitespaces. The _cleanest_ way I found so far was to use `filters` in the field definition. This is not bad, but for instance, the method `clean_field()` that will be used as a filter can not be in the field…