From 2915acb9a6f2c5c175e9fe868da9b539022c748c Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 2 Jul 2023 10:23:06 -0700 Subject: [PATCH] new svg --- benchmark/benchmark.py | 6 +++--- docs/benchmarks.md | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index d04df2258..67cafc626 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -114,9 +114,9 @@ def show_stats(dirnames): from matplotlib import rc - rc("font", **{"family": "sans-serif", "sans-serif": ["Helvetica"], "size": 16}) + rc("font", **{"family": "sans-serif", "sans-serif": ["Helvetica"], "size": 13}) - fig, ax = plt.subplots(figsize=(9, 6)) + fig, ax = plt.subplots(figsize=(7.5, 5)) ax.grid(axis="y", zorder=0, lw=0.2) zorder = 1 @@ -154,7 +154,7 @@ def show_stats(dirnames): **edge, ) if zorder == 2: - ax.bar_label(rects, padding=4, labels=[f"{v:.0f}%" for v in df[fmt]], size=12) + ax.bar_label(rects, padding=4, labels=[f"{v:.0f}%" for v in df[fmt]], size=10) if len(repeats): ax.errorbar( diff --git a/docs/benchmarks.md b/docs/benchmarks.md index 52b5fc913..a9b66ab19 100644 --- a/docs/benchmarks.md +++ b/docs/benchmarks.md @@ -1,8 +1,7 @@ +# GPT code editing benchmarks [![benchmark results](../assets/benchmarks.svg)](https://aider.chat/assets/benchmarks.svg) -# GPT code editing benchmarks - Aider is an open source command line chat tool that lets you work with GPT to edit code in your local git repo. To do this, aider needs to be able to reliably recognize when GPT wants to edit local files,