Given a sequence s = (s 1 , s 2 , . . .) of positive integers, the inversion sequences with respect to s, or s-inversion sequences, were introduced by Savage and Schuster in their study of lecture hall polytopes. A sequence (e 1 , e 2 , . . . , e n ) of nonnegative integers is called an s-inversion sequence of length n if 0 ≤ e i < s i for 1 ≤ i ≤ n. Let I(n) be the set of s-inversion sequences of length n for s = (1, 4, 3, 8, 5, 12, . . .), that is, s 2i = 4i and s 2i−1 = 2i − 1 for i ≥ 1, and let P n be the set of signed permutations on {1 2 , 2 2 , . . . , n 2 }. Savage and Visontai conjectured that when n = 2k, the ascent number over I n is equidistributed with the descent number over P k . For a positive integer n, we use type B P -partitions to give a characterization of signed permutations over which the descent number is equidistributed with the ascent number over I n . When n is even, this confirms the conjecture of Savage and Visontai. Moreover, let I ′ n be the set of s-inversion sequences of length n for s = (2, 2, 6, 4, 10, 6, . . .), that is, s 2i = 2i and s 2i−1 = 4i − 2 for i ≥ 1. We find a set of signed permutations over which the descent number is equidistributed with the ascent number over I ′ n .