David Moore, Assistant Professor of Physics
In PHYS 678: Computing for Scientific Research, a graduate-level course in Physics, Moore and his colleagues encourage students to use ChatGPT when developing code to write simple functions, correct and debug syntax, and in general, to complete their exercises in class and in the homework. In less than a year, generative AI tools of this type have become important for more quickly developing code, including by working physicists. Hence, Yale Physics faculty want students to learn and take advantage of these tools at an early stage in their graduate careers. So far, in many cases, Moore and his colleagues have found this allows students to focus on the physics ideas, problem-solving, and algorithms covered in the course while reducing the development time for their code. While students are encouraged to make use of these tools, they must treat these resources similarly to discussions with classmates or other web resources — i.e., they can consult them freely but must understand and write up their code independently and cannot directly copy/paste code from any sources, including ChatGPT.
Jakub Szefer, Associate Professor of Electrical Engineering & Computer Science
Szefer and PhD student Sanjay Deshpande co-authored a short paper about the course EENG 201: Analyzing ChatGPT’s Aptitude in an Introductory Computer Engineering Course. They report that as a text-only tool, ChatGPT cannot handle questions with diagrams or figures, nor can it perform hands-on lab experiments. It does well on quizzes and short-answer questions but could confuse students when generating incorrect but still plausible, human-sounding answers.