Package xyz.tcheeric.jev
Interface Answer
- All Known Implementing Classes:
Answer.Choice,Answer.Noul,Answer.Score
An answer from the evaluator, typed to match the question that produced it.
Answer.Noul carries a probability and no confidence, and that omission is the point
(ADR 0003, story 107). A boolean judgement's probability already expresses how sure the
evaluator is; a second number beside it invites a caller to gate on the wrong one. Because
the field does not exist, code that tries to read confidence off a noul answer fails to
compile rather than failing in production. The published API agrees: its noul answer has no
confidence either.
Answer.Choice and Answer.Score keep the whole probability distribution rather than the
winner alone. Where to cut the distribution is the consumer's decision and never the
library's (ADR 0002), so the library hands back everything it was told and applies no
threshold of its own.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final recordA rating against the question's ordered levels. -
Method Summary
-
Method Details
-
name
String name()
-