Calibrate task-bench on fejkdata and record how many tasks and runs a bench takes
CI / tests (pull_request) Failing after 5m1s
CI / tests (pull_request) Failing after 5m1s
This commit is contained in:
@@ -30,7 +30,7 @@ the copy's top, with no network, so the image must hold what the tests would oth
|
||||
base, which $PWD names, with `gremlins unleash ...` as "$@". Without it, the bench runs the `gremlins` on the host's PATH. For
|
||||
example:
|
||||
|
||||
docker run --rm --memory 8g --memory-swap 8g -v "$PWD:$PWD" -w "$PWD" golang:1.27.4 \
|
||||
docker run --rm --memory 16g --memory-swap 16g -v "$PWD:$PWD" -w "$PWD" golang:1.27.4 \
|
||||
sh -c 'shift; exec go run github.com/go-gremlins/gremlins/cmd/gremlins@v0.6.0 "$@"' sh
|
||||
|
||||
It prints the base and the head, then a table: a row per bug and side with how many fixes passed and the medians, over the runs
|
||||
@@ -39,6 +39,11 @@ the run first opened the file the bug is in. The median of the reads leaves out
|
||||
per side over every bug, and the head's change against the base. The last line names the bench's folder: `task-bench` in the
|
||||
chunk's review folder.
|
||||
|
||||
Read a change against the noise: with the defaults, two benches of one commit differ by up to 31% in the output tokens of the All
|
||||
row's change, 50% in the cache-read tokens and 21% in the wall time. The mean of the bugs' own changes differs by up to 12%, 16% and
|
||||
10%. The pass rate doesn't move: on the bugs `fejkdata` gave, every run passed. `docs/decisions.md` → `task-bench: how many tasks
|
||||
and runs a bench takes` has the figures.
|
||||
|
||||
That folder holds each run's result and stream, and digest.md, which says why runs failed in a few kilobytes per bug:
|
||||
- the table;
|
||||
- per bug its decoys, the files more than half of its failing runs read that the bug isn't in;
|
||||
|
||||
Reference in New Issue
Block a user