Configuration Reference#

This page documents the YAML schema consumed by nemotron steps run eval/model_eval. The step loads a YAML config, applies Hydra-style overrides, and then branches on mode. In launcher mode it removes Nemotron-only keys, saves a launcher config, and calls nemo_evaluator_launcher.api.functional.run_eval. In direct mode it resolves the endpoint and task list from the environment and runs nemo-evaluator run_eval per task in the current job.

Keys are grouped below as shared, launcher-only, or direct-only.

Sample Configs#

Config

Mode

Purpose

tiny_chat.yaml

launcher

Hosted chat endpoint verification run. Uses deployment.type: none, target.api_endpoint.*, and one configured task, mmlu_instruct.

default.yaml

launcher

Megatron Bridge checkpoint evaluation through NeMo Evaluator Launcher. Uses launcher-managed execution, deployment, evaluation, and tasks sections.

direct.yaml

direct

Base config for direct mode. Reads the endpoint from EVAL_* environment variables and ships two default tasks, adlr_arc_challenge_llama_25_shot and hellaswag.

base_en.yaml

direct

defaults: direct.yaml plus the base_en task list.

mmlu_prox.yaml

direct

defaults: direct.yaml plus mmlu_prox_completions, with config.params.task pinned from MMLU_PROX_LANG.

milu.yaml

direct

defaults: direct.yaml plus the MILU tasks; overrides harness_image with the sovereign image.

instruct_en.yaml

direct

defaults: direct.yaml, target.api_endpoint.type: chat, deterministic generation parameters, and the instruct_en task list.

mmlu_prox_chat.yaml

direct

defaults: direct.yaml, target.api_endpoint.type: chat, deterministic generation parameters, and mmlu_prox_chat pinned from MMLU_PROX_LANG.

The suite configs use defaults: direct.yaml to inherit every key in the base file and override only what differs.

Top-Level Keys#

# Copyright (c) 2025, NVIDIA CORPORATION.  All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Direct mode — the harness runs in THIS job; Nemotron's runspec executors do
# the scheduling. Backend-agnostic by construction.
#
#   uv run nemotron steps run eval/model_eval -c direct --batch <profile>
#
# The profile decides the backend; the step does not care which.
#
# Why this exists: NeMo Evaluator Launcher's own executors cover local/slurm/
# lepton only — there is no Run:ai backend — and its cloud executors carry
# defects documented in this step's README. Direct mode never enters that
# layer, so every backend Nemotron already supports works the same way.
#
# NOTE ON LOCAL RUNS: the `evaluator` extra installs the launcher, NOT any
# benchmark harness -- `nemo-evaluator ls` in a plain checkout reports zero
# harness packages, so a local run cannot resolve a task name. Run inside the
# harness image this config selects (see `harness_image` below), or install a
# harness into your environment first.
#
# REQUIREMENTS
#   1. The step's container must ship the harness (`nemo-evaluator` on PATH).
#      Use a harness image, e.g.
#        run.env.container_image=nvcr.io/nvidia/eval-factory/lm-evaluation-harness:26.03
#      or a nemo-evaluator variant (:latest-lm-eval, :latest-gym, :latest-full).
#   2. The model is reached over HTTP:
#        Host it separately and set EVAL_ENDPOINT_URL, or bring the server up
#        in the same allocation where the backend allows it. Either way it is
#        just a URL here.
#   3. Results are written to output_dir, which must be on storage that
#      outlives the job (a mount), not the container's ephemeral disk.
#
# REQUIRED ENVIRONMENT
#   EVAL_ENDPOINT_URL   OpenAI-compatible URL, e.g. https://host/v1/completions
#   EVAL_MODEL_HANDLE   model id the endpoint serves (must equal its
#                       --served-model-name, or every request 404s)
#   EVAL_RESULTS_DIR    results directory on shared storage
# OPTIONAL
#   EVAL_API_KEY_NAME   name of the env var holding the endpoint token (never
#                       the token itself). Defaults to ENDPOINT_TOKEN. NeMo
#                       Evaluator RAISES if a key name is given but that
#                       variable is unset, so for an endpoint that needs no
#                       auth set EVAL_API_KEY_NAME=null explicitly.

mode: direct
dry_run: false

# Recorded as `harness.image` in run_manifest.json. Top-level ON PURPOSE: the
# generic runner strips `run.env` before invoking the step, so an image read
# from there is present in a local run and null in every submitted one --
# exactly the runs whose provenance matters. `run.env.container_image` below
# interpolates from here, and `run.env.env_vars` forwards the resolved value
# back into the job, so the executor and the manifest cannot disagree.
harness_image: ${oc.env:EVAL_HARNESS_IMAGE,nvcr.io/nvidia/eval-factory/lm-evaluation-harness:26.03}
output_dir: ${oc.env:EVAL_RESULTS_DIR}
task_filters: []

run:
  env:
    # Must contain the harness. NOT overridable by a --run/--batch profile:
    # build_job_config() re-applies YAML-owned resource keys (container_image,
    # nodes, gpus_per_node, ...) after merging env.toml, so the config wins.
    # Select the image with EVAL_HARNESS_IMAGE, or on the command line with
    # `run.env.container_image=<image>` (CLI overrides land in the YAML before
    # the profile is merged, so they do win).
    container_image: ${harness_image}
    env_vars:
      # `harness_image` above is an ${oc.env:} lookup, and the config is
      # serialised UNRESOLVED -- so it is re-resolved inside the container,
      # where EVAL_HARNESS_IMAGE is not set unless we send it. Without this
      # line the executor runs the pinned image while the manifest records the
      # default tag, which is worse than recording nothing.
      #
      # Read from run.env.container_image rather than harness_image so this
      # tracks whatever the executor was finally given -- including a CLI
      # `run.env.container_image=...` override. It resolves on the submitting
      # host, after profile merging, i.e. at the same point the executor takes
      # its image.
      EVAL_HARNESS_IMAGE: ${run.env.container_image}
  wandb:
    entity: null
    project: null

target:
  api_endpoint:
    url: ${oc.env:EVAL_ENDPOINT_URL}
    model_id: ${oc.env:EVAL_MODEL_HANDLE}
    # Base models: completions + few-shot. Instruct models: chat.
    type: ${oc.env:EVAL_ENDPOINT_TYPE,completions}
    # Name of the env var holding the key — never the key itself. Set
    # EVAL_API_KEY_NAME=null for an endpoint that requires no authentication;
    # leaving this pointed at an unset variable is an error, not a no-op.
    api_key_name: ${oc.env:EVAL_API_KEY_NAME,ENDPOINT_TOKEN}

evaluation:
  nemo_evaluator_config:
    config:
      params:
        parallelism: 16
        request_timeout: 3600
        max_retries: 5
        # Smoke with a small number first; null runs the full split.
        limit_samples: ${oc.decode:${oc.env:EVAL_LIMIT_SAMPLES,null}}
        extra:
          # REQUIRED for completions endpoints. lm-evaluation-harness builds
          # log-likelihood requests client-side, so it loads this with
          # AutoTokenizer. Left unset it falls back to the `model=` value --
          # your served-model-name -- and dies with RepositoryNotFoundError
          # naming that as a missing HF repo, which points nowhere near here.
          # An HF repo id or a local snapshot path both work.
          # Tokenizer-extended checkpoints need their OWN tokenizer; the base
          # tokenizer would mis-tokenize every prompt and score silently wrong.
          tokenizer: ${oc.env:EVAL_TOKENIZER,null}
          tokenizer_backend: huggingface
          tokenized_requests: false
    target:
      api_endpoint:
        # The adapter proxy between the harness and your endpoint. Caching is
        # the load-bearing setting: without it the harness holds every request
        # and response for a task in memory, and a task past roughly 30k
        # requests dies client-side -- on a large CPU shape, while the endpoint
        # is still answering 200 to every call. `output_dir` defaults to a
        # per-task directory under output_dir when left unset.
        adapter_config:
          use_caching: true
          output_dir: null
          use_request_logging: true
          max_logged_requests: 10
          use_response_logging: true
          max_logged_responses: 10
          use_progress_tracking: false
  tasks:
    - name: adlr_arc_challenge_llama_25_shot
    - name: hellaswag
# Tiny hosted chat endpoint smoke-test config.
#
# Export endpoint settings before running:
#   export NEMO_EVALUATOR_MODEL_ID=<exact model id>
#   export NEMO_EVALUATOR_MODEL_URL=<OpenAI-compatible chat completions endpoint URL>
#   export NEMO_EVALUATOR_API_KEY_NAME=NVIDIA_API_KEY
#   export NEMO_EVALUATOR_ENDPOINT_TYPE=chat

dry_run: false
output_dir: ./results-tiny-chat
task_filters: null

execution:
  type: local
  mode: sequential
  output_dir: ${output_dir}

deployment:
  type: none

target:
  api_endpoint:
    model_id: ${oc.env:NEMO_EVALUATOR_MODEL_ID,''}
    url: ${oc.env:NEMO_EVALUATOR_MODEL_URL,''}
    api_key_name: ${oc.env:NEMO_EVALUATOR_API_KEY_NAME,NVIDIA_API_KEY}
    type: ${oc.env:NEMO_EVALUATOR_ENDPOINT_TYPE,chat}

evaluation:
  nemo_evaluator_config:
    config:
      params:
        temperature: 0.0
        top_p: 1.0
        max_new_tokens: 1024
        max_retries: 5
        parallelism: 1
        request_timeout: 3600
        limit_samples: 1
    target:
      api_endpoint:
        adapter_config:
          output_dir: /results
          use_progress_tracking: false
          use_caching: true
          caching_dir: /results/cache
          use_response_logging: true
          max_logged_responses: 5
          use_request_logging: true
          max_logged_requests: 5
  tasks:
    - name: mmlu_instruct
# Standard NeMo Evaluator Launcher config for Megatron checkpoint evaluation.
#
# This mirrors the Nano3/Super3 eval shape: the `run` section is used by
# Nemotron for env/profile/artifact interpolation, then removed before handing
# the config to NeMo Evaluator Launcher.

dry_run: false
output_dir: ./results

run:
  # No W&B by default: point `deployment.checkpoint_path` at a concrete
  # Megatron Bridge iter_* directory. Artifact discovery would otherwise resolve
  # a W&B reference here even when checkpoint_path overrides its use, and abort
  # with "No API key configured" for anyone without W&B credentials.
  # To source the checkpoint from a W&B artifact instead, set:
  #   model: model:latest      # consumed by ${art:model,path}
  env:
    # OUTER executor: which runspec backend runs this step. `--run/--batch`
    # overrides it.
    executor: local
    # INNER executor: which backend NeMo Evaluator Launcher submits to from
    # inside this step. Deliberately a SEPARATE field -- when both read
    # `run.env.executor`, submitting the step to Slurm silently asks the
    # launcher to submit again from inside that allocation, and there is no
    # way to express "outer local, launcher Slurm" at all.
    # Supported by the launcher: local, slurm, lepton. There is no Run:ai
    # executor -- use mode=direct for that.
    launcher_executor: local
    container_image: nvcr.io/nvidia/nemo:25.11.nemotron_3_nano
    host: ${oc.env:HOSTNAME,localhost}
    user: ${oc.env:USER,''}
    account: null
    partition: null
    remote_job_dir: ${oc.env:PWD}/.nemotron
    time: "04:00:00"
  # Only read by the commented-out `export.wandb` block at the bottom.
  # wandb:
  #   entity: null
  #   project: null

# `host:VAR` makes VAR mandatory -- the launcher raises if it is unset on the
# submitting host. Only HF_HOME is unconditional here. If your model or dataset
# is gated, add:  HF_TOKEN: host:HF_TOKEN
env_vars:
  HF_HOME: lit:${run.env.remote_job_dir}/hf

execution:
  type: ${oc.select:run.env.launcher_executor,local}
  hostname: ${run.env.host}
  username: ${run.env.user}
  account: ${run.env.account}
  partition: ${run.env.partition}
  output_dir: ${output_dir}
  walltime: ${run.env.time}
  num_nodes: ${oc.select:run.env.nodes,1}
  deployment:
    n_tasks: ${execution.num_nodes}
  # W&B export is opt-in. Uncomment to push results, and export WANDB_API_KEY
  # (plus WANDB_PROJECT / WANDB_ENTITY if your setup needs them).
  # auto_export:
  #   destinations:
  #     - wandb
  mounts:
    deployment: {}
    evaluation: {}
    mount_home: false

deployment:
  type: generic
  image: ${run.env.container_image}
  checkpoint_path: ${art:model,path}
  multiple_instances: false
  port: 1235
  served_model_name: nemo-model
  health_check_path: /v1/health
  command: >-
    bash -c 'export TRITON_CACHE_DIR=/tmp/triton_cache;
    python /opt/Export-Deploy/scripts/deploy/nlp/deploy_ray_inframework.py
    --megatron_checkpoint /checkpoint/
    --num_gpus ${oc.select:run.env.gpus_per_node,1}
    --tensor_model_parallel_size 1
    --expert_model_parallel_size 1
    --port 1235
    --num_replicas 1'
  endpoints:
    chat: /v1/chat/completions/
    completions: /v1/completions/
    health: /v1/health
  env_vars:
    HF_HOME: lit:${run.env.remote_job_dir}/hf
    NIM_CACHE_PATH: lit:${run.env.remote_job_dir}/nim
    VLLM_CACHE_ROOT: lit:${run.env.remote_job_dir}/vllm
    # gated models/datasets also need:  HF_TOKEN: host:HF_TOKEN

evaluation:
  nemo_evaluator_config:
    config:
      params:
        max_retries: 5
        parallelism: 4
        request_timeout: 6000
        limit_samples: null
        extra:
          tokenizer: ${deployment.checkpoint_path}/tokenizer
          tokenizer_backend: huggingface
    target:
      api_endpoint:
        adapter_config:
          output_dir: /results
          use_progress_tracking: false
          use_caching: true
          caching_dir: /results/cache
          use_response_logging: true
          max_logged_responses: 10
          use_request_logging: true
          max_logged_requests: 10
  tasks:
    - name: adlr_mmlu
      nemo_evaluator_config:
        config:
          params:
            top_p: 0.0
    - name: hellaswag

# W&B export is fully opt-in. `needs_wandb()` treats the mere PRESENCE of an
# `export.wandb` section as a request for credentials, which triggers ambient
# W&B discovery and forwards WANDB_API_KEY to the job -- for a config that never
# asked to export anything. Uncomment this block (and `run.wandb` above, and
# `execution.auto_export`) only when you actually want results pushed.
# export:
#   wandb:
#     entity: ${run.wandb.entity}
#     project: ${run.wandb.project}

Shared Keys#

Key

Purpose

mode

launcher (default) or direct. Selects which runtime path the step follows.

dry_run

In launcher mode, passed to NeMo Evaluator Launcher as run_eval(..., dry_run=...). In direct mode, prints each resolved harness command and writes summary.dry-run.json and run_manifest.dry-run.json without evaluating.

output_dir

Where results are written. In launcher mode, copied into execution.output_dir. In direct mode, the root that receives summary.json, run_manifest.json, and one directory per task; must be durable storage.

task_filters

Task names to run; also settable per invocation with repeatable -t. In launcher mode, a subset of the configured tasks. In direct mode, used exactly as supplied, so a name absent from evaluation.tasks still runs.

run

Nemotron-side execution environment, artifact interpolation, and W&B settings. Removed before launcher dispatch.

target.api_endpoint.*

The endpoint the harness calls. Refer to Endpoint Fields.

evaluation.nemo_evaluator_config.config.params.*

Generation and request parameters. Refer to Evaluation Params.

evaluation.tasks

Task entries to run. Each entry has a name and may carry its own nemo_evaluator_config.

Launcher-Only Keys#

Key

Purpose

run.env.executor

The outer scheduler that runs this step; overridden by --run and --batch.

run.env.launcher_executor

The inner scheduler that NeMo Evaluator Launcher submits to: local, slurm, or lepton. Feeds execution.type.

run.env.container_image

Image used by the deployment block.

run.env.host, run.env.user, run.env.account, run.env.partition, run.env.remote_job_dir, run.env.time

Slurm connection and allocation values interpolated into execution.*.

run.wandb.entity, run.wandb.project

W&B identity, read only by the export.wandb block. Commented out by default.

execution.type

Launcher executor type.

execution.output_dir

Populated from output_dir.

execution.walltime, execution.num_nodes, execution.deployment.n_tasks, execution.mounts.*

Allocation and mount settings for the launcher executor.

execution.auto_export

Optional list of exporters to run after evaluation; commented out by default.

deployment.type

generic to have the launcher deploy the checkpoint with deployment.command, or none for an existing endpoint.

deployment.image, deployment.checkpoint_path, deployment.port, deployment.served_model_name, deployment.health_check_path, deployment.command, deployment.endpoints.*, deployment.env_vars.*, deployment.multiple_instances

How the launcher serves a Megatron Bridge checkpoint. checkpoint_path must be a concrete iter_* directory.

export.wandb.*

W&B export target. Its presence is treated as a request for W&B credentials, so leave the block commented out unless you intend to export.

Direct-Only Keys#

Key

Default in direct.yaml

Purpose

harness_image

${oc.env:EVAL_HARNESS_IMAGE,nvcr.io/nvidia/eval-factory/lm-evaluation-harness:26.03}

The container image that ships the harness. Becomes run.env.container_image and is recorded as harness.image in run_manifest.json, together with whether it was pinned by digest.

overwrite

false

A non-empty task directory is refused by default. Set true to replace those directories; the plan is validated before anything is deleted, and a dry run never deletes.

run.env.env_vars.EVAL_HARNESS_IMAGE

${run.env.container_image}

Forwards the resolved image into the job so the manifest records it.

evaluation.nemo_evaluator_config.target.api_endpoint.adapter_config.*

see below

Adapter proxy between the harness and the endpoint. Refer to Adapter Configuration.

Endpoint Fields#

Field

Purpose

target.api_endpoint.model_id

Exact model id advertised by the endpoint. Must equal the server’s --served-model-name.

target.api_endpoint.url

Full OpenAI-compatible endpoint URL, including /v1/chat/completions or /v1/completions.

target.api_endpoint.api_key_name

Environment variable name that holds the bearer token. Never put the secret value in config.

target.api_endpoint.type

chat or completions. Direct mode rejects other values.

Each config reads these values from a different set of environment variables.

Field

tiny_chat.yaml

direct.yaml and suites

Direct default

model_id

NEMO_EVALUATOR_MODEL_ID

EVAL_MODEL_HANDLE

none; required

url

NEMO_EVALUATOR_MODEL_URL

EVAL_ENDPOINT_URL

none; required

api_key_name

NEMO_EVALUATOR_API_KEY_NAME (default NVIDIA_API_KEY)

EVAL_API_KEY_NAME

ENDPOINT_TOKEN

type

NEMO_EVALUATOR_ENDPOINT_TYPE (default chat)

EVAL_ENDPOINT_TYPE

completions; the chat suites set chat in YAML

Direct mode resolves ${oc.env:...} inside the job, so the *_eval_direct profile must forward every variable the config reads. The shipped profiles forward EVAL_ENDPOINT_URL, EVAL_MODEL_HANDLE, EVAL_RESULTS_DIR, EVAL_ENDPOINT_TYPE, EVAL_API_KEY_NAME, EVAL_TOKENIZER, EVAL_LIMIT_SAMPLES, and ENDPOINT_TOKEN. EVAL_HARNESS_IMAGE is the exception: direct.yaml resolves it into run.env.container_image and forwards the resolved value itself, so the profiles intentionally omit it.

Evaluation Params#

Generation and evaluator controls live under:

evaluation.nemo_evaluator_config.config.params

Field

direct.yaml default

Purpose

task

unset; mmlu_prox_${MMLU_PROX_LANG} in the mmlu_prox* suites

Harness-level subset for a multi-subset task. Global to the run unless set per task.

temperature

unset; 0.0 in the chat suites

Sampling temperature for generation tasks.

top_p

unset; 1.0 in the chat suites

Top-p nucleus sampling.

max_new_tokens

unset; 2048 in the chat suites

Maximum generated tokens for chat/instruction tasks.

max_retries

5

Request retry count.

parallelism

16

Request concurrency where supported.

request_timeout

3600

Per-request timeout in seconds.

limit_samples

${oc.decode:${oc.env:EVAL_LIMIT_SAMPLES,null}}

Deterministic first-N sample cap. A limited run is a subset, not a full-split score.

extra.tokenizer

${oc.env:EVAL_TOKENIZER,null}

Loaded automatically when the served model name is its Hugging Face model ID. Set it for an alias, a custom tokenizer path, or Tokenizer Extension; use the generated tokenizer for Tokenizer Extension.

extra.tokenizer_backend

huggingface

Tokenizer backend.

extra.tokenized_requests

false

Passed through to the lm-evaluation-harness tokenized_requests option. Every shipped config sets false.

extra.args

unset

Harness-specific command-line arguments, for example '--confirm_run_unsafe_code' for code benchmarks.

Direct mode accepts only task, limit_samples, parallelism, request_timeout, max_retries, temperature, top_p, max_new_tokens, and extra at the top level of params. Any other key stops the run with unsupported nemo_evaluator_config params. Harness-specific arguments belong under extra.

Per-task values in evaluation.tasks[].nemo_evaluator_config.config.params override the global values; the merged result per task is recorded in run_manifest.json.

Adapter Configuration#

Direct mode forwards evaluation.nemo_evaluator_config.target.api_endpoint.adapter_config to the harness, which runs an adapter proxy between itself and the endpoint.

Field

direct.yaml default

Purpose

use_caching

true

Cache requests and responses on disk. Leave enabled: without it the harness holds every request and response for a task in memory.

output_dir

null

Cache and log location. null places it under the task’s output directory as adapter/.

use_request_logging

true

Log a sample of requests.

max_logged_requests

10

Number of requests to log.

use_response_logging

true

Log a sample of responses.

max_logged_responses

10

Number of responses to log.

use_progress_tracking

false

Progress reporting from the adapter.

default.yaml sets the same fields for launcher mode with output_dir: /results and caching_dir: /results/cache. The adapter configuration is recorded in run_manifest.json, so a cached run and an uncached run are distinguishable afterwards.

Tasks#

Tasks are entries under evaluation.tasks. In launcher mode, use exact task ids from the launcher registry. In direct mode, the harness image is authoritative.

uv run nemo-evaluator-launcher ls tasks
uv run nemo-evaluator-launcher ls task mmlu_instruct --json
docker run --rm <harness-image> nemo-evaluator ls

The sample configs define these starting points.

Config

Tasks

tiny_chat.yaml

mmlu_instruct

default.yaml

adlr_mmlu, hellaswag

direct.yaml

adlr_arc_challenge_llama_25_shot, hellaswag

base_en.yaml

adlr_arc_challenge_llama_25_shot, hellaswag, gsm8k

mmlu_prox.yaml

mmlu_prox_completions

milu.yaml

milu_${MILU_LANG} (default milu_Hindi), milu_English

instruct_en.yaml

ifeval, mmlu_instruct, gsm8k_cot_instruct; humaneval_instruct commented out

mmlu_prox_chat.yaml

mmlu_prox_chat

Do not prepend a harness name unless the launcher lists that exact dotted task id.

A task entry can pin a multi-subset task without affecting other tasks in the same run.

evaluation:
  tasks:
    - name: mmlu_prox_completions
      nemo_evaluator_config: {config: {params: {task: mmlu_prox_hi}}}

Checkpoint Deployment Fields#

The default.yaml config uses launcher-managed deployment for a Megatron Bridge checkpoint. The most common override is:

deployment.checkpoint_path=/path/to/iter_0001000

Use the concrete iter_* checkpoint directory, not only the parent training output directory. Keep the tokenizer aligned with the deployed checkpoint through evaluation.nemo_evaluator_config.config.params.extra.tokenizer; default.yaml sets it to ${deployment.checkpoint_path}/tokenizer.

Direct mode has no deployment fields. It requires target.api_endpoint.url and target.api_endpoint.model_id and exits with direct mode needs target.api_endpoint.url and .model_id when either is unset.

Validation Behavior#

In launcher mode, Nemotron validates only enough to build the launcher config and import NeMo Evaluator Launcher, then runs the launcher’s own schema checks so that dry_run=true fails in the same way as a real run. Endpoint checks, task validation, result writing, and launcher invocation state are owned by NeMo Evaluator Launcher.

In direct mode, Nemotron validates before any task starts: the endpoint URL and model id are present, the endpoint type is chat or completions, every task name is a plain directory name, every params key is in the supported set, and no target task directory is non-empty unless overwrite=true. A failed preflight leaves no new output directory behind.