import asyncio
from openevolve import OpenEvolve
async def main():
    # Initialize the system
    evolve = OpenEvolve(
        initial_program_path="",
        evaluation_file="",
        config_path=""
    )

    # Run the evolution
    best_program = await evolve.run(iterations=20)
    
    print(f"Best program metrics:")
    for name, value in best_program.metrics.items():
        print(f"  {name}: {value:.4f}")

if __name__ == "__main__":
    asyncio.run(main())