SwapCharactersBeforeCursor produces incorrect output when swapping characters
SwapCharactersBeforeCursor produces incorrect output when swapping characters: a task in harness-adapters: Agentic coding environments (Harbor dataset). The SwapCharactersBeforeCursor function is not working correctly. When trying to swap the last two characters before the cursor, it produces…
The task
The `SwapCharactersBeforeCursor` function is not working correctly. When trying to swap the last two characters before the cursor, it produces unexpected results.
Part of harness-hub/harness-adapters.