• Test case that doesn't work

Question related to mission Minesweeper

 

It seems that most methods that people came up with do not satisfy the following test case:

field = [[0, 1, -1, 1, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 2, -1, 2, 0, 0, 0, 0, 0, 0],
         [0, 1, -1, 1, 0, 0, 0, 0, 0, 0]]

This minesweeper grid has a unique solution. Any thoughts?