Skip to content

Commit babe3f9

Browse files
authored
Merge pull request #35 from jvm123/help_improvements
Minor help fixes: make help, fixed README.md: spelling mistake, Docker param issue
2 parents bfb1c9d + b231379 commit babe3f9

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ PYTHON := $(VENV_DIR)/bin/python
66
PIP := $(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
1021
all: install test
1122

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pip install -e .
4343
### Quick Start
4444

4545
We 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
4747
an 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
133133
You can also install and execute via Docker:
134134
```bash
135135
docker 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
![alpha-evolve-replication](https://github.com/user-attachments/assets/00100f9e-2ac3-445b-9266-0398b7174193)
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
![alpha-evolve-results](https://github.com/user-attachments/assets/0c9affa5-053d-404e-bb2d-11479ab248c9)
189189

0 commit comments

Comments
 (0)