Package dev.dokimos.server.dto.v1
Record Class GateResult.EvaluatorDrop
java.lang.Object
java.lang.Record
dev.dokimos.server.dto.v1.GateResult.EvaluatorDrop
- Record Components:
evaluator- the evaluator namebaselineMean- baseline mean on this item, or null when absentcandidateMean- candidate mean on this item, or null when absentdelta- candidateMean minus baselineMean
- Enclosing class:
GateResult
public static record GateResult.EvaluatorDrop(String evaluator, Double baselineMean, Double candidateMean, double delta)
extends Record
A per-item evaluator score drop.
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluatorDrop(String evaluator, Double baselineMean, Double candidateMean, double delta) Creates an instance of aEvaluatorDroprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaselineMeanrecord component.Returns the value of thecandidateMeanrecord component.doubledelta()Returns the value of thedeltarecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevaluatorrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EvaluatorDrop
Creates an instance of aEvaluatorDroprecord class.- Parameters:
evaluator- the value for theevaluatorrecord componentbaselineMean- the value for thebaselineMeanrecord componentcandidateMean- the value for thecandidateMeanrecord componentdelta- the value for thedeltarecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
evaluator
Returns the value of theevaluatorrecord component.- Returns:
- the value of the
evaluatorrecord component
-
baselineMean
Returns the value of thebaselineMeanrecord component.- Returns:
- the value of the
baselineMeanrecord component
-
candidateMean
Returns the value of thecandidateMeanrecord component.- Returns:
- the value of the
candidateMeanrecord component
-
delta
public double delta()Returns the value of thedeltarecord component.- Returns:
- the value of the
deltarecord component
-