MathVista icon indicating copy to clipboard operation
MathVista copied to clipboard

Return None when str coercion fails or when empty

Open mattmazzola opened this issue 1 year ago • 0 comments

  • Returning None when extraction is empty prevents choosing one of the choices based on Levenshtein distance
  • Also return None on str coercion failure since returning empty string would return None later anyways, and it also seems like an incorrect extraction fallback value

Fixes #19

mattmazzola avatar Feb 15 '24 17:02 mattmazzola