My question is whether areas like corridors, bathrooms, etc should be included or merely spaces like offices, classrooms, etc where people spend time rather than just passing through.

The guidance says that "any area exclusion must be based solely on the basis of the task performed in the space and not the length of time an occupant will spend there." Daylight might be nice in a bathroom, but do I count that in my regularly occupied space?