HF RL Explorer

Email validation fails with UnboundLocalError when checking user part

Email validation fails with UnboundLocalError when checking user part: a task in UltraTerminal (Harbor dataset). The Email validator is throwing an UnboundLocalError: local variable 'user part' referenced before assignment when trying to validate email addresses. This happens because the code…

The task

The Email validator is throwing an `UnboundLocalError: local variable 'user_part' referenced before assignment` when trying to validate email addresses. This happens because the code tries to use `user_part` before it's defined.

Part of harness-hub/UltraTerminal.