I actually blogged my answer to that exact question recently (shameless plug):
https://philbooth.me/blog/how-to-evaluate-dependencies