Skip to content

Easier programmatic use #191

@tonyxty

Description

@tonyxty

Right now both the evaluator and the initial program(s) must be passed as paths to files, which causes some inconveniences when using OpenEvolve programmatically (e.g., if initial program is generated from some other process, or if the evaluator has some variable parts).

I suggest that initial programs can be passed as Iterable[str], and evaluators can be passed as objects following certain protocols. I can submit some PRs if this seems desirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions