AmenRa / ranx

⚡️A Blazing-Fast Python Library for Ranking Evaluation, Comparison, and Fusion 🐍
https://amenra.github.io/ranx
MIT License
427 stars 23 forks source link

fix: report: metric_labels: latex does not like underscores #26

Closed PaulLerner closed 1 year ago

PaulLerner commented 2 years ago

Hi, this is a ridiculously small PR but it had to be done at some point :)

(In case you don’t get it: underscores are ugly and they should have been escaped anyway to print in latex)

AmenRa commented 1 year ago

Hi Paul, you are absolutely right! I think I just copy-pasted the dictionary keys and used a "to uppercase" command in my IDE when I did that. There is another error there (missing metrics), which I fixed on my local branch, so I will include your correction in my next commit to avoid conflicts on my end. Sorry about that!

AmenRa commented 1 year ago

Fixed in 0.2.9.