Skip to content

/AWS1/CL_BDKAUTOREASPLYFIDRPT

A comprehensive analysis report that measures how accurately a generated policy represents the source documents. The report includes coverage and accuracy scores, detailed grounding information linking policy elements to source statements, and annotated document content.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_coveragescore TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

A score from 0.0 to 1.0 indicating how well the policy covers the statements in the source documents. A higher score means more of the source content is represented in the policy.

iv_accuracyscore TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

A score from 0.0 to 1.0 indicating how accurate the policy rules are relative to the source documents. A higher score means the policy rules more faithfully represent the source material.

it_rulereports TYPE /AWS1/CL_BDKAUTOREASPLYRULERPT=>TT_AUTOMTDREASNGPLYRULERPTMAP TT_AUTOMTDREASNGPLYRULERPTMAP

A mapping from rule identifiers to detailed fidelity reports for each rule, showing which source statements ground each rule and how accurate it is.

it_variablereports TYPE /AWS1/CL_BDKAUTOREASPLYVARRPT=>TT_AUTOMTDREASNGPLYVARBLRPTMAP TT_AUTOMTDREASNGPLYVARBLRPTMAP

A mapping from variable names to detailed fidelity reports for each variable, showing which source statements ground each variable and how accurate it is.

it_documentsources TYPE /AWS1/CL_BDKAUTRSNPLYRPTSRCDOC=>TT_AUTOREASPLYREPORTSRCDOCLIST TT_AUTOREASPLYREPORTSRCDOCLIST

A list of source documents with their content broken down into atomic statements and annotated with line numbers for precise referencing.


Queryable Attributes

coverageScore

A score from 0.0 to 1.0 indicating how well the policy covers the statements in the source documents. A higher score means more of the source content is represented in the policy.

Accessible with the following methods

Method Description
GET_COVERAGESCORE() Getter for COVERAGESCORE, with configurable default
ASK_COVERAGESCORE() Getter for COVERAGESCORE w/ exceptions if field has no value
STR_COVERAGESCORE() String format for COVERAGESCORE, with configurable default
HAS_COVERAGESCORE() Determine if COVERAGESCORE has a value

accuracyScore

A score from 0.0 to 1.0 indicating how accurate the policy rules are relative to the source documents. A higher score means the policy rules more faithfully represent the source material.

Accessible with the following methods

Method Description
GET_ACCURACYSCORE() Getter for ACCURACYSCORE, with configurable default
ASK_ACCURACYSCORE() Getter for ACCURACYSCORE w/ exceptions if field has no value
STR_ACCURACYSCORE() String format for ACCURACYSCORE, with configurable default
HAS_ACCURACYSCORE() Determine if ACCURACYSCORE has a value

ruleReports

A mapping from rule identifiers to detailed fidelity reports for each rule, showing which source statements ground each rule and how accurate it is.

Accessible with the following methods

Method Description
GET_RULEREPORTS() Getter for RULEREPORTS, with configurable default
ASK_RULEREPORTS() Getter for RULEREPORTS w/ exceptions if field has no value
HAS_RULEREPORTS() Determine if RULEREPORTS has a value

variableReports

A mapping from variable names to detailed fidelity reports for each variable, showing which source statements ground each variable and how accurate it is.

Accessible with the following methods

Method Description
GET_VARIABLEREPORTS() Getter for VARIABLEREPORTS, with configurable default
ASK_VARIABLEREPORTS() Getter for VARIABLEREPORTS w/ exceptions if field has no val
HAS_VARIABLEREPORTS() Determine if VARIABLEREPORTS has a value

documentSources

A list of source documents with their content broken down into atomic statements and annotated with line numbers for precise referencing.

Accessible with the following methods

Method Description
GET_DOCUMENTSOURCES() Getter for DOCUMENTSOURCES, with configurable default
ASK_DOCUMENTSOURCES() Getter for DOCUMENTSOURCES w/ exceptions if field has no val
HAS_DOCUMENTSOURCES() Determine if DOCUMENTSOURCES has a value