mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 21:04:59 +00:00
cleanup --stats output
This commit is contained in:
parent
fad464a987
commit
5b57024c84
1 changed files with 6 additions and 4 deletions
|
@ -134,9 +134,10 @@ def main():
|
||||||
)
|
)
|
||||||
all_results = run_test_threaded.gather(tqdm=True)
|
all_results = run_test_threaded.gather(tqdm=True)
|
||||||
|
|
||||||
print()
|
if not args.stats_only:
|
||||||
print()
|
print()
|
||||||
print()
|
print()
|
||||||
|
print()
|
||||||
summarize_results(all_results, total_tests)
|
summarize_results(all_results, total_tests)
|
||||||
|
|
||||||
|
|
||||||
|
@ -186,7 +187,8 @@ def summarize_results(all_results, total_tests=None):
|
||||||
|
|
||||||
|
|
||||||
def run_test(testdir, model_name, edit_format, retries, no_test, verbose, stats_only):
|
def run_test(testdir, model_name, edit_format, retries, no_test, verbose, stats_only):
|
||||||
dump(testdir)
|
if not stats_only:
|
||||||
|
dump(testdir)
|
||||||
|
|
||||||
if not os.path.isdir(testdir):
|
if not os.path.isdir(testdir):
|
||||||
print("Not a dir:", testdir)
|
print("Not a dir:", testdir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue