Math extraction - allow only trying the first match, more customizable latex extraction + bump deps (#522)
* extract matching
* better docstring
* lazy imports
* bump up math
* Update src/lighteval/metrics/dynamic_metrics.py
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
* fix pr commnets
* Apply suggestions from code review
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
* rename comparisson -> comparison
* fix expr numbers extraction with currency or units
* add test for correct extraction of failed answer
* bump of latex2sympy2 version, add new tests for extract metric
* bump up latex2sympy + adjust latex target
* revert gold target timoeut
* remove dead comment 💀
* add doc
---------
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>