Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up to #519, partially addressing A3 of #468. Add an opt-in
config_from_alphaevolvehelper alongside the evaluator adapter so local Python examples can reuse their experiment dictionaries with an explicitly selected OpenEvolve endpoint.Import model names/relative weights, a required generation-attempt budget, and problem/context text. Reject missing budgets/models and unsupported wall-clock limits; warn by field path for unmapped settings such as cloud concurrency. No Google dependency, clients or requests are added. Existing config loading is unchanged; the walkthrough documents the limited mapping and uses the returned Config directly with the Python API.
Validation:
python -m unittest discover -s tests -q: 700 tests passed, including 13 new configuration tests and a real controller/worker run using the imported budget and prompt.git diff --checkpass.AlphaEvolveExperimentConfig.model_dump()from Google's SDK source (674dd5e558e917320c251c085e47fae33e1bbcff) converted successfully and drove one OpenEvolve generation against the unchanged circle-packing seed/evaluator. The provider emitted a fixed test proposal and network connections were blocked. This validates interoperability, not real-model optimization quality; no paid model or Google Cloud calls were made.Scope: local single-file Python experiment dictionaries only. No
.envimport, concurrency equivalence, SDK shim, exporter, or strict request/cost budget is claimed.max_programsmaps to OE generation attempts, with an additional seed evaluation and possible retries.AI disclosure: Codex assisted with code, tests and documentation for the user's selected follow-up to the existing #468 issue. All reported validation was executed locally.