HF RL Explorer

Empty Query object matches all documents instead of raising error

Empty Query object matches all documents instead of raising error: a task in harness-adapters: Agentic coding environments (Harbor dataset). When creating an empty Query object without any conditions, it now matches all documents in the database instead of raising a RuntimeError as expected. This…

The task

When creating an empty Query object without any conditions, it now matches all documents in the database instead of raising a RuntimeError as expected. This breaks the intended behavior where empty queries should be prevented from being evaluated.

Part of harness-hub/harness-adapters.