Plan
This lab opens in week 10. The full step-by-step page, the starter repository and the tests are published before that Monday; the plan below is final.
- tictactoe.py: a
minimax(board, player)that returns the best move; a game loop against the computer. - assistant.py: send a system prompt plus a user question to an LLM API (a key is provided for the lab) and print the answer.
- eval.md: ten questions about week 6 (memory) asked to your assistant; mark each answer correct, partly correct or hallucinated.
- Explore notebook: a decision tree learned from a tiny dataset, and a look at tokens.
How it works
Same loop as every lab: accept on Classroom 50, open in Codespaces, solve the TODOs, python3 check.py until green, git push. See how labs work and the setup guide.