fix colors

#4
by nbroad HF staff - opened

If you filter the ELO, the colors will switch between open and proprietary. I think this is due to invalid color map and the filtered df switching which license comes first.

It looks like the actual labels need to include the string "LLM": https://huggingface.co/spaces/andrewrreed/closed-vs-open-arena-elo/blob/b0f78b68f80d00bf413405d6533be89d36f88ca6/utils.py#L194

With this, the colors for open should always be the same no matter how filtered. The new colors will be the ones you specified here which are not the same as the ones that are currently showing ;)

Looks good, thank you!

andrewrreed changed pull request status to merged

Sign up or log in to comment