Configuration
eac.yml
You probably don't need one. Without it, your project's root is the root of your git repo (or the current folder, outside one). Add an eac.yml to make its folder the root instead, or to change any of these settings. Every key is optional.
artifacts: .eac # where runs are saved
exclude: [legacy_evals] # folders to skip when looking for datasets
runtimes:
python:
command: [uv, run, python]
env: {PYTHONPATH: src}If you don't set a Python command, eac uses $EAC_PYTHON, then your active virtualenv, then the nearest .venv, then uv run python if there's a uv.lock, then python3. It also loads a .env file from the project root.
dataset.yml
This one is from the Sentry triage example, with the optional metadata added:
name: triage # lowercase, digits and underscores
runtime: python
metadata: {team: triage} # optional, recorded in results
offline:
runner: ./runners/offline.py:OfflineTriageRunner
cases: ./cases.py:OFFLINE_CASES
concurrency: 4 # optional, defaults to 1
comparisons: # optional, see Comparing variants
- name: models
arms:
- name: luna
- name: sol
args: {model: openai/gpt-6.2-sol}
online:
runner: ./runners/online.py:OnlineTriageRunner
judges:
- name: triage_llm_judge
path: ./judges/triage_llm_judge.py:TriageLLMJudgeA dataset needs offline, online, or both. Code can be referenced as ./file.py:name (relative to the YAML file) or module.path:name. A runner or judge reference can be a class, which eac builds with no arguments, or an instance you've configured.