EvaluationOutput class

Evaluation output from profile evaluation.

Contains scoring results when evaluating content against a profile's criteria.

Example:

final evaluation = EvaluationOutput(
  score: 0.85,
  dimensions: {'accuracy': 0.9, 'completeness': 0.8},
  issues: ['Missing citation for claim X'],
  suggestions: ['Add source reference'],
);

Constructors

EvaluationOutput({required double score, required Map<String, double> dimensions, List<String> issues = const [], List<String> suggestions = const []})
const
EvaluationOutput.fromJson(Map<String, dynamic> json)
Create from JSON map.
factory

Properties

dimensions Map<String, double>
Dimension scores.
final
hashCode int
The hash code for this object.
no setterinherited
issues List<String>
Issues found.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
Overall score (0.0 - 1.0).
final
suggestions List<String>
Suggestions.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited