Versions in this module Expand all Collapse all v0 v0.0.1 Mar 28, 2026 Changes in this version + type Annotation struct + HumanLabel string + HumanReason string + HumanScore *float64 + type ConfusionMatrixResult struct + Labels []string + Matrix [][]int + type ConversationExecutor interface + Execute func(ctx context.Context, req models.ConversationEvaluationRequest) models.ConversationEvaluationResult + type ConversationInputRecord struct + Error error + HumanLabel string + HumanReason string + HumanScore *float64 + LineNumber int + Request models.ConversationEvaluationRequest + type ConversationProcessor struct + func NewConversationProcessor(exec ConversationExecutor, workers int, logger *zerolog.Logger) *ConversationProcessor + func (p *ConversationProcessor) Process(ctx context.Context, records []ConversationInputRecord) <-chan models.ConversationEvaluationResult + type ConversationReader struct + func NewConversationReader(file io.Reader, logger *zerolog.Logger) *ConversationReader + func (r *ConversationReader) ReadAll(ctx context.Context) <-chan ConversationInputRecord + type ConversationSummaryStats struct + CorrelationReport *CorrelationReport + Total int + VerdictCounts map[string]int + type ConversationSummaryWriter struct + func NewConversationSummaryWriter(output io.Writer, logger *zerolog.Logger) *ConversationSummaryWriter + func (w *ConversationSummaryWriter) Close() error + func (w *ConversationSummaryWriter) SetCorrelationReport(r *CorrelationReport) + func (w *ConversationSummaryWriter) Write(result models.ConversationEvaluationResult) error + type CorrelationReport struct + AnnotatedCount int + ConfusionMatrix *ConfusionMatrixResult + Disagreements []DisagreementEntry + KendallTau *float64 + WeightedKappa *float64 + func ComputeCorrelationReport(results []models.ConversationEvaluationResult, ...) CorrelationReport + type DisagreementEntry struct + ConversationID string + HumanLabel string + HumanScore *float64 + ThemisLabel string + ThemisScore float64