Expand description
Central answer normalization and typed projections.
Structs§
- Answer
- A normalized answer. Undecided answers retain evidence and call metadata.
- Call
- Metadata actually reported by one provider call.
Enums§
- Answer
Value - A heterogeneous decided value.
Traits§
- Answer
Type - Conversion supported by a typed answer.
Functions§
- complement
- Python-compatible
round(1 - p, 10)for a finite probability in [0, 1]. Invalid inputs return an argument error rather than entering normalization. - make_
answer - Validate a provider candidate and centrally apply ties and confidence thresholds.
- token_
count - Return a nonnegative JSON integer token count, rejecting booleans and floats.
Type Aliases§
- Probabilities
- Ordered outcome probabilities.