ExactMatchGrader class

Grader that checks whether the actual output contains or matches an exact substring.

Inheritance

Constructors

ExactMatchGrader({bool caseSensitive = false, bool substringMatch = true})
const

Properties

caseSensitive → bool
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
substringMatch → bool
final

Methods

grade({required EvalTask task, required String actualOutput, required List<ChatMessage> trajectory}) → Future<EvalGradingResult>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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