From 79d3d750bc463684646e3fbe26ecd0d555a4ec5f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 30 Oct 2016 15:19:56 -0400 Subject: [PATCH] Add yet another TODO for failing tests. --- TODO | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/TODO b/TODO index ae41d67..84316c4 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,37 @@ 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 -- 2.44.2