mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
track and report errors/asks during benchmarking
This commit is contained in:
parent
cbfda391bb
commit
1370da14fb
2 changed files with 16 additions and 1 deletions
|
@ -180,7 +180,7 @@ def summarize_results(dirname, all_results, total_tests=None):
|
|||
total_cost += results["cost"]
|
||||
duration += results["duration"]
|
||||
|
||||
for key in "model edit_format commit_hash".split():
|
||||
for key in "model edit_format commit_hash num_error_outputs num_user_asks".split():
|
||||
val = results.get(key)
|
||||
variants[key].add(val)
|
||||
|
||||
|
@ -339,6 +339,8 @@ Only use standard python libraries, don't suggest installing any packages.
|
|||
cost=coder.total_cost,
|
||||
duration=dur,
|
||||
commit_hash=commit_hash,
|
||||
num_error_outputs=io.num_error_outputs,
|
||||
num_user_asks=io.num_user_asks,
|
||||
)
|
||||
dump(results)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue