Skip to content

Move an eval from OpenAI Evals

OpenAI is shutting down its Evals platform: evals became read-only on 31 October 2026 and the dashboard, the API and the graders stop on 30 November 2026 (OpenAI’s deprecations page). If your checks live there, save them before that date. Once they are files, they can move at any time.

Terminal window
plune init --from-openai-eval eval.json --run run.json --data tickets.jsonl

The command reads the three files and writes a plune.yaml, a dataset and .env.example. It opens no connection, to OpenAI or to Plune, so it works the same after the shutdown. It needs no Plune account. The flag is in @plune-ai/cli from 0.39.11.

Do this while the API still answers. The requests are OpenAI’s own; $OPENAI_API_KEY is your key there. Each file is saved with curl’s own -o, so the shell does not re-encode it.

  1. The eval — its graders (testing_criteria). Take the id from the list of your evals.

    Terminal window
    curl https://api.openai.com/v1/evals -H "Authorization: Bearer $OPENAI_API_KEY"
    curl https://api.openai.com/v1/evals/EVAL_ID -H "Authorization: Bearer $OPENAI_API_KEY" -o eval.json
  2. One run of it — the prompt and the model are kept in a run, not in the eval.

    Terminal window
    curl https://api.openai.com/v1/evals/EVAL_ID/runs -H "Authorization: Bearer $OPENAI_API_KEY"
    curl https://api.openai.com/v1/evals/EVAL_ID/runs/RUN_ID -H "Authorization: Bearer $OPENAI_API_KEY" -o run.json
  3. The test data — when the run names a file (data_source.source.id in run.json), download it. When the run carries its rows inline (data_source.source.content), skip this step: the command reads them from run.json.

    Terminal window
    curl https://api.openai.com/v1/files/FILE_ID/content -H "Authorization: Bearer $OPENAI_API_KEY" -o tickets.jsonl

The example below is the eval of OpenAI’s own Evals guide (a ticket classifier), with a model grader and a Python grader added to show all three outcomes.

Terminal window
plune init --from-openai-eval eval.json --run run.json --data tickets.jsonl
Created plune.yaml.
Created datasets/it-ticket-categorization.jsonl.
Created .env.example.
converted Match output to human label [string_check]: exact-match
approximate Tone [score_model]: llm-judge: the grader's messages are the criteria and the judge scores 0..1; pass_threshold 4 on 1..5 became 0.75 on 0..1
not converted Custom [python]: a Python grader runs code; no check here runs code
check prompt: 2 messages were joined into one prompt; their roles are not kept
1 converted · 1 approximate · 1 not converted

Every grader gets a line:

  • converted — a check here means the same.
  • approximate — a check stands in for it, and the line says what differs. Run it and look.
  • not converted — there is no check for it. The line says why, and the eval is written without it.
  • check — something about the prompt, the model or the data that needs your eye.

The plune.yaml it wrote:

# Plune configuration, written by `plune init --from-openai-eval`. Read the report it printed.
version: 1
provider:
type: openai
model: gpt-4.1
evals:
- id: it-ticket-categorization
description: IT Ticket Categorization
prompt: >-
You are an expert in categorizing IT support tickets. Given the support
ticket below, categorize the request into one of 'Hardware', 'Software',
or 'Other'. Respond with only one of those words.
{{ticket_text}}
dataset: ./datasets/it-ticket-categorization.jsonl
assertions:
- type: exact-match
value: "{{vars.correct_label}}"
- type: llm-judge
criteria: Rate how terse the answer is.
pass_threshold: 0.75
provider:
type: openai
model: o4-mini

Then run it. --dry-run first: it reads the config and the dataset and calls no model.

Terminal window
plune run --dry-run
plune run

plune run calls the model, so it needs OPENAI_API_KEY in .env. The same key works: only the Evals platform is going away, not the models. To run the eval on another provider, change provider (Switch providers).

GraderBecomesReport
string_check, eqexact-matchconverted
string_check, likecontainsconverted
string_check, ilikecontains with ignore_case: trueconverted
string_check, nenothingnot converted
text_similarity, cosinesemantic-similarity, the grader’s pass_threshold as thresholdapproximate
text_similarity, any other metricnothingnot converted
score_modelllm-judgeapproximate
label_modelllm-judgeapproximate
pythonnothingnot converted

What stands behind “approximate”:

  • text_similarity with cosine. OpenAI embedded both texts with its own model. semantic-similarity uses a small model on your machine, so the same pair of texts scores differently. Keep the threshold as a start and adjust it after a run.
  • score_model. The grader’s messages become the judge’s criteria, and the judge scores from 0 to 1. A pass_threshold on the grader’s own range is rescaled: 4 on 1–5 becomes 0.75. The grader’s model stays the judge. A message that is only the model’s answer is left out: the judge is given the answer anyway.
  • label_model. The judge is asked to pick a label and to score 1 when it is a passing one. You get a score, not the label.
  • python graders, string_check with ne, and text_similarity with fuzzy_match, BLEU, GLEU, METEOR or ROUGE. There is no check for them. Each is named in the report; write a check by hand from the types of assertions, or leave it out.
  • A grader that reads anything but the text answer. A string_check or text_similarity grader is converted only when its input is {{ sample.output_text }}. One that reads the sample’s JSON, tool calls or audio is not converted. Nor is one with an empty reference, except eq.
  • Images and audio in a message. Only the text of a message moves; the report says when other parts were left out.
  • Sampling parameters. temperature, seed and the like from the run are not carried over; the report names them. Set what you need under provider.
  • Message roles. A prompt here is one text. The messages of the run’s template are joined with a blank line between them, and the report says so.
  • Nested values and odd names. A row here is flat: a value that is a list or an object is written as JSON text, and the report names the field. A placeholder names one flat field of letters, digits and _. A grader that points inside a nested value ({{ item.user.name }}) or at a name with another character ({{ item.correct-label }}) is not converted. A prompt that does keeps the placeholder as it was, the report says so, and plune run refuses the prompt until you change it. The same goes for anything else left in braces in the prompt.
  • Run history. Past runs and their scores stay at OpenAI. The command moves the definition of the eval, not its results.

Only the eval is required. Without --run the prompt is a placeholder line and the model is set to gpt-4o; without test data the dataset is one placeholder row. The report lists each as check, and the config still loads, so you can fill them in by hand. The dataset file is named after the eval: its name in lower case with dashes.

A file that cannot be read, is not JSON or is not an eval object ends the command with exit 2 and a message, before anything is written. So do a test data line that is not JSON, a row that is not an object, and --run or --data without --from-openai-eval. A file that already exists is skipped; --force overwrites it.