mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
Merge remote-tracking branch 'upstream/main' into gpt4-vision
This commit is contained in:
commit
9e656945fe
8 changed files with 391 additions and 221 deletions
|
@ -77,12 +77,12 @@ def show_stats(dirnames, graphs):
|
|||
# row.model = gpt4 + "\n" + row.model[len(gpt4) :]
|
||||
|
||||
if "folk" in row.dir_name:
|
||||
row.edit_format = "folk"
|
||||
row.edit_format += "folk"
|
||||
|
||||
if row.model == "gpt-4-0613":
|
||||
row.model += "\n(8k context window is\ntoo small for benchmark)"
|
||||
|
||||
if row.completed_tests < 133:
|
||||
if row.completed_tests < 89:
|
||||
print(f"Warning: {row.dir_name} is incomplete: {row.completed_tests}")
|
||||
|
||||
# if "repeat" in row.dir_name:
|
||||
|
@ -311,6 +311,7 @@ def plot_refactoring(df):
|
|||
formats = df.columns
|
||||
models = df.index
|
||||
|
||||
dump(formats)
|
||||
for i, fmt in enumerate(formats):
|
||||
hatch = ""
|
||||
|
||||
|
@ -320,10 +321,14 @@ def plot_refactoring(df):
|
|||
elif fmt == "udiff":
|
||||
color = "#b3d1e6"
|
||||
label = "Unified diffs"
|
||||
elif fmt == "folk":
|
||||
label = "Prompt with blind, no hands, tip $2000, etc"
|
||||
elif fmt == "difffolk":
|
||||
label = "Baseline + blind, no hands, $2k tip, etc"
|
||||
color = "#b3e6a8"
|
||||
hatch = "////"
|
||||
elif fmt == "udifffolk":
|
||||
label = "Unified diffs + blind, no hands, $2k tip, etc"
|
||||
color = "#b3d1e6"
|
||||
hatch = "////"
|
||||
|
||||
if zorder > 1:
|
||||
edge = dict(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue