HF RL Explorer

OneOf validator returns None instead of validated value

OneOf validator returns None instead of validated value: a task in harness-adapters: Agentic coding environments (Harbor dataset). The OneOf validator is not working correctly - it's returning None instead of the validated value when validation passes, and it's raising ValidationError when the…

The task

The OneOf validator is not working correctly - it's returning None instead of the validated value when validation passes, and it's raising ValidationError when the value IS in the choices list instead of when it's NOT in the choices list.

Part of harness-hub/harness-adapters.