FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(benchmark): point setup at cecli-cats, note benchmark_classic de… · cecli-dev/cecli@6c05c14 · GitHub

Repository navigation

Commit 6c05c14

Browse files
committed
docs(benchmark): point setup at cecli-cats, note benchmark_classic deprecation
1 parent 5879c9b commit 6c05c14

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

‎benchmark/README.md‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ without any human review or supervision! The LLM could generate dangerous python
2626
that harms your system, like this: `import os; os.system("sudo rm -rf /")`.
2727
Running inside a docker container helps limit the damage that could be done.
2828

29+
The current harness (`benchmark.py`) organizes the exercises as "Cats": each
30+
exercise carries `cat.yaml` metadata, enabling per-test selection and
31+
deterministic subsets (e.g. `--hash-re '^0'`) for spot-checking models. The
32+
canonical exercises source is
33+
[ErichBSchulz/cecli-cats](https://github.com/ErichBSchulz/cecli-cats), a
34+
Cats-formatted conversion of the polyglot benchmark.
35+
2936
## Usage
3037

3138
There are 3 main tasks involved in benchmarking:
@@ -41,17 +48,18 @@ There are 3 main tasks involved in benchmarking:
4148
These steps only need to be done once.
4249

4350
```
44-
ORG=Aider-AI
45-
REPO=aider
51+
ORG=cecli-dev
52+
REPO=cecli
4653
# Clone the main repo
4754
git clone https://github.com/$ORG/$REPO.git
4855
4956
# Create the scratch dir to hold benchmarking results inside the main repo:
5057
cd $REPO
5158
mkdir tmp.benchmarks
5259
53-
# Clone the repo with the exercises
54-
git clone https://github.com/$ORG/polyglot-benchmark tmp.benchmarks/polyglot-benchmark
60+
# Clone the canonical exercises source for the Cats harness
61+
git clone https://github.com/ErichBSchulz/cecli-cats tmp.benchmarks/cecli-cats
62+
5563
5664
# Build the docker container
5765
./benchmark/docker_build.sh
@@ -69,10 +77,10 @@ Launch the docker container and run the benchmark inside it:
6977
./benchmark/docker.sh
7078
7179
# Run the benchmark:
72-
./benchmark/benchmark.py a-helpful-name-for-this-run --model gpt-3.5-turbo --edit-format whole --threads 10 --exercises-dir polyglot-benchmark
80+
./benchmark/benchmark.py a-helpful-name-for-this-run --model gpt-3.5-turbo --edit-format whole --threads 10 --exercises-dir cecli-cats
7381
7482
# Or with OpenRouter models (requires OPENROUTER_API_KEY environment variable):
75-
./benchmark/benchmark.py openrouter-run --model openrouter/deepseek/deepseek-r1:free --edit-format whole --threads 10 --exercises-dir polyglot-benchmark
83+
./benchmark/benchmark.py openrouter-run --model openrouter/deepseek/deepseek-r1:free --edit-format whole --threads 10 --exercises-dir cecli-cats
7684
```
7785

7886
The above will create a folder
@@ -156,6 +164,7 @@ Note the roadmap priorities:
156164

157165
## Limitations
158166

167+
- `benchmark_classic.py` is deprecated (it predates the async Coder API).
159168
- These scripts are not intended for use by typical `cecli` end users.
160169
- Some of the old (?deprecated) tools are written as `bash` scripts, so it will be hard to use
161170
them on Windows.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL