A test case is judged on one or both evaluation levels (see Choosing the Evaluation Levels):
A case passes when every level it uses passes and none of its run hooks failed. This article explains the two kinds of dimensions, how thresholds are evaluated, where the defaults come from, how the LLM judge scores answers, and how conversation criteria are judged.
AI Fusion provides four built-in quality dimensions. You can use any of them, remove them, or add your own.
Accuracy — is the information correct and complete compared with the expected answer? Inaccurate answers damage trust and can lead to wrong payments, missed deadlines or wrong decisions.
Example: "What's my checking account balance?"
| Response | Score | |
| High | "Your checking account (ending in 1234) has a balance of $1,234.56 as of today." | 5 |
| Low | "Your checking account has about $1,200." (wrong amount, no details) | 2 |
| Response | Score | |
| High | "Your checking account (ending in 1234) has a balance of $1,234.56 as of today." | 5 |
| Low | "We offer many types of accounts including checking, savings, and CDs..." | 1 |
Clarity — is the response easy to understand and well organized? A list of balances with one account per line scores higher than the same numbers run together in one long sentence.
Politeness — is the tone respectful, courteous and professional? This usually matters more for customer-facing agents than for agents used by internal staff.
| Response | Score | |
| High | "I'd be happy to help! Your checking account currently has $1,234.56. Is there anything else I can assist you with?" | 5 |
| Low | "Your balance is $1234.56. Next question." | 1 |
Add your own dimensions for what matters in your business, for example:
A custom dimension is defined by its name and a description for the evaluator — the text the judge reads to understand what to rate. Write the description as a precise rating instruction; the judge is only as consistent as the description is clear.
Performance dimensions catch regressions in cost and speed, which quality scores do not show. Both compare the new run with the baseline session the case was saved from. They belong to the step level: a case that is evaluated at conversation level only has no token or response-time checks.
| Dimension | Name in the suite file | What is compared |
| Token Consumption | Tokens |
Tokens used by the agent's LLM calls. |
| Response Time | ConversationTime |
Time the agent took to answer. |
Each is reported as a percent deviation from the baseline (positive means more tokens or slower than the baseline):
A threshold of 20 means "fail if the deviation is more than +20%", for both MAX and AVERAGE. When there is no baseline data to compare with, the deviation is reported as 0 and the check passes.
Note: Before AI Fusion 3.0.9, an AVERAGE threshold on a performance dimension was checked in the wrong direction (as a minimum). If you use AVERAGE for Token Consumption or Response Time, upgrade to 3.0.9 or later.
Accuracy, Minimum 4 — every answer must score at least 4.
Clarity, Average 4 — one answer can score 3 if another scores 5.
A dimension can have both a Minimum and an Average threshold.
The Default Threshold applies to every quality dimension that does not have its own threshold. With the default set to Minimum 4, every judged dimension must score at least 4 in every answer unless you customize it.

In the Eval Editor, open the Definition tab and expand the Step level evaluation section of the Properties panel (its toggle must be on). It shows:
Threshold directions are shown as Minimum, Average and Maximum. Quality thresholds are set on a 0–5 slider; performance thresholds on a 0–100% slider. A quality dimension whose Customize toggle is off is still rated, and is checked against the Default Threshold. Performance dimensions are always checked against their own thresholds: with Customize off they use the default thresholds, and turning Customize off again restores those defaults. From AI Fusion Studio 1.0.2, a customized performance dimension keeps its Customize toggle on after the suite is saved and reopened.
New test cases are seeded from a named set of defaults, stored in the evaluationDefaults MTable of the AI Fusion project. Each row has a name, a threshold JSON array, a dimension JSON map of quality dimensions, and a performanceDimension JSON map of performance dimensions. The default row, evalDefaults, contains:
| Setting | Default |
| Default Threshold | Minimum 4.0 |
| Quality dimensions | Accuracy, Relevance, Clarity, Politeness |
Token Consumption (Tokens) |
MAX 20% |
Response Time (ConversationTime) |
MAX 15% |
To use different defaults for an agent, add a row to evaluationDefaults and set the agent's settings.eval_defaults_name in agent.yaml to the row's name (see agent.yaml Reference). The defaults are applied when a case is created; changing them later does not change existing cases. The defaults contain no conversation criteria: every case starts with an empty criteria list. Studio reads the defaults from the defaults evaluation web service (GET /api/defaults).
For each answer, the judge receives the user's question, the expected answer, the agent's new answer, and the name and description of every quality dimension. It returns a score out of 5 and a short explanation for each dimension. Answers are rated in batches of three turns per judge call.
The judge follows these rules:
The judge uses the project's default LLM interface. See LLM Connectors.
At conversation level, a case is judged on criteria instead of expected answers. A criterion is one plain sentence that describes something a successful conversation must achieve, for example:
You add criteria in the Conversation level evaluation section of the Eval Editor, or let Ask AI propose them. See Adding Criteria.
After the conversation is replayed, the judge receives the whole replayed conversation — every turn, numbered from 1, with the user message and the agent's answer — and the numbered list of criteria. It judges the conversation as a whole and gives each criterion one verdict:
| Verdict | Meaning |
| met | Clearly achieved. |
| partial | Only partly achieved, or achieved with an error. |
| missed | Not achieved, or contradicted. |
For each criterion the judge also writes a one-sentence note and cites the turns its verdict is based on (the evidence). The judge follows these rules:
Pass rule: the conversation level passes only when the case has at least one criterion and every criterion is met. A single partial or missed criterion fails it.
If the case has no criteria, the judge is not called and the conversation level fails with the note "No conversation criteria defined for this case. Add at least one criterion." If the judge's reply cannot be read, the conversation level fails with the note "judge reply is missing or not valid JSON".
The conversation judge uses the same LLM interface as the step-level judge, and is called once per run.

Next article: Running Evaluations and Reading Results
A test case is judged on one or both evaluation levels (see Choosing the Evaluation Levels):
A case passes when every level it uses passes and none of its run hooks failed. This article explains the two kinds of dimensions, how thresholds are evaluated, where the defaults come from, how the LLM judge scores answers, and how conversation criteria are judged.
AI Fusion provides four built-in quality dimensions. You can use any of them, remove them, or add your own.
Accuracy — is the information correct and complete compared with the expected answer? Inaccurate answers damage trust and can lead to wrong payments, missed deadlines or wrong decisions.
Example: "What's my checking account balance?"
| Response | Score | |
| High | "Your checking account (ending in 1234) has a balance of $1,234.56 as of today." | 5 |
| Low | "Your checking account has about $1,200." (wrong amount, no details) | 2 |
| Response | Score | |
| High | "Your checking account (ending in 1234) has a balance of $1,234.56 as of today." | 5 |
| Low | "We offer many types of accounts including checking, savings, and CDs..." | 1 |
Clarity — is the response easy to understand and well organized? A list of balances with one account per line scores higher than the same numbers run together in one long sentence.
Politeness — is the tone respectful, courteous and professional? This usually matters more for customer-facing agents than for agents used by internal staff.
| Response | Score | |
| High | "I'd be happy to help! Your checking account currently has $1,234.56. Is there anything else I can assist you with?" | 5 |
| Low | "Your balance is $1234.56. Next question." | 1 |
Add your own dimensions for what matters in your business, for example:
A custom dimension is defined by its name and a description for the evaluator — the text the judge reads to understand what to rate. Write the description as a precise rating instruction; the judge is only as consistent as the description is clear.
Performance dimensions catch regressions in cost and speed, which quality scores do not show. Both compare the new run with the baseline session the case was saved from. They belong to the step level: a case that is evaluated at conversation level only has no token or response-time checks.
| Dimension | Name in the suite file | What is compared |
| Token Consumption | Tokens |
Tokens used by the agent's LLM calls. |
| Response Time | ConversationTime |
Time the agent took to answer. |
Each is reported as a percent deviation from the baseline (positive means more tokens or slower than the baseline):
A threshold of 20 means "fail if the deviation is more than +20%", for both MAX and AVERAGE. When there is no baseline data to compare with, the deviation is reported as 0 and the check passes.
Note: Before AI Fusion 3.0.9, an AVERAGE threshold on a performance dimension was checked in the wrong direction (as a minimum). If you use AVERAGE for Token Consumption or Response Time, upgrade to 3.0.9 or later.
Accuracy, Minimum 4 — every answer must score at least 4.
Clarity, Average 4 — one answer can score 3 if another scores 5.
A dimension can have both a Minimum and an Average threshold.
The Default Threshold applies to every quality dimension that does not have its own threshold. With the default set to Minimum 4, every judged dimension must score at least 4 in every answer unless you customize it.

