Start with batch evaluation. It is simpler to reason about because it does not depend on edge arrival order. If batch evaluation returns matches, your pattern and data are correct. If incremental ...