跳到主要内容Skip to main content
← Safety

OpenAI EvalsOpenAI Evals

OpenAI
开源Open source MITMIT PythonPython evaleval 终端Terminal 多模型Multiple models partial lifecycle: maintenance 核验Checked 2026-11-06

核验标记表示资料完整度,不是产品评分。下列未确认项可能影响选型;请按对应来源逐项确认。The confidence mark describes evidence completeness, not a product score. Unconfirmed items below may affect your choice; check them against the relevant sources.

未确认的信息Information not confirmed

  • OpenAI 之外的托管模型服务是否有一等支持(官方只写 OpenAI API 与自定义 CompletionFn)
  • Dashboard 上托管 Evals 的功能面与数据条款:当日未取到官方正文
  • 上下文窗口截断规则、单个评测的样本默认上限
  • 关机或断网后任务的续跑边界(官方只写 oaievalset 的 progress 文件续跑)
  • MCP 接入、护栏/拦截类扩展机制
  • 运行数据在 OpenAI 服务端的留存与训练用途
  • 提交历史逐条清点(本批次未验读)
  • First-class support for hosted providers other than OpenAI (official text covers the OpenAI API plus custom CompletionFn only)
  • Dashboard-hosted Evals feature surface and data terms: no official text captured on the day
  • Context-window truncation rules and the default per-eval sample limit
  • Resume semantics after shutdown or network loss (official text only covers the oaievalset progress file)
  • MCP integration, guardrail or interception mechanisms
  • Server-side retention and training use of run data
  • Commit-by-commit change review (not done in this pass)

OpenAI Evals 是"你自己机器上跑的评测框架 + 公开评测登记册":评测用 YAML 描述、用 oaieval / oaievalset 在终端批量执行,结果落成可自查的本地 JSONL 日志;它同时是 README 首行让位给托管 Dashboard Evals 的那一份开源代码——两条线本站分开看,本档案只覆盖开源框架本体。

OpenAI Evals 是"你自己机器上跑的评测框架 + 公开评测登记册":评测用 YAML 描述、用 oaieval / oaievalset 在终端批量执行,结果落成可自查的本地 JSONL 日志;它同时是 README 首行让位给托管 Dashboard Evals 的那一份开源代码——两条线本站分开看,本档案只覆盖开源框架本体。

适合与不适合When to use it, when not to

适合:要把公开基准和自写 YAML 评测塞进本机脚本或 CI、想读日志文件而不是打开一个控制台、愿意为自有系统实现 CompletionFn。 不适合:只想要托管界面与托管数据面(那是 Dashboard 那条线)、强依赖非 OpenAI 模型却不想写适配层、需要沙箱与工具审批这类运行时边界。

中文生态China availability 国产 / 国内可直接用 / 备案状态 · 快照domestic / direct access / CAC filing · snapshot 2026-11-06

出品属地Origin
国外出品foreign-made OpenAI 维护的开源仓库;本批次未取到面向中国大陆的服务条款页。An open-source repository maintained by OpenAI; no mainland-facing terms page was captured in this pass.
国内使用Direct access
直连未核验direct unknown 本批次未做 github.com / raw 域名的直连可用实测(正文经镜像 CDN 取到),故可用性记为未知。No direct-connection measurement of github.com / raw hosts was made in this pass (the text came through a mirror CDN), so availability is recorded as unknown.
备案状态CAC filing
备案未核验filing unknown:无官方依据,本批次未检索公示,不下「未备案」结论。No official basis; the public registry was not searched in this pass, so no "not filed" conclusion is drawn.

备案信息以网信办《生成式人工智能服务已备案信息》公示名单为准(按批次滚动更新,本站只抄编号不解读);「大陆可直连」是本站从大陆网络直连实测的结果,不是厂商承诺。GitHub 类站点当日实测有波动,口径写在依据里。Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

固定坐标系Fixed coordinate system

8 个维度dimensions, 与同分区其他对象逐项可比each comparable item by item against others in the same section.

模型与开放条件Model & openness

