mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
noop
This commit is contained in:
parent
a577a76a44
commit
cf171bdd1e
1 changed files with 3 additions and 2 deletions
|
@ -65,10 +65,11 @@ def show_stats(dirnames):
|
|||
df = pd.DataFrame.from_records(rows)
|
||||
df.sort_values(by=["model", "edit_format"], inplace=True)
|
||||
|
||||
df_grouped = df.groupby(["model", "edit_format"])["pass_rate_1"].mean()
|
||||
df_grouped1 = df.groupby(["model", "edit_format"])["pass_rate_1"].mean()
|
||||
df_grouped2 = df.groupby(["model", "edit_format"])["pass_rate_2"].mean()
|
||||
|
||||
fig, ax = plt.subplots(figsize=(10, 6))
|
||||
df_grouped.unstack().plot(kind="barh", ax=ax)
|
||||
df_grouped2.unstack().plot(kind="barh", ax=ax)
|
||||
|
||||
ax.set_xlabel("Pass Rate 1")
|
||||
ax.set_ylabel("Model")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue