HF RL Explorer

Tab expansion produces incorrect indentation

Tab expansion produces incorrect indentation: a task in UltraTerminal (Harbor dataset). The expand leading tab function is not correctly expanding tabs to spaces. Instead of replacing tabs with the appropriate number of spaces to reach the next tab stop, it's adding too many spaces.

The task

The `expand_leading_tab` function is not correctly expanding tabs to spaces. Instead of replacing tabs with the appropriate number of spaces to reach the next tab stop, it's adding too many spaces.

Part of harness-hub/UltraTerminal.