fix: address review findings for #751 — STATE.md and script header docs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-14 12:17:23 +00:00
parent 21ff729509
commit cd86774ac8
2 changed files with 5 additions and 3 deletions

View file

@ -31,7 +31,8 @@
# Algorithm:
# 1. Initialize population: N copies of seed, each with M random mutations.
# 2. For each generation:
# a. Score all candidates via fitness.sh
# a. Score all candidates via the configured fitness backend
# (batch-eval.sh for revm [default], fitness.sh for anvil)
# b. Log generation stats (min/max/mean fitness, best candidate)
# c. Select k survivors via tournament selection (k = population/2)
# d. Elitism: copy top N candidates unchanged into next generation
@ -49,7 +50,8 @@
# evolution.log full run log
#
# Environment:
# ANVIL_FORK_URL Passed through to fitness.sh when Anvil is not running.
# BASE_RPC_URL Required when EVAL_MODE=revm (the default). Base network RPC endpoint.
# ANVIL_FORK_URL Passed through to fitness.sh when EVAL_MODE=anvil.
#
# TSX resolution order: tsx in PATH → node_modules/.bin/tsx → npx tsx.
# =============================================================================