Singing Result
data class SingingResult(val overallScore: Float, val segmentResults: Map<Int, List<SegmentResult>>, val aggregation: ResultAggregation = ResultAggregation.LATEST)
Complete result of a singing evaluation session.
Constructors
Link copied to clipboard
constructor(overallScore: Float, segmentResults: Map<Int, List<SegmentResult>>, aggregation: ResultAggregation = ResultAggregation.LATEST)
Properties
Link copied to clipboard
How the overall score was calculated
Link copied to clipboard
True if all segments pass (score >= 0.5)
Link copied to clipboard
Aggregate score across all segments (0.0 - 1.0)
Link copied to clipboard
Overall score as a percentage (0-100)
Link copied to clipboard
Number of segments evaluated
Link copied to clipboard
Map of segment index to list of attempts (for retry history)
Link copied to clipboard
Number of total attempts across all segments
Functions
Link copied to clipboard
Get the average score for each segment.
Link copied to clipboard
Get the best score for each segment.
Link copied to clipboard
Get feedback messages for all segments.
Link copied to clipboard
Get the latest result for each segment.
Link copied to clipboard
Get the latest score for each segment.