HF RL Explorer

Identifier.get ordering() returns empty string instead of None when no ordering is present

Identifier.get ordering() returns empty string instead of None when no ordering is present: a task in harness-adapters: Agentic coding environments (Harbor dataset). When calling get ordering() on an identifier that doesn't have an ordering clause, the method returns an empty string '' instead of…

The task

When calling `get_ordering()` on an identifier that doesn't have an ordering clause, the method returns an empty string `''` instead of `None`. This breaks existing code that expects `None` when no ordering is specified.

Part of harness-hub/harness-adapters.