Judge Prompt Engineering for Domain-Specific Rubrics

Judge Prompt Engineering for Domain-Specific Rubrics

LLM-as-judge systems fail quietly. The model returns a score, the pipeline continues, and no one notices that the judge is rewarding fluency instead of correctness. In domain-specific evaluation, where the ground truth requires expert knowledge the judge may not possess, this failure is not an edge case. It is the default. Judge prompt engineering for domain-specific rubrics is the discipline that closes that gap: structuring the judge's context, criteria, and scoring instructions so that its outputs correlate with what a human expert would decide, not just what sounds authoritative.

This post covers how to structure judge prompts for expert domains, where generic prompts break down, and what operational choices determine whether an LLM judge is usable as a training or evaluation signal.

Answer Capsule

Judge prompt engineering for domain-specific rubrics means structuring the LLM judge's system prompt, criteria definitions, scoring scale, and exemplars so that its scores correlate with expert human judgment on tasks requiring specialist knowledge. The core components are: a precise task description, criterion-level definitions with domain vocabulary, anchored score levels with worked examples, and explicit instructions for how to handle partial credit and ambiguity. Generic judge prompts fail on domain tasks because they lack the conceptual vocabulary to distinguish correct from plausible.

Why generic judge prompts fail on domain-specific tasks

A generic judge prompt asks the model to evaluate quality, accuracy, and helpfulness. On domain-specific tasks, those criteria are undefined. Quality in a G-code toolpath is not the same as quality in a SQL query. Accuracy in a structural load calculation depends on unit conventions, safety factors, and code references the judge has no reason to apply unless told explicitly.

The failure mode is systematic, not random. Generic prompts produce high inter-rater agreement between LLM judges because they all reward the same surface features: confident prose, step-by-step structure, and plausible-sounding terminology. They disagree with human experts precisely where it matters: whether the answer is technically correct.

Research on LLM-as-judge agreement, including the work by Zheng et al. in the MT-Bench paper (2023), shows strong judge-human correlation on general reasoning and writing tasks. That correlation degrades on tasks requiring domain knowledge the judge cannot verify from first principles. The gap is not a model capability problem alone. It is a prompt design problem. A well-structured domain rubric recovers much of that lost correlation.

For a deeper treatment of how rubric structure determines signal quality, see the Chiron Data Labs analysis of task-specific versus universal rubrics and their signal difference.

The five components of a domain-specific judge prompt

A usable domain judge prompt has five components. Each one addresses a specific failure mode of the generic alternative.

  1. Task frame. A one-paragraph description of what the task is asking, what domain it belongs to, and what a correct response is expected to contain. This is not the task prompt itself. It is the judge's briefing. Without it, the judge has no basis for distinguishing a plausible response from a correct one.

  2. Criterion definitions. Each scoring criterion is named and defined using domain vocabulary. For a PLC ladder logic task, criteria might include: logical correctness of rung conditions, correct use of contact and coil types, absence of race conditions, and compliance with IEC 61131-3 syntax. Each criterion is defined in one to three sentences. Undefined criteria produce undefined scores.

  3. Anchored scoring scale. Each score level on the scale is anchored to a concrete description of what a response at that level looks like. A five-point scale with anchors at 1, 3, and 5 is sufficient for most tasks. Anchors at intermediate levels reduce drift. Unanchored scales produce score compression toward the middle.

  4. Worked exemplars. At least one positive and one negative example, with the judge's expected score and a brief rationale. Exemplars are the highest-leverage component of the prompt. They transfer tacit domain knowledge faster than criterion definitions alone. They also function as calibration: a judge that scores the exemplar incorrectly is not ready for the task.

  5. Handling instructions for ambiguity and partial credit. Explicit rules for what to do when a response is partially correct, when it uses a valid alternative method, or when it is correct but incomplete. Without these, the judge defaults to penalizing anything that does not match the expected form, even when the substance is right.

For a structured approach to writing rubrics that LLM judges can apply reliably, see the Chiron Data Labs guide on writing rubrics LLM judges can apply reliably.

Prompt structure: a protocol for domain judge prompt engineering

The following protocol applies to any domain where the judge must evaluate technical correctness, not just coherence.

  1. Define the verification target first. Before writing the judge prompt, specify what a correct answer must satisfy. This is the same exercise as writing a verifier. If you cannot state the correctness condition precisely, the judge prompt will be vague by inheritance. For domains with programmatic verifiers (G-code simulators, SPICE netlists, unit test suites), the judge prompt handles the criteria that the verifier cannot check: reasoning quality, method choice, safety margin justification.

  2. Write criterion definitions with a domain expert, not from documentation alone. Documentation describes what is permitted. Experts know what is correct in context. The difference matters for scoring partial credit and distinguishing technically valid but practically wrong answers.

  3. Anchor the scale with real task outputs, not hypothetical descriptions. Pull exemplars from pilot runs or from expert-authored demonstrations. Hypothetical anchors drift; real outputs are specific enough to calibrate the judge.

  4. Test the judge prompt against a calibration set before use. The calibration set contains tasks with known expert scores. Compute Spearman rank correlation between judge scores and expert scores. A correlation below 0.7 on the calibration set is a signal to revise the prompt, not to proceed.

  5. Version the judge prompt explicitly. Every change to the judge prompt is a change to the measurement instrument. Score distributions from different prompt versions are not directly comparable. Track prompt version alongside model version and evaluation date.

The relationship between judge prompts and reward signals in RL training is examined in the Chiron Data Labs post on rubric as reward: expert rubrics as RL training signals.

Worked example: judge prompt for a CNC toolpath evaluation task

Illustrative example. Numbers and scores are constructed to demonstrate the structure; they do not represent empirical results from a specific model or dataset.

The task asks a model to generate a G-code toolpath for a pocket milling operation on a specific geometry, given material, tool diameter, and spindle speed constraints.

A generic judge prompt might say: Rate the quality of the following G-code response on a scale of 1 to 5, where 5 is excellent. This prompt produces scores that correlate with response length and formatting, not with whether the toolpath would run without collision or produce the specified surface finish.

A domain-specific judge prompt for this task includes:

  • Task frame: "The response is a G-code program for a rectangular pocket milling operation. A correct response specifies safe approach and retract moves, correct feed and speed values within the stated constraints, a valid pocket clearing strategy (raster, spiral, or contour), and proper modal state management (G17, G90/G91, G20/G21 as appropriate). The program must not command a tool move that would result in a collision with the workpiece fixture."

  • Criterion 1 - Geometric correctness (0-2 points): Does the toolpath clear the pocket to the specified depth without overcutting the boundary? Score 2 if both conditions are met, 1 if one is met, 0 if neither.

  • Criterion 2 - Feed and speed compliance (0-1 point): Are the F and S values within the stated constraints? Score 1 if yes, 0 if no or absent.

  • Criterion 3 - Safe approach and retract (0-1 point): Does the program include a safe Z-height retract before lateral moves? Score 1 if yes, 0 if no.

  • Criterion 4 - Modal state management (0-1 point): Are modal codes set explicitly at program start and cancelled at end? Score 1 if yes, 0 if absent or incorrect.

  • Positive exemplar: A 40-line G-code program with G28 home, G90 absolute mode set, correct F and S values, Z-retract before each lateral rapid, and M30 end. Expected score: 5/5. Rationale: all criteria satisfied, no collision risk, constraints respected.

  • Negative exemplar: A program that uses correct feed and speed but omits Z-retract between passes, creating a collision risk. Expected score: 2/5. Rationale: geometric clearing is present, feed/speed correct, but approach/retract and modal management both fail.

In a pilot calibration against five expert-scored responses, this prompt structure would be expected to produce higher rank correlation with expert scores than an unanchored generic prompt. The specific correlation value depends on the judge model, the task set, and the expert panel, and must be measured, not assumed.

For the broader question of when programmatic checks and expert rubrics should be combined, see the Chiron Data Labs post on hybrid verifiers: programmatic checks and expert rubrics.

Common failure modes in domain judge prompt engineering

