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, 1.0].

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 rubric levels from lowest (0.0) to highest (1.0).

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 rubric levels from lowest (0.0) to highest (1.0).

getTemperature

public final float getTemperature()

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