RubricScore Class

Definition

A single dimension's score from a rubric-based evaluator run.

public sealed class RubricScore : IEquatable<Microsoft.Agents.AI.RubricScore>
type RubricScore = class
    interface IEquatable<RubricScore>
Public NotInheritable Class RubricScore
Implements IEquatable(Of RubricScore)
Inheritance
RubricScore
Implements

Remarks

Rubric evaluators (such as the generated rubric evaluators produced by Azure AI Foundry's adaptive evals) emit one RubricScore per dimension per item, alongside an overall weighted score. Attach instances to Dimensions as a typed view of the per-dimension breakdown returned by the provider (e.g. properties.dimension_scores).

Non-rubric evaluators (built-in quality, safety, or agent-behavior evaluators) leave Dimensions as null.

Constructors

Name Description
RubricScore(String, Nullable<Int32>, Boolean, Int32, String)

A single dimension's score from a rubric-based evaluator run.

Properties

Name Description
Applicable

Whether the dimension applied to this item.

Id

Dimension identifier — matches the id defined on the rubric.

Reason

Short rationale produced by the evaluator.

Score

Numeric score for the dimension, or null when the dimension was marked non-applicable for this item. Foundry rubric evaluators emit integer scores on a 1–5 scale.

Weight

Dimension weight, mirroring the rubric definition.

Methods

Name Description
<Clone>$()
Deconstruct(String, Nullable<Int32>, Boolean, Int32, String)
Equals(Object)
Equals(RubricScore)
GetHashCode()
ToString()

Operators

Name Description
Equality(RubricScore, RubricScore)
Inequality(RubricScore, RubricScore)

Applies to