This commit is contained in:
Paul Gauthier 2023-11-08 08:36:48 -08:00
parent 2c83287c46
commit 59fed25cd1
4 changed files with 72 additions and 69 deletions

View file

@ -121,9 +121,14 @@ def show_stats(dirnames):
df.sort_values(by=["model", "edit_format"], inplace=True)
dump(df)
# plot_timing(df)
plot_outcomes(df, repeats, repeat_hi, repeat_lo, repeat_avg)
def plot_timing(df):
"""plot a graph showing the average duration of each (model, edit_format)"""
def plot_outcomes(df, repeats, repeat_hi, repeat_lo, repeat_avg):
tries = [df.groupby(["model", "edit_format"])["pass_rate_2"].mean()]
if True: