Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / anchorGroundingFindingsOf

Function: anchorGroundingFindingsOf() ​

ts
function anchorGroundingFindingsOf(text, options): AnchorGroundingFinding[];

Defined in: packages/core/src/orchestrator/anchor-grounding.ts:465

The pure engine behind anchorGroundingValidator: every wrong line finding of text against the snapshot, in document order. The validator renders these as reasons; a harness reads them directly.

Parameters ​

ParameterType
textstring
optionsAnchorGroundingOptions

Returns ​

AnchorGroundingFinding[]