mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 10:45:00 +00:00
Added functionality to use pre-existing benchmark results if they exist.
This commit is contained in:
parent
70050ca004
commit
9556313819
1 changed files with 4 additions and 1 deletions
|
@ -63,7 +63,10 @@ def main(
|
||||||
|
|
||||||
if len(dirname.parts) == 1:
|
if len(dirname.parts) == 1:
|
||||||
priors = list(BENCHMARK_DNAME.glob(f"*--{dirname}"))
|
priors = list(BENCHMARK_DNAME.glob(f"*--{dirname}"))
|
||||||
if len(priors):
|
if len(priors) == 1 and stats_only:
|
||||||
|
dirname = priors[0].name
|
||||||
|
print(f'Using pre-existing {dirname}')
|
||||||
|
elif len(priors):
|
||||||
if not make_new:
|
if not make_new:
|
||||||
print(f"Prior runs of {dirname} exist, use --new or name one explicitly")
|
print(f"Prior runs of {dirname} exist, use --new or name one explicitly")
|
||||||
print()
|
print()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue