check50
ai50/projects/2024/x/minesweeper
:) minesweeper.py exists
Log
checking that minesweeper.py exists...
:) minesweeper.py imports
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:) Sentence.known_mines returns mines when conclusions possible
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:) Sentence.known_mines returns no mines when no conclusion possible
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:) Sentence.known_safes returns mines when conclusion possible
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:) Sentence.known_safes returns no mines when no conclusion possible
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:) Sentence.mark_mine marks mine when cell in sentence
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:) Sentence.mark_mine does not mark mine when cell not in sentence
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:) Sentence.mark_safe marks safe when cell in sentence
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:) Sentence.mark_safe does not mark safe when cell not in sentence
Log
checking that minesweeper.py exists...
importing minesweeper.py...
:| MinesweeperAI.add_knowledge marks cell as a move made
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 141, in test_addknowledge0
ai.add_knowledge((0, 0), 2)
File "/tmp/tmp8ds0kogu/test_addknowledge0/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge marks cell as safe
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 154, in test_addknowledge1
ai.add_knowledge((3, 0), 2)
File "/tmp/tmp8ds0kogu/test_addknowledge1/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge adds sentence in middle of board
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 167, in test_addknowledge2
ai.add_knowledge((1, 1), 2)
File "/tmp/tmp8ds0kogu/test_addknowledge2/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge adds sentence in corner of board
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 179, in test_addknowledge3
ai.add_knowledge((3, 4), 1)
File "/tmp/tmp8ds0kogu/test_addknowledge3/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge ignores known mines when adding new sentence
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 191, in test_addknowledge4
ai.add_knowledge((0, 0), 3)
File "/tmp/tmp8ds0kogu/test_addknowledge4/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge ignores known safes when adding new sentence
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 205, in test_addknowledge5
ai.add_knowledge((0, 0), 0)
File "/tmp/tmp8ds0kogu/test_addknowledge5/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge infers additional safe cells
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 219, in test_addknowledge6
ai.add_knowledge((0, 0), 0)
File "/tmp/tmp8ds0kogu/test_addknowledge6/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge can infer mine when given new information
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 232, in test_addknowledge7
ai.add_knowledge((2, 4), 1)
File "/tmp/tmp8ds0kogu/test_addknowledge7/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge can infer multiple mines when given new information
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 248, in test_addknowledge8
ai.add_knowledge((2, 0), 2)
File "/tmp/tmp8ds0kogu/test_addknowledge8/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge can infer safe cells when given new information
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 262, in test_addknowledge9
ai.add_knowledge((0, 1), 1)
File "/tmp/tmp8ds0kogu/test_addknowledge9/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.add_knowledge combines multiple sentences to draw conclusions
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 280, in test_addknowledge10
ai.add_knowledge((3, 0), 2)
File "/tmp/tmp8ds0kogu/test_addknowledge10/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.make_safe_move makes safe move when possible
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 295, in test_safemove0
ai.add_knowledge((0, 2), 0)
File "/tmp/tmp8ds0kogu/test_safemove0/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.make_safe_move avoids cells already chosen
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 308, in test_safemove1
ai.add_knowledge((0, 0), 1)
File "/tmp/tmp8ds0kogu/test_safemove1/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.make_safe_move returns None when no safe moves available
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 320, in test_safemove2
ai.add_knowledge((0, 0), 1)
File "/tmp/tmp8ds0kogu/test_safemove2/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError
:| MinesweeperAI.make_random_move avoids cells that are already chosen or mines
Cause
check50 ran into an error while running checks!
Log
checking that minesweeper.py exists...
importing minesweeper.py...
Error
NotImplementedError:
File "/usr/local/lib/python3.12/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File "/home/ubuntu/.local/share/check50/ai50/projects/minesweeper/__init__.py", line 332, in test_randommove0
ai.add_knowledge((0, 0), 3)
File "/tmp/tmp8ds0kogu/test_randommove0/minesweeper.py", line 280, in add_knowledge
raise NotImplementedError