HF RL Explorer

You are working on the astropy/astropy repository. The source code is checked out at /testbed at commit…

You are working on the astropy/astropy repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). I came across this issue today when trying to multiply an array by a unit: The array accidentally had a string dtype instead of a numeric dtype…

The task

I came across this issue today when trying to multiply an array by a unit: The array accidentally had a string dtype instead of a numeric dtype, but the exception was a bit confusing. Example:

Part of Lego-X/Lego-RL-2699.