Ancora.TagFindings (ancora v1.0.0)

Copy Markdown View Source

Repo-state findings from a tag scan. Tags are always on: there is no enforcement toggle.

Emits tags/parse_error, tags/dynamic_value, tags/unknown_requirement, and tags/requirement_untagged. tags/new_requirement_untagged is diff-scoped and is not produced here.

Summary

Functions

Builds tag findings from an index and a TagScanner.scan/2 result.

Functions

findings(index, tag_map, parse_errors \\ [], dynamics \\ [])

@spec findings(map(), %{required(String.t()) => [map()]}, [map()], [map()]) :: [
  Ancora.Finding.t()
]

Builds tag findings from an index and a TagScanner.scan/2 result.

tag_map keys are the literal ids discovered in tests (not folded). Unknown-requirement uses those keys against the corpus; untagged uses every requirement id.