Python (Spring 2026) Module 1-4: AI Policy and Use
Overview
Bill Moseley, Ph.D. argues that AI is a legitimate programming tool, but relying on it to produce assignment answers can bypass the practice students need to learn Python. He compares learning to walking a labyrinth rather than taking a shortcut through it, recommends checking understanding by asking students to explain their code instead of using unreliable AI detectors, and introduces a Canvas teaching assistant designed to guide students without writing code for them.
Key takeaways
- AI-generated assignment answers can undermine Python learning when students submit code they cannot explain.
- Moseley assesses understanding by asking students to walk through their code, rather than relying on AI detectors he considers unreliable and biased.
- The maze and labyrinth comparison distinguishes shortcut-seeking from deliberate practice: the course exercises are intended to build skill through the process.
- Vibe coding is more useful to people with programming expertise, who can evaluate generated code and troubleshoot when it fails.
- The course's Canvas AI teaching assistant is designed to coach students through their own code by asking questions, not by writing solutions for them.
Chapters
- Moseley accepts AI as a useful tool, but warns that submitting AI-generated answers without learning the material can leave students unable to code.
- If submitted Python code seems beyond an assignment's scope, Moseley asks the student to explain how it works rather than immediately accusing or failing them.
- Moseley rejects AI detection tools, citing false accusations and heightened bias against multilingual students and English language learners.
- A maze tests how quickly someone can find an exit; a labyrinth has a single winding path whose purpose is the focused experience of following it.
- Moseley describes a double-spiral labyrinth near Eureka, California, with a path about half a mile long, and connects its repetitive focus to meditation and swimming.
- He presents course exercises as a learning labyrinth: following the process, even when it feels tedious, builds coding ability better than skipping straight to answers.
- Moseley cautions that vibe coding can send beginners on troubleshooting detours because they may not understand the code AI produces.
- He compares coding without foundational knowledge to piloting a Boeing 747 without instruction: a novice might get it moving but may not be able to land it safely.
- Moseley says he will assign AI use in specific later exercises and offers a class-specific teaching assistant in Canvas for help with code and error messages.
- The Canvas assistant is configured to ask questions about a student's code and suggest changes instead of supplying completed answers; Moseley recommends Canvas on the web over its app.
Transcript excerpt
0:01 And that brings me to this, the elephant in the room. AI policy for this class. First of all, AI is a valid tool. It is very useful. Real programmers use AI all the time, including me. It's a really great shortcut, but there are risks and limitations to it. And I want you to think about what you want out of this class. Okay? I want you to think about what you want to learn, because while AI can provide you the answers to every single one of the problems in this class, you're going to leave this class not knowing anything. And in the end, I see my job as making sure that I think you understand the thing that I'm trying to teach you in each module. Okay?
0:59 So, while I'm not going to be the AI police, and absolutely definitely there have been students in this class who have cheated their way through using AI and not gotten caught. If I think that you posted something for an assignment that you don't understand, then I'm going to: I'm not going to give you an F and accuse you of anything. If I sus, if I think that you are posting code that you didn't write or you didn't understand or is way beyond the scope of an assignment, I'll say, "Hey, can you walk me through this? Can you tell me what's going on there?" And if you can explain how that code works,
1:49 then that will satisfy me that you understand what it is you're doing. And I'm not going to push it any further. I don't believe in the use of AI detection tools. First of all, they don't work. More often than not, they accuse people falsely of using AI when it isn't real.
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Bill Moseley, Ph.D. - Computer Science Educator.