HF RL Explorer

GetWordBeforeCursorWithSpace returns wrong text substring

GetWordBeforeCursorWithSpace returns wrong text substring: a task in harness-adapters: Agentic coding environments (Harbor dataset). The GetWordBeforeCursorWithSpace method is returning incorrect text. Instead of returning the word before the cursor including spaces, it appears to be returning…

The task

The `GetWordBeforeCursorWithSpace` method is returning incorrect text. Instead of returning the word before the cursor including spaces, it appears to be returning text from the beginning of the document up to a certain position.

Part of harness-hub/harness-adapters.