Per OSHA, a confined space is defined as a space you cannot readily walk out of. A pit that requires a ladder for egress, by definition is a confined space. Walk in pits by themselves have a normal path of egress. Of course atmospheric/obstruction/equipment (walk in pit where the toe-guard impedes the path) conditions can come into play also.