Package com.tnsai.reasoning
Class VerificationResult
java.lang.Object
com.tnsai.reasoning.VerificationResult
Result of reasoning verification.
Contains validity status, confidence, identified issues, and suggestions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for VerificationResult. -
Method Summary
Modifier and TypeMethodDescriptionstatic VerificationResult.Builderbuilder()Creates a new builder for VerificationResult.doubleGets the confidence score (0.0 - 1.0).Gets the auto-corrected result, if available.List<com.tnsai.reasoning.ReasoningIssue> Gets the list of invalid/problematic steps.List<com.tnsai.reasoning.ReasoningIssue> Gets the list of identified issues.Gets the correction suggestions.Gets a summary of the verification.booleanReturns true if there are any errors.booleanReturns true if there are any warnings.static VerificationResultCreates an invalid result with errors.booleanisValid()Returns true if the reasoning is valid.toString()static VerificationResultvalid()Creates a valid result with high confidence.
-
Method Details
-
isValid
public boolean isValid()Returns true if the reasoning is valid. -
getConfidence
public double getConfidence()Gets the confidence score (0.0 - 1.0). -
getIssues
Gets the list of identified issues. -
getInvalidSteps
Gets the list of invalid/problematic steps. -
getSuggestions
Gets the correction suggestions. -
getCorrectedResult
Gets the auto-corrected result, if available. -
getSummary
Gets a summary of the verification. -
hasErrors
public boolean hasErrors()Returns true if there are any errors. -
hasWarnings
public boolean hasWarnings()Returns true if there are any warnings. -
valid
Creates a valid result with high confidence. -
invalid
Creates an invalid result with errors. -
builder
Creates a new builder for VerificationResult. -
toString
-