← Latest papers
💻 computer science

Self-Regulated Personal Contracts as a Harm Reduction Approach to Generative AI in Undergraduate Programming Education

This study evaluates a non-binding, self-regulated GenAI contract in an undergraduate programming course, finding that while it successfully fostered self-awareness and accountability for many students, the cognitive burden of sustaining intentional guidelines often led to abandonment under academic pressure, highlighting the challenges of aligning student agency with the ease of unrestricted AI use.

Original authors: Aadarsh Padiyath, Jessica Shen, Barbara Ericson

Published 2026-07-08
📖 5 min read🧠 Deep dive

Original authors: Aadarsh Padiyath, Jessica Shen, Barbara Ericson

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are learning to cook. You have a new, incredibly powerful kitchen assistant (Generative AI) that can chop vegetables, mix sauces, and even plate the dish in seconds. The problem is, if you let the assistant do everything, you never actually learn how to cook. But if you ban the assistant entirely, you might burn out trying to chop onions for three hours when you're already tired.

This is the dilemma facing students learning to program today. They have access to AI tools that can write code instantly, but they struggle to decide when to use them and when to do the work themselves.

This paper describes an experiment where researchers tried to solve this not by banning the AI, but by giving students a "Personal Contract." Think of this not as a legal document signed in blood, but more like a fitness plan or a dietary pact you make with yourself.

Here is how the experiment worked, broken down simply:

The Setup: A "No-Judgment" Zone

The researchers took 217 students in an intermediate Python programming class. Instead of saying "No AI allowed" or "Use AI however you want," they asked the students to write their own rules.

The contract had four main steps over the course of a semester:

  1. The Goal: "What do I actually want to get out of this class?" (e.g., "I want to understand how loops work," not just "I want an A").
  2. The Plan: "Here is my personal rule for using AI." (e.g., "I will only ask AI to explain an error message if I've been stuck for 30 minutes," or "I will never let AI write the whole function for me.")
  3. The Check-in: Halfway through the term, students looked back. "Did I follow my rules? Did my rules help me learn?"
  4. The Final Review: At the end, they reflected on what they learned about themselves.

Crucially, this contract was not enforced. No one was punished for breaking their own rules. The only requirement was to fill out the paper. It was designed to be a mirror, not a police officer.

What Worked: The "New Driver" Effect

The results showed that this approach worked very well for students who were new to managing AI.

  • The Analogy: Imagine a new driver who has never driven before. They don't know the rules of the road yet. If you give them a map and a checklist of "When to stop, when to go," they become much safer drivers.
  • The Result: About 58% of the students said the contract changed how they thought. They realized they were using AI mindlessly (like a crutch) and started using it intentionally (like a tool). They created specific "If-Then" rules, like: "If I'm stuck for 20 minutes, THEN I can ask AI for a hint, but not the answer."
  • Why it worked: For these students, the contract acted as a scaffold (like training wheels). It helped them turn vague feelings into concrete plans.

What Didn't Work: The "Willpower Trap"

However, the contract had a major flaw. It relied entirely on the students' memory and willpower.

  • The Analogy: Imagine you write a diet plan on a piece of paper on Monday. By Wednesday, you are hungry, tired, and stressed. You forget the paper exists. You eat the cookie. The paper didn't stop you because it wasn't in the way of the cookie.
  • The Result:
    • Forgetting: Many students admitted they forgot about the contract between check-ins. It was just a file on a computer they didn't look at.
    • The Pressure Cooker: When deadlines loomed and students were exhausted, 11% of them admitted they abandoned their own rules. The AI offered a "fast lane" to finish the homework, and the "slow lane" of learning felt too hard. Even though they knew they shouldn't use the AI, the pressure was too strong.
    • The "Already Good" Students: About 25% of students already had their own strict rules. For them, the contract was just a formality. They didn't need the training wheels; they were already riding the bike.

The Big Takeaway

The paper concludes that awareness alone isn't enough.

Knowing you should eat vegetables doesn't stop you from eating cake when you're stressed. Similarly, knowing you should learn to code doesn't stop you from using AI when you're tired and behind on homework.

The "Personal Contract" was a great tool for helping students start thinking about their choices. But it couldn't force them to stick to those choices when life got hard. The researchers suggest that for this to work long-term, we might need to change the environment (like putting the cookies in a locked box) rather than just relying on the student's willpower.

In short: The contract helped students realize they had a choice, but it couldn't always help them make the hard choice when the clock was ticking.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →