HF RL Explorer

Or with only one=True doesn't raise an error when multiple keys match

Or with only one=True doesn't raise an error when multiple keys match: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). I found a bug in the Or class when using it with only one=True . When validating data against a schema with an Or condition that has only…

The task

I found a bug in the `Or` class when using it with `only_one=True`. When validating data against a schema with an `Or` condition that has `only_one=True`, it should raise a `SchemaOnlyOneAllowedError` if multiple keys from the condition are present in the data. However, this validation is not happening correctly.

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