You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting! This PR should handle it: #891
Although after implementing it did occur to me that another resolution would have been to just use a different isnumeric test (i.e. simply don't handle the case of 1²). My bias would be to handle it (since obviously a model produced it in your testing!) but I at least wanted to ask the question before merging. LMK what you think.
With input such as
1²
, this conditional returns true:inspect_ai/src/inspect_ai/scorer/_common.py
Line 98 in f2fa3b6
but the next line fails with
ValueError: could not convert string to float: '1²'
inspect_ai/src/inspect_ai/scorer/_common.py
Line 99 in f2fa3b6
The text was updated successfully, but these errors were encountered: