Pure helper functions for the recipe import validation pipeline.
Covers ingredient and tag list manipulation (merging, deduplication, filtering,
replacement) as well as the higher-level orchestration functions that split
items into exact database matches and fuzzy-match queues requiring user review.
All functions are side-effect-free and return new arrays; none mutate their
inputs.
Pure helper functions for the recipe import validation pipeline.
Covers ingredient and tag list manipulation (merging, deduplication, filtering, replacement) as well as the higher-level orchestration functions that split items into exact database matches and fuzzy-match queues requiring user review.
All functions are side-effect-free and return new arrays; none mutate their inputs.