HF RL Explorer

Recurse decorator not working correctly for sublists

Recurse decorator not working correctly for sublists: a task in UltraTerminal (Harbor dataset). The recurse decorator in utils.py is not properly traversing sublists. When using functions decorated with @recurse , the recursion logic appears to be inverted - it's only processing sublists that…

The task

The `recurse` decorator in `utils.py` is not properly traversing sublists. When using functions decorated with `@recurse`, the recursion logic appears to be inverted - it's only processing sublists that match the specified class types instead of processing all sublists except those types.

Part of harness-hub/UltraTerminal.