mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
copy
This commit is contained in:
parent
1b539e4466
commit
07d36b22c0
5 changed files with 1080 additions and 417 deletions
|
@ -5,6 +5,8 @@ import matplotlib.pyplot as plt
|
|||
from imgcat import imgcat
|
||||
from matplotlib import rc
|
||||
|
||||
from aider.dump import dump # noqa: F401
|
||||
|
||||
|
||||
def plot_swe_bench(data_file, is_lite):
|
||||
with open(data_file, "r") as file:
|
||||
|
@ -50,6 +52,10 @@ def plot_swe_bench(data_file, is_lite):
|
|||
bar = ax.bar(model, pass_rate, color=color, alpha=alpha, zorder=3, hatch=hatch)
|
||||
bars.append(bar[0])
|
||||
|
||||
for label in ax.get_xticklabels():
|
||||
if "Aider" in str(label):
|
||||
label.set_fontfamily("Helvetica Bold")
|
||||
|
||||
for model, bar in zip(models, bars):
|
||||
yval = bar.get_height()
|
||||
y = yval - 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue