HF RL Explorer

Token insertion methods produce incorrect order

Token insertion methods produce incorrect order: a task in UltraTerminal (Harbor dataset). The prepend token and append token methods in BlockState are not working as expected. Tokens are being inserted in the wrong positions, causing the parsed markdown structure to be reversed or incorrectly…

The task

The `prepend_token` and `append_token` methods in `BlockState` are not working as expected. Tokens are being inserted in the wrong positions, causing the parsed markdown structure to be reversed or incorrectly ordered.

Part of harness-hub/UltraTerminal.