If it has meat in it I would toss it. If it is meatless I would eat it for up to a week.
I will even toss a container of sour cream or yogurt if it's been opened in the fridge longer than 5 days.
Yep, the meat part makes a difference. After 3 days, no meat leftovers.