1. Criterion overlap. Two criteria measure the same thing under different names. The judge double-counts the same error. Detection: compute pairwise correlation between criterion scores across a calibration set. Scores above 0.9 suggest redundancy. Fix: merge overlapping criteria or redefine them to target distinct aspects of the response.

2. Unanchored scale drift. The judge's interpretation of "3 out of 5" shifts across task instances because the scale has no concrete anchor. Detection: score variance is high on tasks that expert raters agree are similar in quality. Fix: add worked exemplars at each scale point, or reduce to a binary correct/incorrect scale for criteria that do not require graded judgment.

3. Fluency bias overriding correctness. The judge scores a well-written but technically wrong response higher than a correct but terse one. Detection: include calibration tasks where the correct answer is brief and the incorrect answer is verbose. Fix: add an explicit instruction: "Score based on technical correctness of the content, not on length, formatting, or writing quality."

4. Missing domain vocabulary in criterion definitions. The judge interprets a criterion using general language rather than domain-specific meaning. For example, "efficiency" in a G-code context means minimizing non-cutting moves, not minimizing token count. Detection: ask the judge to explain its score for a calibration task. If the explanation uses domain terms incorrectly, the criterion definition is insufficient. Fix: add a glossary section to the judge prompt defining the three to five most critical domain terms.

5. No handling rule for valid alternative methods. The rubric assumes one correct solution path. The judge penalizes responses that use a valid alternative approach. Detection: expert raters flag cases where the judge score is low but the response is correct. Fix: add an instruction acknowledging that multiple valid approaches exist and specifying that the judge should score the outcome, not the method, unless the method is itself a criterion.

6. Prompt version drift in longitudinal evaluations. The judge prompt is revised mid-evaluation without versioning. Scores from before and after the revision are aggregated. Detection: score distribution shifts without a corresponding change in the task set or the model being evaluated. Fix: version every judge prompt change, store the version identifier with every score, and never aggregate scores across prompt versions without normalization.

Where this approach breaks down

Domain judge prompt engineering recovers correlation with expert judgment, but it does not eliminate the need for human expert review. Three conditions make LLM judges unreliable regardless of prompt quality: tasks where correctness requires simulation or physical verification (a G-code program that looks correct but would cause a collision on a specific machine configuration); tasks where the correct answer depends on context not present in the prompt (a structural calculation that is correct given one load case but wrong given the actual project specification); and tasks at the frontier of the domain, where expert raters themselves disagree. In all three cases, the judge prompt cannot compensate for missing information or missing consensus. Use programmatic verifiers for the first case, richer task specifications for the second, and expert panels with explicit disagreement protocols for the third.

Domain judge prompts also require maintenance. As frontier models improve, the tasks that were hard become easy, and the calibration set needs to be refreshed. A judge prompt calibrated against one generation of models may be poorly anchored against the next. Difficulty is a property of the task relative to a specific model at a specific date, not an intrinsic property of the task. The same principle applies to judge calibration.

For the design of verifiable reward signals in domains beyond math and code, see the Chiron Data Labs analysis of RLVR beyond math and code: verifiable rewards in engineering.

FAQ

What is the minimum number of exemplars needed in a domain judge prompt?

Two exemplars, one at the high end and one at the low end of the scale, establish the range. Three to five exemplars, covering the full scale including a midpoint, produce more stable judge behavior across varied task instances. More than ten exemplars risk exceeding the judge's effective context window for reasoning, particularly on long domain tasks. Start with three and expand based on calibration results.

How do you measure whether a domain judge prompt is working?

Compute Spearman rank correlation between judge scores and expert human scores on a held-out calibration set of at least 30 tasks with known expert ratings. A correlation above 0.75 is a reasonable operational threshold for using the judge as a training signal. Below 0.6, the prompt requires revision before use. Report the correlation alongside the judge model version and prompt version.

Should the judge prompt include the correct answer?

It depends on the use case. For evaluation tasks, providing the reference answer allows the judge to score against ground truth, which improves accuracy on tasks with a single correct answer. For preference ranking tasks (RLHF), the judge typically scores responses without seeing the reference answer, to avoid anchoring bias. For process supervision tasks, the judge evaluates intermediate steps, where partial reference solutions may be appropriate.

Can one judge prompt cover multiple domains?

Not reliably. A judge prompt that covers both PCB layout evaluation and structural load calculation will either be too abstract to be useful in either domain or too long for the judge to apply consistently. Domain-specific prompts outperform universal prompts on domain tasks. The operational cost of maintaining separate prompts per domain is real, but it is lower than the cost of using scores that do not correlate with expert judgment.

How does judge prompt engineering relate to rubric-as-reward in RL training?

The judge prompt is the operational instantiation of the rubric in an LLM-as-judge pipeline. When the rubric is used as a reward signal in RL training, the judge prompt determines what the reward model is actually optimizing for. A poorly structured judge prompt produces a reward signal that the policy can exploit without improving on the target behavior. Rubric design and judge prompt design are the same problem approached from different directions.

What is the role of task specifications in judge prompt quality?

The judge prompt cannot compensate for an underspecified task. If the task prompt does not define the expected output format, the domain constraints, or the evaluation context, the judge has no basis for applying the rubric consistently. Task specification and judge prompt engineering must be developed together. A well-structured task spec makes the judge prompt shorter and more precise. See the Chiron Data Labs post on task spec templates: prompt, ground truth, rubric, and failure modes for a working template.

What this means in practice

Judge prompt engineering for domain-specific rubrics is not a configuration detail. It is the mechanism by which an LLM judge becomes a usable measurement instrument for expert domains. The five components, task frame, criterion definitions, anchored scale, worked exemplars, and ambiguity handling, each address a specific failure mode of the generic alternative. Calibration against expert scores is not optional. Prompt versioning is not optional. The domains where this matters most, manufacturing, electronics, structural engineering, finance, are precisely the domains where generic judge prompts are least reliable and where the cost of a miscalibrated reward signal is highest.

Chiron Data Labs builds expert-authored evaluation and training tasks for domains where LLM judges require exactly this level of prompt engineering to produce usable signals. If you are designing judge pipelines or RL environments for hard expert domains, talk to Chiron Data Labs about expert-authored tasks for your domain.

LLM-as-judge systems fail quietly. The model returns a score, the pipeline continues, and no one notices that the judge is rewarding fluency instead of correctness. In domain-specific evaluation, where the ground truth requires expert knowledge the judge may not possess, this failure is not an edge case. It is the default. Judge prompt engineering for domain-specific rubrics is the discipline that closes that gap: structuring the judge's context, criteria, and scoring instructions so that its outputs correlate with what a human expert would decide, not just what sounds authoritative.

This post covers how to structure judge prompts for expert domains, where generic prompts break down, and what operational choices determine whether an LLM judge is usable as a training or evaluation signal.

Answer Capsule

Judge prompt engineering for domain-specific rubrics means structuring the LLM judge's system prompt, criteria definitions, scoring scale, and exemplars so that its scores correlate with expert human judgment on tasks requiring specialist knowledge. The core components are: a precise task description, criterion-level definitions with domain vocabulary, anchored score levels with worked examples, and explicit instructions for how to handle partial credit and ambiguity. Generic judge prompts fail on domain tasks because they lack the conceptual vocabulary to distinguish correct from plausible.

Why generic judge prompts fail on domain-specific tasks

A generic judge prompt asks the model to evaluate quality, accuracy, and helpfulness. On domain-specific tasks, those criteria are undefined. Quality in a G-code toolpath is not the same as quality in a SQL query. Accuracy in a structural load calculation depends on unit conventions, safety factors, and code references the judge has no reason to apply unless told explicitly.

The failure mode is systematic, not random. Generic prompts produce high inter-rater agreement between LLM judges because they all reward the same surface features: confident prose, step-by-step structure, and plausible-sounding terminology. They disagree with human experts precisely where it matters: whether the answer is technically correct.

Research on LLM-as-judge agreement, including the work by Zheng et al. in the MT-Bench paper (2023), shows strong judge-human correlation on general reasoning and writing tasks. That correlation degrades on tasks requiring domain knowledge the judge cannot verify from first principles. The gap is not a model capability problem alone. It is a prompt design problem. A well-structured domain rubric recovers much of that lost correlation.

For a deeper treatment of how rubric structure determines signal quality, see the Chiron Data Labs analysis of task-specific versus universal rubrics and their signal difference.

The five components of a domain-specific judge prompt

A usable domain judge prompt has five components. Each one addresses a specific failure mode of the generic alternative.

  1. Task frame. A one-paragraph description of what the task is asking, what domain it belongs to, and what a correct response is expected to contain. This is not the task prompt itself. It is the judge's briefing. Without it, the judge has no basis for distinguishing a plausible response from a correct one.

  2. Criterion definitions. Each scoring criterion is named and defined using domain vocabulary. For a PLC ladder logic task, criteria might include: logical correctness of rung conditions, correct use of contact and coil types, absence of race conditions, and compliance with IEC 61131-3 syntax. Each criterion is defined in one to three sentences. Undefined criteria produce undefined scores.

  3. Anchored scoring scale. Each score level on the scale is anchored to a concrete description of what a response at that level looks like. A five-point scale with anchors at 1, 3, and 5 is sufficient for most tasks. Anchors at intermediate levels reduce drift. Unanchored scales produce score compression toward the middle.

  4. Worked exemplars. At least one positive and one negative example, with the judge's expected score and a brief rationale. Exemplars are the highest-leverage component of the prompt. They transfer tacit domain knowledge faster than criterion definitions alone. They also function as calibration: a judge that scores the exemplar incorrectly is not ready for the task.

  5. Handling instructions for ambiguity and partial credit. Explicit rules for what to do when a response is partially correct, when it uses a valid alternative method, or when it is correct but incomplete. Without these, the judge defaults to penalizing anything that does not match the expected form, even when the substance is right.

For a structured approach to writing rubrics that LLM judges can apply reliably, see the Chiron Data Labs guide on writing rubrics LLM judges can apply reliably.

Prompt structure: a protocol for domain judge prompt engineering

The following protocol applies to any domain where the judge must evaluate technical correctness, not just coherence.

  1. Define the verification target first. Before writing the judge prompt, specify what a correct answer must satisfy. This is the same exercise as writing a verifier. If you cannot state the correctness condition precisely, the judge prompt will be vague by inheritance. For domains with programmatic verifiers (G-code simulators, SPICE netlists, unit test suites), the judge prompt handles the criteria that the verifier cannot check: reasoning quality, method choice, safety margin justification.

  2. Write criterion definitions with a domain expert, not from documentation alone. Documentation describes what is permitted. Experts know what is correct in context. The difference matters for scoring partial credit and distinguishing technically valid but practically wrong answers.

  3. Anchor the scale with real task outputs, not hypothetical descriptions. Pull exemplars from pilot runs or from expert-authored demonstrations. Hypothetical anchors drift; real outputs are specific enough to calibrate the judge.

  4. Test the judge prompt against a calibration set before use. The calibration set contains tasks with known expert scores. Compute Spearman rank correlation between judge scores and expert scores. A correlation below 0.7 on the calibration set is a signal to revise the prompt, not to proceed.

  5. Version the judge prompt explicitly. Every change to the judge prompt is a change to the measurement instrument. Score distributions from different prompt versions are not directly comparable. Track prompt version alongside model version and evaluation date.

The relationship between judge prompts and reward signals in RL training is examined in the Chiron Data Labs post on rubric as reward: expert rubrics as RL training signals.

Worked example: judge prompt for a CNC toolpath evaluation task

Illustrative example. Numbers and scores are constructed to demonstrate the structure; they do not represent empirical results from a specific model or dataset.

The task asks a model to generate a G-code toolpath for a pocket milling operation on a specific geometry, given material, tool diameter, and spindle speed constraints.

A generic judge prompt might say: Rate the quality of the following G-code response on a scale of 1 to 5, where 5 is excellent. This prompt produces scores that correlate with response length and formatting, not with whether the toolpath would run without collision or produce the specified surface finish.

A domain-specific judge prompt for this task includes:

  • Task frame: "The response is a G-code program for a rectangular pocket milling operation. A correct response specifies safe approach and retract moves, correct feed and speed values within the stated constraints, a valid pocket clearing strategy (raster, spiral, or contour), and proper modal state management (G17, G90/G91, G20/G21 as appropriate). The program must not command a tool move that would result in a collision with the workpiece fixture."

  • Criterion 1 - Geometric correctness (0-2 points): Does the toolpath clear the pocket to the specified depth without overcutting the boundary? Score 2 if both conditions are met, 1 if one is met, 0 if neither.

  • Criterion 2 - Feed and speed compliance (0-1 point): Are the F and S values within the stated constraints? Score 1 if yes, 0 if no or absent.

  • Criterion 3 - Safe approach and retract (0-1 point): Does the program include a safe Z-height retract before lateral moves? Score 1 if yes, 0 if no.

  • Criterion 4 - Modal state management (0-1 point): Are modal codes set explicitly at program start and cancelled at end? Score 1 if yes, 0 if absent or incorrect.

  • Positive exemplar: A 40-line G-code program with G28 home, G90 absolute mode set, correct F and S values, Z-retract before each lateral rapid, and M30 end. Expected score: 5/5. Rationale: all criteria satisfied, no collision risk, constraints respected.

  • Negative exemplar: A program that uses correct feed and speed but omits Z-retract between passes, creating a collision risk. Expected score: 2/5. Rationale: geometric clearing is present, feed/speed correct, but approach/retract and modal management both fail.

In a pilot calibration against five expert-scored responses, this prompt structure would be expected to produce higher rank correlation with expert scores than an unanchored generic prompt. The specific correlation value depends on the judge model, the task set, and the expert panel, and must be measured, not assumed.

For the broader question of when programmatic checks and expert rubrics should be combined, see the Chiron Data Labs post on hybrid verifiers: programmatic checks and expert rubrics.

Common failure modes in domain judge prompt engineering

1. Criterion overlap. Two criteria measure the same thing under different names. The judge double-counts the same error. Detection: compute pairwise correlation between criterion scores across a calibration set. Scores above 0.9 suggest redundancy. Fix: merge overlapping criteria or redefine them to target distinct aspects of the response.

2. Unanchored scale drift. The judge's interpretation of "3 out of 5" shifts across task instances because the scale has no concrete anchor. Detection: score variance is high on tasks that expert raters agree are similar in quality. Fix: add worked exemplars at each scale point, or reduce to a binary correct/incorrect scale for criteria that do not require graded judgment.

3. Fluency bias overriding correctness. The judge scores a well-written but technically wrong response higher than a correct but terse one. Detection: include calibration tasks where the correct answer is brief and the incorrect answer is verbose. Fix: add an explicit instruction: "Score based on technical correctness of the content, not on length, formatting, or writing quality."

4. Missing domain vocabulary in criterion definitions. The judge interprets a criterion using general language rather than domain-specific meaning. For example, "efficiency" in a G-code context means minimizing non-cutting moves, not minimizing token count. Detection: ask the judge to explain its score for a calibration task. If the explanation uses domain terms incorrectly, the criterion definition is insufficient. Fix: add a glossary section to the judge prompt defining the three to five most critical domain terms.

5. No handling rule for valid alternative methods. The rubric assumes one correct solution path. The judge penalizes responses that use a valid alternative approach. Detection: expert raters flag cases where the judge score is low but the response is correct. Fix: add an instruction acknowledging that multiple valid approaches exist and specifying that the judge should score the outcome, not the method, unless the method is itself a criterion.

6. Prompt version drift in longitudinal evaluations. The judge prompt is revised mid-evaluation without versioning. Scores from before and after the revision are aggregated. Detection: score distribution shifts without a corresponding change in the task set or the model being evaluated. Fix: version every judge prompt change, store the version identifier with every score, and never aggregate scores across prompt versions without normalization.

Where this approach breaks down

