Values.AutomatedReasoningPolicyRuleReportSourceProvides detailed fidelity analysis for a specific policy rule, including which source document statements support it and how accurate the rule is.
type nonrec t = {rule : AutomatedReasoningPolicyDefinitionRuleId.t option;The identifier of the policy rule being analyzed in this report.
*)groundingStatements : AutomatedReasoningPolicyStatementReferenceList.t option;References to statements from the source documents that provide the basis or justification for this rule.
*)groundingJustifications : AutomatedReasoningPolicyJustificationList.t option;Explanations describing how the source statements support and justify this specific rule.
*)accuracyScore : AutomatedReasoningPolicyAccuracyScore.t option;A score from 0.0 to 1.0 indicating how accurately this rule represents the source material.
*)accuracyJustification : AutomatedReasoningPolicyJustificationText.t option;A textual explanation of the accuracy score, describing why the rule received this particular accuracy rating.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Double of AutomatedReasoningPolicyAccuracyScore.t
| `List of
[> `String of AutomatedReasoningPolicyJustificationText.t
| `Structure of
(string * [> `String of AutomatedReasoningPolicyDocumentId.t ])
list ]
list
| `String of AutomatedReasoningPolicyDefinitionRuleId.t ])
list ]