ScoreQuestion

public final class ScoreQuestion implements DecisionQuestion


Evaluates an ordered rubric of levels and computes both the most likely rubric level and a continuous expected score in [0.0, K - 1] across the K rubric levels.

Summary

Public constructors

ScoreQuestion(
    @NonNull List<@NonNull String> rubric,
    float temperature,
    @NonNull String instructions
)

Public methods

final @NonNull String

Optional task instructions prepended to the rubric prompt.

final @NonNull List<@NonNull String>

Ordered list of K rubric levels from lowest (0) to highest (K - 1).

final float

Softmax temperature override (0f uses the model's calibrated default).

Public constructors

ScoreQuestion

public ScoreQuestion(
    @NonNull List<@NonNull String> rubric,
    float temperature,
    @NonNull String instructions
)

Public methods

getInstructions

public final @NonNull String getInstructions()

Optional task instructions prepended to the rubric prompt.

getRubric

public final @NonNull List<@NonNull String> getRubric()

Ordered list of K rubric levels from lowest (0) to highest (K - 1).

getTemperature

public final float getTemperature()

Softmax temperature override (0f uses the model's calibrated default).