When I am generating mock as well as defining order quantity depending on the weights.Then, i am passing weights into random.choices() and it somehow recognize which product has