File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,17 @@ PYTHON := $(VENV_DIR)/bin/python
66PIP := $(VENV_DIR ) /bin/pip
77
88# Default target
9+ .PHONY : help
10+ help :
11+ @echo " Available targets:"
12+ @echo " all - Install dependencies and run tests"
13+ @echo " venv - Create a virtual environment"
14+ @echo " install - Install Python dependencies"
15+ @echo " lint - Run Black code formatting"
16+ @echo " test - Run tests"
17+ @echo " docker-build - Build the Docker image"
18+ @echo " docker-run - Run the Docker container with the example"
19+
920.PHONY : all
1021all : install test
1122
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ pip install -e .
4343### Quick Start
4444
4545We use the OpenAI SDK, so you can use any LLM or provider that supports an OpenAI compatible API. Just set the ` OPENAI_API_KEY ` environment variable
46- and update the ` api_base ` in config.yaml if you are using a provider other than OpenAI. For local models, you can use
46+ and update the ` api_base ` in config.yaml if you are using a provider other than OpenAI. For local models, you can use
4747an inference server like [ optillm] ( https://github.com/codelion/optillm ) .
4848
4949``` python
@@ -133,7 +133,7 @@ cat checkpoints/checkpoint_*/best_program_info.json | grep -A 10 metrics
133133You can also install and execute via Docker:
134134``` bash
135135docker build -t openevolve .
136- docker run --rm -v . :/app openevolve examples/function_minimization/initial_program.py examples/function_minimization/evaluator.py --config examples/function_minimization/config.yaml --iterations 1000
136+ docker run --rm -v $( pwd ) :/app openevolve examples/function_minimization/initial_program.py examples/function_minimization/evaluator.py --config examples/function_minimization/config.yaml --iterations 1000
137137```
138138
139139## Configuration
@@ -183,7 +183,7 @@ We have sucessfully replicated the results from the AlphaEvolve paper, below is
183183
184184
185185
186- This is exactly the packing reported by AlphaEolve in their paper (Figure 14) :
186+ This is exactly the packing reported by AlphaEvolve in their paper (Figure 14) :
187187
188188
189189
You can’t perform that action at this time.
0 commit comments