Class OutputItemRetrieveResponse.Result
-
- All Implemented Interfaces:
public final class OutputItemRetrieveResponse.ResultA single grader result for an evaluation run output item.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOutputItemRetrieveResponse.Result.BuilderA builder for Result.
public final classOutputItemRetrieveResponse.Result.SampleOptional sample or intermediate data produced by the grader.
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the grader. final Booleanpassed()Whether the grader considered the output a pass. final Doublescore()The numeric score produced by the grader. final Optional<OutputItemRetrieveResponse.Result.Sample>sample()Optional sample or intermediate data produced by the grader. final Optional<String>type()The grader type (for example, "string-check-grader"). final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Boolean>_passed()Returns the raw JSON value of passed. final JsonField<Double>_score()Returns the raw JSON value of score. final JsonField<OutputItemRetrieveResponse.Result.Sample>_sample()Returns the raw JSON value of sample. final JsonField<String>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final OutputItemRetrieveResponse.Result.BuildertoBuilder()final OutputItemRetrieveResponse.Resultvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OutputItemRetrieveResponse.Result.Builderbuilder()Returns a mutable builder for constructing an instance of Result. -
-
Method Detail
-
sample
final Optional<OutputItemRetrieveResponse.Result.Sample> sample()
Optional sample or intermediate data produced by the grader.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_passed
final JsonField<Boolean> _passed()
Returns the raw JSON value of passed.
Unlike passed, this method doesn't throw if the JSON field has an unexpected type.
-
_score
final JsonField<Double> _score()
Returns the raw JSON value of score.
Unlike score, this method doesn't throw if the JSON field has an unexpected type.
-
_sample
final JsonField<OutputItemRetrieveResponse.Result.Sample> _sample()
Returns the raw JSON value of sample.
Unlike sample, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OutputItemRetrieveResponse.Result.Builder toBuilder()
-
validate
final OutputItemRetrieveResponse.Result validate()
-
builder
final static OutputItemRetrieveResponse.Result.Builder builder()
Returns a mutable builder for constructing an instance of Result.
The following fields are required:
.name() .passed() .score()
-
-
-
-