I have found the smell test to be quite reliable, and will eat anything that
does not smell bad.
Normally rice lasts ~48 hr from when cooked at room temperature for me.
I never refrigerate it because that makes it way too chewy.
However, I have found that most raw vegetables last last a week to 10 days
if each item is individually wrapped and stored in the lowest section of the
refrigerator. I do not know if that applies to cooked vegetables, which I never
keep for more than about two days.