HF RL Explorer

RuleDecoratorMeta. new () doesn't properly handle rule decorators

RuleDecoratorMeta. new () doesn't properly handle rule decorators: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). When using the @rule decorator with NodeVisitor classes, the parser fails to properly process the decorated methods. This breaks the functionality…

The task

When using the @rule decorator with NodeVisitor classes, the parser fails to properly process the decorated methods. This breaks the functionality where grammar rules are automatically extracted from decorated methods.

Part of keryszhan/harbor-swesmith-rl-artifacts.