diff --git a/STATE.md b/STATE.md index 95b8d87..a81b2d9 100644 --- a/STATE.md +++ b/STATE.md @@ -21,4 +21,4 @@ - [2026-03-12] VWAPTracker for price oracle - [2026-03-12] Harberger tax staking mechanism - [2026-03-13] LLM seed — Momentum Follower optimizer (#695) -- [2026-03-14] [in-progress] evolve.sh auto-incrementing per-run results directory (#752) +- [2026-03-14] evolve.sh auto-incrementing per-run results directory (#752) diff --git a/tools/push3-evolution/evolve.sh b/tools/push3-evolution/evolve.sh index 0011778..ea0a96b 100755 --- a/tools/push3-evolution/evolve.sh +++ b/tools/push3-evolution/evolve.sh @@ -130,7 +130,7 @@ base = sys.argv[1] max_n = 0 if os.path.isdir(base): for name in os.listdir(base): - m = re.fullmatch(r'run(\d+)', name) + m = re.fullmatch(r'run_(\d+)', name) if m and os.path.isdir(os.path.join(base, name)): max_n = max(max_n, int(m.group(1))) print(f"{max_n + 1:03d}")