要有自己的模型接入:README 写明运行评测需要先设置 OPENAI_API_KEY,官方提示按 API 计费。 docs/run-evals.md:默认支持 OpenAI API 上的任意模型,任何实现 CompletionFn 协议的对象都可被 oaieval 调用, 仓库 evals/registry/completion_fns 提供现成完成函数。OpenAI 之外托管服务的一等支持:官方未说明。

Your own model access is required: the README states that running evals needs an OPENAI_API_KEY and warns about API costs. docs/run-evals.md: by default any model on the OpenAI API is supported, any implementation of the CompletionFn protocol can be run by oaieval, and ready completion functions live in evals/registry/completion_fns. First-class support for other hosted providers: not stated officially.

运行位置Where it runs

本机 Python 进程,README 标 "Minimum Required Version: Python 3.9";pip install evals 装运行环境, 自建评测建议克隆仓库后 pip install -e .。主入口是终端命令 oaieval(单评测)与 oaievalset(评测集),可脚本化进 CI。 README 首行另把托管用法指向 OpenAI Dashboard 的 Evals 文档;那条云线本批次未取到官方正文。

A local Python process; the README states "Minimum Required Version: Python 3.9". pip install evals to run evals, clone + pip install -e . to author them. The entry points are the terminal commands oaieval (single eval) and oaievalset (eval set), so it scripts into CI. The README's first line points hosted usage to the OpenAI Dashboard Evals docs; that cloud line was not captured in this pass.

本地文件Local files

评测定义是仓库内 YAML(evals/registry/evals、evals/registry/eval_sets),实现代码在 evals/elsuite; 数据集走 Git-LFS 取到 evals/registry/data。默认日志写本机 tmp/evallogs 的 JSONL,--record_path 可改路径。 按 README,用 JSON 数据 + YAML 模板即可写评测,不必写代码。

Eval definitions are YAML in the repo (evals/registry/evals, evals/registry/eval_sets) with implementations under evals/elsuite; dataset files come through Git-LFS into evals/registry/data. Logs default to local JSONL in tmp/evallogs, overridable with --record_path. Per the FAQ, a template-based or model-graded eval needs JSON data plus YAML and no evaluation code.

关机后的任务Tasks after shutdown

本机长跑,不是托管队列。官方文档写明 oaievalset 把已完成的评测记在 /tmp/oaievalset/{model}.{eval_set}.progress.txt, 中断或崩溃后重跑可接着来;单个 eval 不能从中间续,只能重头跑。并发靠 EVALS_THREADS / EVALS_THREAD_TIMEOUT(默认 10 线程、40 秒超时)。 关机后由谁续跑:官方未说明。

A local long run, not a hosted queue. The official docs state oaievalset records finished evals in /tmp/oaievalset/{model}.{eval_set}.progress.txt, so a rerun picks up where it stopped; a single eval cannot be resumed mid-way and must restart. Concurrency is EVALS_THREADS / EVALS_THREAD_TIMEOUT (default 10 threads, 40-second timeout). What happens after the machine shuts down: not stated officially.

工具与扩展Tools & extensions

扩展点是 CompletionFn 协议、eval 模板与 model-graded YAML,README 称高级场景(提示链、工具调用 agent)走 Completion Function Protocol。 贡献面有限制:README 写明目前不接受带自定义代码的评测贡献,仍可提交 model-graded YAML。MCP 接入、护栏或拦截机制:官方未说明。

Extension points are the CompletionFn protocol, eval templates and model-graded YAML; the README routes prompt chains and tool-using agents to the Completion Function Protocol. Contribution is restricted: the README says evals with custom code are not accepted at present, while model-graded YAML files still are. MCP support, guardrails or interception mechanisms: not stated officially.

上下文与记忆Context & memory

没有跨会话记忆这一层——一次运行就是一轮,产物是本地 JSONL 日志与结尾报告。 多轮/长文本类评测走仓库里的 eval 模板(README 的 FAQ 提到模板选择会影响同一段数据的表现)。 上下文窗口截断规则与样本默认上限:本批次未取到官方正文。

