evalpair

v0.1.1
io.github.Srikarmk/evalpair Checked 4 days ago Published 1 month ago

Run LLM eval suites on local or hosted models; compare runs with intervals and a noise floor.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_suites List eval suites

Use to see which eval suites can be run: name, item count, checker and what each measures.

list_runs List saved runs

Use to find earlier runs to show or compare: run id, suite, model, item count, whether it has a repeat pass.

ParameterTypeDescription
limitintegerHow many, newest first.
suiteOnly runs of this suite.

run_eval Run an eval suite

Use to run a suite against one model and save the run. Returns its score with an interval and its first failures. Calls the model; cached replies are reused.

ParameterTypeDescription
model *stringModel name as the server knows it, e.g. 'llama3.1:8b' on Ollama.
suite *stringA suite name from list_suites, or a path to a suite folder.
backendstring'ollama' for Ollama's API; 'openai' for any OpenAI-compatible server.
base_urlServer URL. Defaults: http://localhost:11434 (ollama), http://localhost:8000/v1 (openai).
labelRun id to save under (letters, digits, . _ -).
limitOnly the first N items; start small, runs take a while.
repeatbooleanSend every item twice to measure the noise floor.
seedSampling seed, where the server supports one.
temperaturenumber
thinkOllama thinking on or off, for models that support it.

show_run Show a run

Use to see a saved run's score with its interval, the noise floor if it has a repeat, and the end of failed replies.

ParameterTypeDescription
run *stringA run id from list_runs or run_eval.
failuresintegerHow many failed items to include.

compare_runs Compare two runs

Use to compare two runs of the same suite item by item: score difference with a paired interval, flips each way, and whether answers moved more than the noise floor.

ParameterTypeDescription
a *stringThe baseline run id.
b *stringThe run to compare against it.
examplesintegerItems to show that got worse and better.