SP
Thanks, this is useful. You’re right that read_pairs can return an arbitrary match when more than one pair fits the maths. I’m changing it to collect all candidates and only trust the best one when it clearly beats the next, otherwise flag it. Rows that fail the total check are already saved with a CHECK status, not dropped, so shipping or tax surprises stay visible. And agreed that the stability check can agree on a stale number. I’m adding a comparison against the previous day’s price per site, flagged but not discarded, since real promotions can move prices.