evo-anything 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -770,12 +770,14 @@ def evo_step(phase: str, branch: str = "", parent_commit: str = "",
|
|
|
770
770
|
# Cache check: skip recording if this code was already evaluated
|
|
771
771
|
if code_hash and code_hash in state.fitness_cache:
|
|
772
772
|
cached = state.fitness_cache[code_hash]
|
|
773
|
+
state.total_evals += 1 # cache hits still consume budget
|
|
773
774
|
_save()
|
|
774
775
|
return {
|
|
775
776
|
"action": "worker_done",
|
|
776
777
|
"branch": branch,
|
|
777
778
|
"cached": True,
|
|
778
779
|
"fitness": cached,
|
|
780
|
+
"total_evals": state.total_evals,
|
|
779
781
|
}
|
|
780
782
|
|
|
781
783
|
is_min = state.config.objective == Objective.MIN
|