Is there a benefit to defining calc_attrs vs using attrs['calculatedAttributes']['suggested_quantity'] directly?
Would it be better to define it outside of the loop?