Update.
authorFrançois Fleuret <francois@fleuret.org>
Sun, 21 Jul 2024 06:17:11 +0000 (08:17 +0200)
committerFrançois Fleuret <francois@fleuret.org>
Sun, 21 Jul 2024 06:17:11 +0000 (08:17 +0200)
grids.py
quiz_machine.py

index 273f84e..0b789ef 100755 (executable)
--- a/grids.py
+++ b/grids.py
@@ -221,6 +221,8 @@ class Grids(problem.Problem):
             self.task_scale,
             self.task_symbols,
             self.task_isometry,
+            self.task_corners,
+            self.task_proximity,
             # self.task_islands, # TOO MESSY
         ]
 
index cbaa7cd..b965e33 100755 (executable)
@@ -338,7 +338,7 @@ class QuizMachine:
 
         test_result, test_correct = compute_accuracy(input, log_prefix="test")
 
-        n_test_p2a = model.test_w_quizzes[:2000, 0] == self.problem.token_forward
+        n_test_p2a = input[:, 0] == self.problem.token_forward
 
         p2a_test_correct = test_correct[n_test_p2a]