Repository navigation
Conversation
5 tasks
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.
The bundle exporter and configuration importer have individual coverage, but an OE example has not been exercised through the complete export/import path back into a real OE run. Add offline integration coverage for the unchanged
function_minimizationandcircle_packingexamples, and run it in the dedicated interop workflow introduced by #542.Each case loads an existing example YAML, bounds its generation budget to one, exports the original Python seed/evaluator, relocates the bundle, reads its actual experiment/evaluation JSON, and imports the generated candidate evaluator. Temporary module registrations and the original input directory are removed before evaluator serialization. The direct and returned paths each evaluate the seed and a fixed comment-only proposal through the public
run_evolutionAPI and actual OE workers, from an unrelated working directory.Compare all numeric seed/child metrics except elapsed evaluation time, require positive finite fitness and exact candidate source hashes, and verify worker evaluation records, evolution traces and saved best programs. Check exported source hashes, an unmutated source configuration, imported budget/language/model weights and names, explicit local endpoint/key rebinding, the documented prompt prefix and warnings for omitted settings. Circle packing exercises an explicit two-model mapping. A negative check rejects an unguarded helper before executing examples.
Reuse the existing subprocess environment allowlist and startup tripwires: no real credentials are forwarded, and network/cloud SDK attempts are blocked and recorded in helpers, workers and evaluator subprocesses. These are safeguards for trusted fixtures, not a sandbox. The workflow additionally triggers for changes to the two OE examples; no production code, base dependencies or existing unit/integration jobs are changed.
This verifies the supported subset under controlled inputs, not lossless search behavior or learned improvement. Fix NumPy's random stream on both paths and explicitly align one island, single-stage/single-worker evaluation and diff mode. Prompt construction, artifacts, timing, search controls and other documented export losses are not claimed to round-trip. Actual managed AlphaEvolve service execution remains unverified.
Validation:
googlenoralpha_evolveinstalled. Both examples produced identical direct/returned fitness; each case recorded two actual evaluated proposals, one on each side, and zero network/cloud attempts.Reproduce the new group with
python tests/alphaevolve_upstream/test_roundtrip.py -vfrom an installed OE checkout; it does not require an AlphaEvolve source checkout. GitHub-hosted Ubuntu execution will be verified after publication.Continues #468 without closing it. The walkthrough documents the local round-trip scope and the remaining authenticated managed-service acceptance check for maintainer review.