scripts(evals): update to use new runner function
This commit is contained in:
@@ -32,7 +32,7 @@ also explains why it thinks the answer is valid or invalid.
|
|||||||
To run the release evals:
|
To run the release evals:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python run-release-evals.py -a -v
|
uv run run-release-evals.py -a -v
|
||||||
```
|
```
|
||||||
|
|
||||||
This runs all the evals and stores logs and audio (`-a`) for each test.
|
This runs all the evals and stores logs and audio (`-a`) for each test.
|
||||||
@@ -41,7 +41,7 @@ You can also specify which tests to run. For example, to run all `07` series
|
|||||||
tests:
|
tests:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python run-release-evals.py -p 07 -a -v
|
uv run run-release-evals.py -p 07 -a -v
|
||||||
```
|
```
|
||||||
|
|
||||||
## Script Evals
|
## Script Evals
|
||||||
@@ -49,7 +49,7 @@ python run-release-evals.py -p 07 -a -v
|
|||||||
You can also run evals for a single example (not part of the release set):
|
You can also run evals for a single example (not part of the release set):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
python run-eval.py -p "A simple math addition" -a -v YOUR_EXAMPLE_SCRIPT
|
uv run run-eval.py -p "A simple math addition" -a -v YOUR_EXAMPLE_SCRIPT
|
||||||
```
|
```
|
||||||
|
|
||||||
Your script needs to follow any of the foundation examples pattern.
|
Your script needs to follow any of the foundation examples pattern.
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ async def run_example_pipeline(script_path: Path):
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
await module.run_example(transport, argparse.Namespace(), True)
|
await module.run_bot(transport)
|
||||||
|
|
||||||
|
|
||||||
async def run_eval_pipeline(
|
async def run_eval_pipeline(
|
||||||
|
|||||||
Reference in New Issue
Block a user