Porpoise: An LLM-Based Sandbox for Novices to Practice Writing Purpose Statements
Software developers have long emphasized the need for clear textual descriptions of programs, through documentation and comments. Similarly, curricula often expect students to write purpose statements that articulate in prose what program components are expected to do. Unfortunately, it is difficult to motivate students to do this and to evaluate student work at scale.
We leverage the use of a large language model for this purpose. Specifically, we describe a tool, Porpoise, that presents students with problem descriptions, passes their textual descriptions to a large language model to generate code, evaluates the result against tests, and gives students feedback. Essentially, it gives students practice writing quality purpose statements, and simultaneously also getting familiar with zero-shot prompting in a controlled manner.
We present the tool’s design as well as the experience of deploying it at two universities. This includes asking students to reflect on trade-offs between programming and zero-shot prompting, and seeing what difference it makes to give students different formats of problem descriptions. We also examine affective and load aspects of using the tool. Our findings are somewhat positive but mixed.
Sat 18 OctDisplayed time zone: Perth change
10:30 - 12:15 | |||
10:30 30mFull-paper | Daisy: An Exercise Environment for Learning Information Modeling SPLASH-E Jessica Belicia Cahyono Institute of Science Tokyo, Youyou Cong Institute of Science Tokyo, Hidehiko Masuhara Institute of Science Tokyo | ||
11:00 30mFull-paper | Porpoise: An LLM-Based Sandbox for Novices to Practice Writing Purpose Statements SPLASH-E Shriram Krishnamurthi Brown University, Thore Thießen University of Münster, Jan Vahrenhold University of Münster | ||
11:30 20mShort-paper | Evolving How We Teach Memory Models SPLASH-E A: Pontakorn Prasertsuk , A: Jotham Wong National University of Singapore, Singapore, A: Grace Tan National University of Singapore, A: Cristina Carbunaru National University of Singapore, Singapore | ||
11:50 40mKeynote | How Computer Science Was Introduced at Yale-NUS College SPLASH-E Olivier Danvy National University of Singapore | ||