Rulvar API reference / @rulvar/core / AnchorGroundingFinding
Interface: AnchorGroundingFinding
Defined in: packages/core/src/orchestrator/anchor-grounding.ts:158
One wrong line finding of anchorGroundingFindingsOf.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
anchor | readonly | string | - | packages/core/src/orchestrator/anchor-grounding.ts:160 |
endLine? | readonly | number | - | packages/core/src/orchestrator/anchor-grounding.ts:163 |
line | readonly | number | - | packages/core/src/orchestrator/anchor-grounding.ts:162 |
path | readonly | string | - | packages/core/src/orchestrator/anchor-grounding.ts:161 |
scope | readonly | "sentence" | "clause" | 'clause' convicted the anchor against its own claim clause; 'sentence' convicted it as the sentence's only anchor whose FILE carries a token no cited window does. | packages/core/src/orchestrator/anchor-grounding.ts:169 |
sentence | readonly | string | - | packages/core/src/orchestrator/anchor-grounding.ts:159 |
suggestions | readonly | readonly AnchorGroundingSuggestion[] | Exact lines inside the cited file that DO carry a deciding token. | packages/core/src/orchestrator/anchor-grounding.ts:178 |
tokens | readonly | readonly string[] | The deciding tokens the resolved window never carries. | packages/core/src/orchestrator/anchor-grounding.ts:171 |
unit? | readonly | CitationExcerptUnit | The unit the window came from; absent for the structural json block. | packages/core/src/orchestrator/anchor-grounding.ts:176 |
windowFirstLine | readonly | number | The resolved window, 1 based and inclusive. | packages/core/src/orchestrator/anchor-grounding.ts:173 |
windowLastLine | readonly | number | - | packages/core/src/orchestrator/anchor-grounding.ts:174 |