X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=TODO;h=095818a9623983e2fb36ca2a6582eaad4e0703bb;hb=80a45eb7673f79a55ee638fb921b8f501ae381c7;hp=ae41d67ffcb3519f45741c157660aec9bbd6bccc;hpb=6f90e0a65e6775b153e6abd320232421dd90ba6f;p=dunshire.git diff --git a/TODO b/TODO index ae41d67..095818a 100644 --- a/TODO +++ b/TODO @@ -78,6 +78,7 @@ [0.0191076] [0.0000000] + 6. Fix the math domain errors that sometimes pop up: ERROR: test_scaling_icecream (test.symmetric_linear_game_test @@ -101,3 +102,67 @@ File "/usr/lib64/python3.4/site-packages/cvxopt/misc.py", line 856, in jnrm2 return math.sqrt(x[offset] - a) * math.sqrt(x[offset] + a) ValueError: math domain error + + +7. Figure out why this happens, too: + + FAIL: test_scaling_icecream (test.symmetric_linear_game_test + .SymmetricLinearGameTest) + ---------------------------------------------------------------------- + Traceback (most recent call last): + File "/home/mjo/src/dunshire/test/symmetric_linear_game_test.py", + line 336, in test_scaling_icecream + self.assert_scaling_works(L, K, e1, e2) + File "/home/mjo/src/dunshire/test/symmetric_linear_game_test.py", + line 318, in assert_scaling_works + self.assert_within_tol(alpha*value1, value2) + File "/home/mjo/src/dunshire/test/symmetric_linear_game_test.py", + line 254, in assert_within_tol + self.assertTrue(abs(first - second) < options.ABS_TOL) + AssertionError: False is not true + + + FAIL: test_translation_orthant (test.symmetric_linear_game_test + SymmetricLinearGameTest) + ---------------------------------------------------------------------- + Traceback (most recent call last): + File "/home/mjo/src/dunshire/test/symmetric_linear_game_test.py", + line 374, in test_translation_orthant + self.assert_translation_works(L, K, e1, e2) + File "/home/mjo/src/dunshire/test/symmetric_linear_game_test.py", + line 366, in assert_translation_works + self.assert_within_tol(value2, inner_product(M*x_bar, y_bar)) + File "/home/mjo/src/dunshire/test/symmetric_linear_game_test.py", + line 254, in assert_within_tol + self.assertTrue(abs(first - second) < options.ABS_TOL) + AssertionError: False is not true + + +8. Fix floating point comparisons in the doctest output. + +9. Use shebang in the standalone test executable. + +10. Sometimes our Lyapunov-like tests over the ice cream cone are + failing badly. For example, + + FAIL: test_lyapunov_icecream (test.symmetric_linear_game_test + .SymmetricLinearGameTest) + ---------------------------------------------------------------------- + Traceback (most recent call last): + File "/home/mjo/src/dunshire/test/symmetric_linear_game_test.py", + line 620, in test_lyapunov_icecream + self.assert_lyapunov_works(G) + File "/home/mjo/src/dunshire/test/symmetric_linear_game_test.py", + line 578, in assert_lyapunov_works + self.assertTrue(negative_stable) + AssertionError: False is not true + + + We should have a matrix L that is negative stable, but its eigenvalues + are actually, + + [0.8991268260361707, + 0.8991268260361707, + -1.4648148562918966, + 3.2630685083642352, + 0.8991268260361712]