Domain judge prompt engineering recovers correlation with expert judgment, but it does not eliminate the need for human expert review. Three conditions make LLM judges unreliable regardless of prompt quality: tasks where correctness requires simulation or physical verification (a G-code program that looks correct but would cause a collision on a specific machine configuration); tasks where the correct answer depends on context not present in the prompt (a structural calculation that is correct given one load case but wrong given the actual project specification); and tasks at the frontier of the domain, where expert raters themselves disagree. In all three cases, the judge prompt cannot compensate for missing information or missing consensus. Use programmatic verifiers for the first case, richer task specifications for the second, and expert panels with explicit disagreement protocols for the third.

Domain judge prompts also require maintenance. As frontier models improve, the tasks that were hard become easy, and the calibration set needs to be refreshed. A judge prompt calibrated against one generation of models may be poorly anchored against the next. Difficulty is a property of the task relative to a specific model at a specific date, not an intrinsic property of the task. The same principle applies to judge calibration.

For the design of verifiable reward signals in domains beyond math and code, see the Chiron Data Labs analysis of RLVR beyond math and code: verifiable rewards in engineering.

FAQ

What is the minimum number of exemplars needed in a domain judge prompt?

Two exemplars, one at the high end and one at the low end of the scale, establish the range. Three to five exemplars, covering the full scale including a midpoint, produce more stable judge behavior across varied task instances. More than ten exemplars risk exceeding the judge's effective context window for reasoning, particularly on long domain tasks. Start with three and expand based on calibration results.

How do you measure whether a domain judge prompt is working?

Compute Spearman rank correlation between judge scores and expert human scores on a held-out calibration set of at least 30 tasks with known expert ratings. A correlation above 0.75 is a reasonable operational threshold for using the judge as a training signal. Below 0.6, the prompt requires revision before use. Report the correlation alongside the judge model version and prompt version.

Should the judge prompt include the correct answer?

It depends on the use case. For evaluation tasks, providing the reference answer allows the judge to score against ground truth, which improves accuracy on tasks with a single correct answer. For preference ranking tasks (RLHF), the judge typically scores responses without seeing the reference answer, to avoid anchoring bias. For process supervision tasks, the judge evaluates intermediate steps, where partial reference solutions may be appropriate.

Can one judge prompt cover multiple domains?

Not reliably. A judge prompt that covers both PCB layout evaluation and structural load calculation will either be too abstract to be useful in either domain or too long for the judge to apply consistently. Domain-specific prompts outperform universal prompts on domain tasks. The operational cost of maintaining separate prompts per domain is real, but it is lower than the cost of using scores that do not correlate with expert judgment.

How does judge prompt engineering relate to rubric-as-reward in RL training?

The judge prompt is the operational instantiation of the rubric in an LLM-as-judge pipeline. When the rubric is used as a reward signal in RL training, the judge prompt determines what the reward model is actually optimizing for. A poorly structured judge prompt produces a reward signal that the policy can exploit without improving on the target behavior. Rubric design and judge prompt design are the same problem approached from different directions.

What is the role of task specifications in judge prompt quality?

The judge prompt cannot compensate for an underspecified task. If the task prompt does not define the expected output format, the domain constraints, or the evaluation context, the judge has no basis for applying the rubric consistently. Task specification and judge prompt engineering must be developed together. A well-structured task spec makes the judge prompt shorter and more precise. See the Chiron Data Labs post on task spec templates: prompt, ground truth, rubric, and failure modes for a working template.

What this means in practice

Judge prompt engineering for domain-specific rubrics is not a configuration detail. It is the mechanism by which an LLM judge becomes a usable measurement instrument for expert domains. The five components, task frame, criterion definitions, anchored scale, worked exemplars, and ambiguity handling, each address a specific failure mode of the generic alternative. Calibration against expert scores is not optional. Prompt versioning is not optional. The domains where this matters most, manufacturing, electronics, structural engineering, finance, are precisely the domains where generic judge prompts are least reliable and where the cost of a miscalibrated reward signal is highest.

Chiron Data Labs builds expert-authored evaluation and training tasks for domains where LLM judges require exactly this level of prompt engineering to produce usable signals. If you are designing judge pipelines or RL environments for hard expert domains, talk to Chiron Data Labs about expert-authored tasks for your domain.

© 2026 CHIRON, SAN FRANCISCO, CA