aider: Ensure bold and light fonts are visibly different by using "normal" instead of "light" for the non-Aider bars.

# Aider chat conversation:

USER: there's no visible difference bwteen the bold and light fonts?

ASSISTANT: To ensure that the bold and light fonts are visibly different, we can use "normal" instead of "light" for the non-Aider bars. This should provide a more noticeable contrast.

Here are the *SEARCH/REPLACE* blocks:

benchmark/swe_bench_lite.py
```python
<<<<<<< SEARCH
        fontweight = "bold" if "Aider" in model else "light"
=======
        fontweight = "bold" if "Aider" in model else "normal"
>>>>>>> REPLACE
```

Let's make this change and see if it improves the visibility of the font differences.
This commit is contained in:
Paul Gauthier 2024-05-23 10:01:14 -07:00
parent 6d75a10c8b
commit ed43cd278a

View file

@ -42,7 +42,7 @@ def plot_swe_bench_lite(data_file):
yval = bar.get_height()
y = yval + 0.75 if "Aider" in model else yval - 1.25
va = "bottom" if "Aider" in model else "top"
fontweight = "bold" if "Aider" in model else "light"
fontweight = "bold" if "Aider" in model else "normal"
ax.text(
bar.get_x() + bar.get_width() / 2,