There is no cross-session memory layer: one run is one round, and the artifacts are the local JSONL log plus the end-of-run report. Multi-turn or long-text workloads go through the eval templates in the repo (the FAQ shows the same dataset scored under different templates). Window truncation rules and default sample limits: no official text captured in this pass.

权限与限制Permissions & limits

代码 MIT;运行用自己的 API key,README 提供 private evals 路径以在不公开数据的情况下评测。 贡献条款要读原文:贡献进仓库的评测逻辑与数据按同 MIT 许可,且 "OpenAI reserves the right to use this data in future service improvements", 提交还受平台 Usage Policies 约束。数据在 OpenAI 服务端的留存与训练用途:官方未说明。

The code is MIT; you run with your own API key, and the README describes private evals for testing your common LLM patterns without exposing the data publicly. The contribution terms need reading literally: contributed eval logic and data fall under the same MIT license, and "OpenAI reserves the right to use this data in future service improvements", with contributions subject to the platform Usage Policies. Server-side retention and training use: not stated officially.

适合什么任务Best for

适合:把公开基准与自写 YAML 评测放在本机或 CI 里批量跑、要可读的 registry 与本地 JSONL 日志、愿意实现 CompletionFn 接自有系统。 不适合:只要托管控制台与托管数据面(该走 Dashboard Evals)、强依赖非 OpenAI 模型且不想写适配层、要沙箱或工具审批这类运行时边界。

Fits: running public benchmarks plus your own YAML evals in batch on your machine or in CI, reading logs as files rather than a console, and implementing CompletionFn for your own systems. Not a fit: wanting only a hosted console and hosted data plane (that is the Dashboard line), depending heavily on non-OpenAI models without writing an adapter, or needing sandboxing and tool approval as runtime boundaries.

头号误解Top misconception

  • 把它当成 Evals 的唯一入口——README 首行已把托管用法指向 OpenAI Dashboard
  • 以为不配 API key 也能跑:默认完成函数走 OpenAI API,成本与限速由官方提示
  • 把自定义代码评测直接提 PR——README 明写目前不接受这类贡献

证据来源Evidence sources

最近核验记录Latest recorded check 2026-11-06,内容更新日content updated on 2026-11-06。单项复核范围见正文或来源说明,不代表所有字段在同一天重新核验。See the text or source notes for item-specific scope; this does not mean every field was rechecked on that date.

类型Type名称Name链接Link
repoopenai/evals · 仓库 README(定位、API key、Git-LFS、pip 安装、Dashboard 指引;jsDelivr 镜像直读官方仓库原文,2026-11-06)openai/evals · repository README (positioning, API key, Git-LFS, pip install, Dashboard pointer; official repo text read through a jsDelivr mirror, 2026-11-06)https://github.com/openai/evals
docsopenai/evals · docs/run-evals.md(oaieval / oaievalset、并发、日志与续跑;jsDelivr 镜像直读,2026-11-06)openai/evals · docs/run-evals.md (oaieval / oaievalset, concurrency, logging and resume; jsDelivr mirror read, 2026-11-06)https://github.com/openai/evals/blob/main/docs/run-evals.md
docsopenai/evals · LICENSE.md(MIT 原文与版权行,jsDelivr 镜像直读,2026-11-06)openai/evals · LICENSE.md (MIT text and copyright line, jsDelivr mirror read, 2026-11-06)https://github.com/openai/evals/blob/main/LICENSE.md
changelogopenai/evals · 提交历史(本对象无独立 changelog 页,变更以 commits 为准;本批次未逐条验读)openai/evals · commit history (no standalone changelog page for this object, changes live in commits; not reviewed item by item in this pass)https://github.com/openai/evals/commits/main

官方口径与未核到项Official record and unverified items

本站未做端到端实测:本档案没有运行过 oaieval / oaievalset,不产出任何分数、准确率或排名,也不核对登记册里各评测的结论。 本节只组织官方 README 与 docs/run-evals.md 里出现过的说法(安装方式、CLI、日志路径、并发与续跑、贡献限制),逐条见 sources 与核验日。 本站的评测类实测协议尚未覆盖"跑开源 registry 基准"这一用法,如需实测要先立协议。

