1 of 22 in sage.databases.oeis.OEISSequence.natural_object
5 webbrowser tests not run
0 tests not run because we ran out of time
[266 tests, 1 failure, 56.93 s]
sage -t --long src/sage/databases/findstat.py
**********************************************************************
File "src/sage/databases/findstat.py", line 805, in sage.databases.findstat.FindStatStatistic.__init__
Failed example:
FindStatStatistic(1)._find_by_id() # optional -- internet
Expected:
St000001: The number of ways to write a permutation as a minimal length product of simple transpositions.
Got:
St000001: The number of reduced words for a permutation.
**********************************************************************
File "src/sage/databases/findstat.py", line 1416, in sage.databases.findstat.FindStatStatistic.generating_functions
Failed example:
st.generating_functions() # optional -- internet
Expected:
{2: q + 1,
3: q^3 + 2*q^2 + 2*q + 1,
4: q^6 + 3*q^5 + 5*q^4 + 6*q^3 + 5*q^2 + 3*q + 1,
5: q^10 + 4*q^9 + 9*q^8 + 15*q^7 + 20*q^6 + 22*q^5 + 20*q^4 + 15*q^3 + 9*q^2 + 4*q + 1,
6: q^15 + 5*q^14 + 14*q^13 + 29*q^12 + 49*q^11 + 71*q^10 + 90*q^9 + 101*q^8 + 101*q^7 + 90*q^6 + 71*q^5 + 49*q^4 + 29*q^3 + 14*q^2 + 5*q + 1}
Got:
{1: 1,
2: q + 1,
3: q^3 + 2*q^2 + 2*q + 1,
4: q^6 + 3*q^5 + 5*q^4 + 6*q^3 + 5*q^2 + 3*q + 1,
5: q^10 + 4*q^9 + 9*q^8 + 15*q^7 + 20*q^6 + 22*q^5 + 20*q^4 + 15*q^3 + 9*q^2 + 4*q + 1,
6: q^15 + 5*q^14 + 14*q^13 + 29*q^12 + 49*q^11 + 71*q^10 + 90*q^9 + 101*q^8 + 101*q^7 + 90*q^6 + 71*q^5 + 49*q^4 + 29*q^3 + 14*q^2 + 5*q + 1}
**********************************************************************
File "src/sage/databases/findstat.py", line 1423, in sage.databases.findstat.FindStatStatistic.generating_functions
Failed example:
st.generating_functions(style="dictionary") # optional -- internet
Expected:
{2: {0: 1, 1: 1},
3: {0: 1, 1: 2, 2: 2, 3: 1},
4: {0: 1, 1: 3, 2: 5, 3: 6, 4: 5, 5: 3, 6: 1},
5: {0: 1, 1: 4, 2: 9, 3: 15, 4: 20, 5: 22, 6: 20, 7: 15, 8: 9, 9: 4, 10: 1},
6: {0: 1,
1: 5,
2: 14,
3: 29,
4: 49,
5: 71,
6: 90,
7: 101,
8: 101,
9: 90,
10: 71,
11: 49,
12: 29,
13: 14,
14: 5,
15: 1}}
Got:
{1: {0: 1},
2: {0: 1, 1: 1},
3: {0: 1, 1: 2, 2: 2, 3: 1},
4: {0: 1, 1: 3, 2: 5, 3: 6, 4: 5, 5: 3, 6: 1},
5: {0: 1, 1: 4, 2: 9, 3: 15, 4: 20, 5: 22, 6: 20, 7: 15, 8: 9, 9: 4, 10: 1},
6: {0: 1,
1: 5,
2: 14,
3: 29,
4: 49,
5: 71,
6: 90,
7: 101,
8: 101,
9: 90,
10: 71,
11: 49,
12: 29,
13: 14,
14: 5,
15: 1}}
**********************************************************************
File "src/sage/databases/findstat.py", line 1445, in sage.databases.findstat.FindStatStatistic.generating_functions
Failed example:
st.generating_functions(style="list") # optional -- internet
Expected:
{2: [1, 1],
3: [1, 2, 2, 1],
4: [1, 3, 5, 6, 5, 3, 1],
5: [1, 4, 9, 15, 20, 22, 20, 15, 9, 4, 1],
6: [1, 5, 14, 29, 49, 71, 90, 101, 101, 90, 71, 49, 29, 14, 5, 1]}
Got:
{1: [1],
2: [1, 1],
3: [1, 2, 2, 1],
4: [1, 3, 5, 6, 5, 3, 1],
5: [1, 4, 9, 15, 20, 22, 20, 15, 9, 4, 1],
6: [1, 5, 14, 29, 49, 71, 90, 101, 101, 90, 71, 49, 29, 14, 5, 1]}
**********************************************************************
File "src/sage/databases/findstat.py", line 1492, in sage.databases.findstat.FindStatStatistic.oeis_search
Failed example:
st.oeis_search() # optional -- internet
Expected:
Searching the OEIS for "1,1 1,2,2,1 1,3,5,6,5,3,1 1,4,9,15,20,22,20,15,9,4,1 1,5,14,29,49,71,90,101"
0: A008302: Triangle of Mahonian numbers T(n,k)...
Got:
Searching the OEIS for "1 1,1 1,2,2,1 1,3,5,6,5,3,1 1,4,9,15,20,22,20,15,9,4,1 1,5,14,29,49,71,90"
0: A008302: Triangle of Mahonian numbers T(n,k): coefficients in expansion of Product_{i=0..n-1} (1 + x + ... + x^i), where k ranges from 0 to A000217(n-1). Also enumerates permutations by their major index.
1: A274887: Triangle read by rows: coefficients of the q-factorial.
**********************************************************************
File "src/sage/databases/findstat.py", line 1496, in sage.databases.findstat.FindStatStatistic.oeis_search
Failed example:
st.oeis_search(search_size=13) # optional -- internet
Expected:
Searching the OEIS for "1,1 1,2,2,1 1,3,5,6,5,3,1"
0: A008302: Triangle of Mahonian numbers T(n,k)...
1: A115570: Array read by rows: row n (n>= 1) gives the Betti numbers...
2: A187447: Array for all multiset choices...
Got:
Searching the OEIS for "1 1,1 1,2,2,1 1,3,5,6,5,3"
0: A008302: Triangle of Mahonian numbers T(n,k): coefficients in expansion of Product_{i=0..n-1} (1 + x + ... + x^i), where k ranges from 0 to A000217(n-1). Also enumerates permutations by their major index.
1: A274887: Triangle read by rows: coefficients of the q-factorial.
**********************************************************************
File "src/sage/databases/findstat.py", line 1541, in sage.databases.findstat.FindStatStatistic.description
Failed example:
print(findstat(1).description()) # optional -- internet
Expected:
The number of ways to write a permutation as a minimal length product of simple transpositions.
<BLANKLINE>
That is, the number of reduced words for the permutation. E.g., there are two reduced words for $[3,2,1] = (1,2)(2,3)(1,2) = (2,3)(1,2)(2,3)$.
Got:
The number of reduced words for a permutation.
This is the number of ways to write a permutation as a minimal length product of simple transpositions. E.g., there are two reduced words for the permutation $[3,2,1]$, which are $(1,2)(2,3)(1,2) = (2,3)(1,2)(2,3)$.
**********************************************************************
File "src/sage/databases/findstat.py", line 1595, in
sage.databases.findstat.FindStatStatistic.nameFailed example:
findstat(1).name() # optional -- internet
Expected:
'The number of ways to write a permutation as a minimal length product of simple transpositions.'
Got:
'The number of reduced words for a permutation.'
**********************************************************************
5 items had failures:
1 of 3 in sage.databases.findstat.FindStatStatistic.__init__
1 of 2 in sage.databases.findstat.FindStatStatistic.description
3 of 5 in sage.databases.findstat.FindStatStatistic.generating_functions
1 of 2 in
sage.databases.findstat.FindStatStatistic.name 2 of 4 in sage.databases.findstat.FindStatStatistic.oeis_search
7 webbrowser tests not run
0 tests not run because we ran out of time
[249 tests, 8 failures, 36.88 s]