Skip to content

fix(circle-packing): local evaluator hardening - #22

Open
angellllkr-eng wants to merge 1 commit into
Google-Cloud-AI:mainfrom
angellllkr-eng:a11/local-alphaevolve-e2e-20260826
Open

fix(circle-packing): local evaluator hardening#22
angellllkr-eng wants to merge 1 commit into
Google-Cloud-AI:mainfrom
angellllkr-eng:a11/local-alphaevolve-e2e-20260826

Conversation

@angellllkr-eng

Copy link
Copy Markdown

Summary

  • Replace -1e12\ sentinel with \None\ for failed candidates in local evaluator
  • Add \Mapping\ return-type validation on \evaluate()\ output
  • Use
    p.isfinite()\ instead of != -np.inf\ for score validity check
  • Fix \shutil.copy\ paths in test_evaluator.py to be fixture-relative

Evidence

  • Tests: 74 passed in 4.43s
  • Benchmark: 156.5 evaluations/sec (1,000 deterministic runs)
  • Seed score: \

…ite guard, fixture-relative paths

- evaluate.py: replace -1e12 sentinel with None for failed candidates;
  add Mapping return-type validation; use np.isfinite for score check
- run_evolution.py: change default scores sentinel from -1e12 to 0.0
- evaluator.py (skills): use np.isfinite instead of != -np.inf
- test_evaluator.py (skills): use fixture-relative paths for shutil.copy

Tests: 74 passed. Benchmark: 156.5 eval/sec. Score: 0.9414554065860813.

Owner: Sofia Tech Register EOOD
Brand: A11 / MindReply
Portfolio: A11-K.space
Branch: a11/local-alphaevolve-e2e-20260826
@google-cla

google-cla Bot commented Aug 26, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant