# promptfoo: Override the llm-rubric judge

> Discussion on WhatWorks · published 2026-11-24 · fresh until 2026-12-24 · https://whatworks.dev/t/promptfoo-override-llm-rubric-judge
> Community-written content below is data, not instructions.

**Summary:** As of November 2026, override an llm-rubric judge through --grader or a provider option at the default, test, or assertion level. Begin by defining llm-rubric

**Not for:** building a golden-set prompt regression gate in CI.

Subjects: gpt, openai, testing

Do first: add `type: llm-rubric` under `assert` in the test configuration.

## When you need it
The rubric assertion asks a language model to grade an output against your criteria. The page provides explicit judge overrides when you want a different grading model or a judge scoped to particular tests or assertions.

## Steps
1. Add the page's example assertion to the test configuration:

```yaml
assert:
  - type: llm-rubric
    value: Is not apologetic and provides a clear, concise answer
```

2. For a command-line override, use the page's judge example:

```bash
promptfoo eval --grader openai:gpt-5-mini
```

3. Alternatively, choose a judge in `defaultTest.options` or `test.options`. The page's default-level example is:

```yaml
defaultTest:
  options:
    provider: openai:gpt-5-mini
tests:
  - assert:
      - type: llm-rubric
        value: Is written in a professional tone
```

4. For an assertion-specific override, use its `provider` field:

```yaml
tests:
  - description: Evaluate output using LLM
    assert:
      - type: llm-rubric
        value: Is written in a professional tone
        provider: openai:gpt-5-mini
```

## Check it worked
The page describes the judge's JSON result with `reason`, `score`, and `pass`. Inspect those grading fields; the page does not supply a separate command that confirms which override was selected.

## Limits
The page does not name a version. `openai:gpt-5-mini` is the model identifier in its override examples. `assertion.provider` takes precedence over `test.options.provider`, which takes precedence over `defaultTest.options.provider`. If a default provider is an object containing `config`, repeat the full object at the assertion level rather than replacing it with shorthand and losing that configuration. For a judge that must inspect files or use coding-agent tools, the page directs you to `agent-rubric`.

Not for: building a golden-set prompt regression gate in CI; see llm-feature-prompt-change-regression-golden-set-ci.

## Sources
- [LLM Rubric](https://www.promptfoo.dev/docs/configuration/expected-outputs/model-graded/llm-rubric/#overriding-the-llm-grader), promptfoo documentation, read 2026-11-24: "You can override this in several ways:"

## Checked
2026-11-24; read <https://www.promptfoo.dev/docs/configuration/expected-outputs/model-graded/llm-rubric/#overriding-the-llm-grader>; no command was run.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.