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 #520, partially addressing A3 of #468. Add an opt-in
config_from_alphaevolve_envhelper so local Python users can reuse model names/weights and a generation budget from an explicitly named AlphaEvolve.envfile through the existing dictionary converter.Support single or numbered models. Require
MAX_PROGRAMS_GENERATED; reject conflicting evaluation budgets instead of silently dropping them. Even equal evaluation budgets warn that OE counts generation attempts plus a seed evaluation and possible retries. Cloud/concurrency variables are not imported and warn by name only. Problem text and the OE endpoint/key remain caller-supplied.Use the optional
alphaevolve-envextra (python-dotenv1.x) with strict parser validation for malformed/duplicate assignments. No environment discovery, interpolation, global environment mutation, script execution, Google dependency or client creation is added. Existing loaders and the CLI are unchanged; document mappings and limitations.Validation:
python -m unittest discover -s tests -q: 715 tests passed, including 15 new env-import tests. Those 15 also pass with the declared minimumpython-dotenv==1.0.0(full suite used 1.2.4).git diff --checkpass.example.envfiles at674dd5e558e917320c251c085e47fae33e1bbcff; the signal-processing file correctly failed for missing models. A bounded copy of the circle-packing env drove one generation through the real OE controller/worker with unchanged seed/evaluator and a scripted proposal. Network connections were blocked; no paid model or Google Cloud calls were made. This checks interoperability, not real-model optimization quality.AI disclosure: Codex assisted with implementation, tests and documentation for the user's selected follow-up to #468. All reported validation was executed locally.