Skip to content

feat(config): implement dynamic config rendering with f-string support#440

Open
mensriwq wants to merge 1 commit intoalgorithmicsuperintelligence:mainfrom
mensriwq:pr-feat-dynamic-config
Open

feat(config): implement dynamic config rendering with f-string support#440
mensriwq wants to merge 1 commit intoalgorithmicsuperintelligence:mainfrom
mensriwq:pr-feat-dynamic-config

Conversation

@mensriwq
Copy link

feat(config): implement dynamic config rendering with f-string support

  • Add render_config_dict in openevolve/config.py to resolve placeholders
  • Support {{key}} syntax and f"{expression}" syntax
  • Integrate math module and dot-notation access in config expressions
  • Automatically render configurations during load_config
  • Add unit tests for dynamic rendering in tests/test_config_render.py

- Add `render_config_dict` in openevolve/config.py to resolve placeholders
- Support `{{key}}` syntax and `f"{expression}"` syntax
- Integrate `math` module and dot-notation access in config expressions
- Automatically render configurations during `load_config`
- Add unit tests for dynamic rendering in tests/test_config_render.py
@CLAassistant
Copy link

CLAassistant commented Mar 16, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants