A demand curve is an accurate tool for predicting the decisions of consumers as long as : There are no changes other than price that could affect consumers.
Predicting consumers decision with demand curve basically only considering the price and the quantity bought. But often times, other factors such as mood or peer pressure also plays into hand
hope this helps