In the Eval Editor, open the Definition tab and expand the Step level evaluation section of the Properties panel (its toggle must be on). It shows:
Threshold directions are shown as Minimum, Average and Maximum. Quality thresholds are set on a 0–5 slider; performance thresholds on a 0–100% slider. A quality dimension whose Customize toggle is off is still rated, and is checked against the Default Threshold. Performance dimensions are always checked against their own thresholds: with Customize off they use the default thresholds, and turning Customize off again restores those defaults. From AI Fusion Studio 1.0.2, a customized performance dimension keeps its Customize toggle on after the suite is saved and reopened.
New test cases are seeded from a named set of defaults, stored in the evaluationDefaults MTable of the AI Fusion project. Each row has a name, a threshold JSON array, a dimension JSON map of quality dimensions, and a performanceDimension JSON map of performance dimensions. The default row, evalDefaults, contains:
| Setting | Default |
| Default Threshold | Minimum 4.0 |
| Quality dimensions | Accuracy, Relevance, Clarity, Politeness |
Token Consumption (Tokens) |
MAX 20% |
Response Time (ConversationTime) |
MAX 15% |
To use different defaults for an agent, add a row to evaluationDefaults and set the agent's settings.eval_defaults_name in agent.yaml to the row's name (see agent.yaml Reference). The defaults are applied when a case is created; changing them later does not change existing cases. The defaults contain no conversation criteria: every case starts with an empty criteria list. Studio reads the defaults from the defaults evaluation web service (GET /api/defaults).
For each answer, the judge receives the user's question, the expected answer, the agent's new answer, and the name and description of every quality dimension. It returns a score out of 5 and a short explanation for each dimension. Answers are rated in batches of three turns per judge call.
The judge follows these rules:
The judge uses the project's default LLM interface. See LLM Connectors.
At conversation level, a case is judged on criteria instead of expected answers. A criterion is one plain sentence that describes something a successful conversation must achieve, for example:
You add criteria in the Conversation level evaluation section of the Eval Editor, or let Ask AI propose them. See Adding Criteria.
After the conversation is replayed, the judge receives the whole replayed conversation — every turn, numbered from 1, with the user message and the agent's answer — and the numbered list of criteria. It judges the conversation as a whole and gives each criterion one verdict:
| Verdict | Meaning |
| met | Clearly achieved. |
| partial | Only partly achieved, or achieved with an error. |
| missed | Not achieved, or contradicted. |
For each criterion the judge also writes a one-sentence note and cites the turns its verdict is based on (the evidence). The judge follows these rules:
Pass rule: the conversation level passes only when the case has at least one criterion and every criterion is met. A single partial or missed criterion fails it.
If the case has no criteria, the judge is not called and the conversation level fails with the note "No conversation criteria defined for this case. Add at least one criterion." If the judge's reply cannot be read, the conversation level fails with the note "judge reply is missing or not valid JSON".
The conversation judge uses the same LLM interface as the step-level judge, and is called once per run.

Next article: Running Evaluations and Reading Results