This site has not completed end-to-end measured runs. Nothing was executed with oaieval / oaievalset, no benchmark scores, accuracies or rankings are produced, and the registry contents were not audited.

This section only organizes statements that appear in the official README and docs/run-evals.md (installation, the two CLIs, log paths, concurrency and resume behaviour, contribution limits); each is tied to the sources list and the verification date.

Suggested measurements (all pointing at things the official pages do not answer):

  • Effort to run a non-OpenAI model through a self-written CompletionFn
  • Actual behaviour of oaievalset resume after a killed process, and the "hangs at the end" issue the README acknowledges
  • Whether contributed eval data can be kept private end to end

变更记录说明Change-record notes

上游仓库未被 GitHub 标记为 archived,但仓库元数据显示最近推送 2026-04-14(GitHub API 核验 2026-11-06),距核验日已超 90 天,故 lifecycle 记 maintenance、节奏放缓在此显式提示。 本对象无独立 changelog 页,变更记录以提交历史为准;本批次未逐条清点提交内容,也未读 Dashboard 那条云线的更新页——当日未取到官方正文。

The upstream repository is not flagged as archived on GitHub, but repository metadata shows the last push on 2026-04-14 (GitHub API verified 2026-11-06), more than 90 days before the verification date, so lifecycle is recorded as maintenance and the slower cadence is flagged here. This object has no standalone changelog page; changes are tracked through commit history, which was not reviewed item by item in this pass. The hosted Evals line referenced by the README's first line was not captured either - no official text obtained for it on the day.

第一次怎么用First run

  1. 先决定是走开源框架还是走 Dashboard 的托管 Evals——README 首行指的是后者,本档案讲的是前者。
  2. 设置 OPENAI_API_KEY(README:运行评测必需),并知道官方提醒这会按 API 计费。
  3. 只想跑现成评测:pip install evals;评测数据在 Git-LFS 里,按 README 的 git lfs fetch / git lfs pull 取。
  4. 终端跑 oaieval <模型或完成函数> <eval 名>;评测名取自 evals/registry/evals 下的 YAML,批量用 oaievalset。
  5. 结果先在 tmp/evallogs 的 JSONL 里自查,再考虑是否配 Snowflake 日志。
  6. 想接自己的系统就实现 CompletionFn,但别把自定义代码直接提进 registry——README 目前不收。
  1. First decide which line you want: the open-source framework described here, or hosted Evals in the Dashboard (the README's first line points to the latter).
  2. Set OPENAI_API_KEY (required by the README to run evals) and note the official warning that API use is billed.
  3. To run existing evals only: pip install evals; registry data lives in Git-LFS, fetched with the git lfs fetch / git lfs pull steps in the README.
  4. In the terminal run oaieval <model or completion function> <eval name>; eval names come from the YAML under evals/registry/evals, batches via oaievalset.
  5. Read the local JSONL logs under tmp/evallogs before considering Snowflake logging.
  6. To attach your own system, implement a CompletionFn - but do not submit custom-code evals as contributions, which the README says are not accepted.

相关条目Related entries

  • InspectInspect同属「评测与观测」线:本档案只写自己在册的官方口径,对照请看那份。Same line: Inspect (in evaluation and observability); this entry states only what its own official sources support.
  • RagasRagas同属「评测与观测」线:本档案只写自己在册的官方口径,对照请看那份。Same line: Ragas (in evaluation and observability); this entry states only what its own official sources support.
  • LangfuseLangfuse同属「评测与观测」线:本档案只写自己在册的官方口径,对照请看那份。Same line: Langfuse (in evaluation and observability); this entry states only what its own official sources support.

本页由This page is generated from the ai-handbook 数据层生成(CC BY 4.0)。data layer (CC BY 4.0). 方法论与坐标系定义见仓库内For the methodology and coordinate definitions, see METHODOLOGY.md.