HF RL Explorer

URLParam panics with index out of range when no parameters exist

URLParam panics with index out of range when no parameters exist: a task in harness-adapters: Agentic coding environments (Harbor dataset). When calling URLParam on a context that has no URL parameters, the function panics with "index out of range -1 " instead of returning an empty string.

The task

When calling `URLParam` on a context that has no URL parameters, the function panics with "index out of range [-1]" instead of returning an empty string.

Part of harness-hub/harness-adapters.