def get_transition_features(self, sequence, pos, y, y_prev):
        assert(pos >= 0 and len(sequence.x) < pos), pdb.set_trace()

        if(y not in self.edge_feature_cache):
            self.edge_feature_cache[y] = {}
        if(y_prev not in self.edge_feature_cache[y]): 
            edge_idx = []
            edge_idx = self.add_transition_features(sequence, pos, y, y_prev, edge_idx)            
            self.edge_feature_cache[y][y_prev] = edge_idx
        return self.edge_feature_cache[y][y_prev]
dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/sequences/id_feature.py/IDFeatures.get_transition_features/swapped operands of `<`