AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective
This study analyzes AI-assisted help-seeking trajectories in introductory programming courses using an SRL-informed framework, revealing that while students predominantly use AI for reactive troubleshooting rather than self-regulated problem-solving, these interaction patterns significantly influence the number of code submissions required despite not directly affecting task scores.
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 a complex new dish. You have a recipe, but you keep burning the garlic, adding too much salt, or forgetting a step. In the past, you might have had to wait for a chef to walk by and help you, or you might have felt too embarrassed to ask.
Now, imagine you have a super-fast, super-knowledgeable sous-chef (Generative AI) sitting right next to you. You can whisper a question, and they instantly tell you how to fix the burnt garlic or how to chop the onions.
This paper is a study of how 71 university students used this "AI sous-chef" while learning to cook (program) in Python. The researchers weren't just counting how many times students asked for help; they wanted to see the story of how the help-seeking happened. Did the students plan ahead? Did they get stuck in a loop of fixing small mistakes? Or did they just ask for the whole recipe and copy it?
Here is the breakdown of their findings using simple analogies:
1. The Main Discovery: The "Firefighter" vs. The "Architect"
The researchers found that most students treated the AI like a firefighter rather than an architect.
- The Firefighter (Reactive): Students mostly used the AI after something went wrong. They wrote code, it broke, and they asked, "Why is this red error message here?" or "Fix this line."
- The Architect (Proactive): Very few students used the AI to plan before they started. They rarely asked, "What's the best way to structure this?" or "Can you explain this concept so I understand it better?"
- The Metaphor: It's like most students waited until the house was on fire to call the AI, rather than calling the AI to help them design a fire-proof house in the first place.
2. The Five "Help-Seeking Habits" (Trajectories)
The researchers grouped the students' interactions into five distinct patterns, like different ways people navigate a maze:
The "One-Shot" (The Quick Fix): The student asks one question, gets an answer, and moves on.
- Analogy: You ask, "How do I tie a shoe?" The AI shows you, and you tie it. Done.
- Finding: This was the most common habit (over half the time). Interestingly, sometimes this was just a quick fix, but sometimes it was a smart student asking, "Is there a better way to tie this shoe?" (which is a good thing!).
The "Debugging Persistence" (The Stuck Loop): The student gets stuck on a small error and keeps asking the AI to fix it over and over again without changing their approach.
- Analogy: You are trying to open a jar. You ask the AI, "How do I open this?" The AI says, "Turn the lid." You try, it fails. You ask again, "It still won't open!" The AI says, "Turn it harder." You try again. You do this 10 times.
- Finding: These students were the most "expensive" in terms of effort. They submitted their code more than twice as many times as the "One-Shot" students to get the same result. They were stuck in a cycle of trial-and-error, relying on the AI to do the thinking for them.
The "Conceptual Framing" (The Planner): The student asks about the rules or concepts before writing any code.
- Analogy: Before cooking, you ask, "What does 'simmer' mean?" or "How do I chop an onion safely?" Then you cook.
- Finding: These students were efficient. They understood the basics first, so they made fewer mistakes later.
The "Performance-Oriented" (The Task Master): The student jumps straight into building the solution, asking the AI to write code or fix specific parts to get the job done fast.
- Analogy: You say, "Make me a sandwich," and the AI builds it. You just check if it tastes right.
- Finding: This was efficient for getting the grade, but the researchers worried the student might not have learned how to make the sandwich themselves.
The "Mode-Shifting" (The Flexible Learner): The student starts with one type of help (like fixing an error) but then realizes they don't understand the concept, so they switch to asking for an explanation, and then goes back to fixing.
- Analogy: You try to fix the jar, get stuck, ask "Why is this jar so hard to open?" (concept), get an answer, and then try again.
- Finding: This was rare, but it showed the most "self-regulated" learning—adapting the strategy when things didn't work.
3. The Big Surprise: Grades vs. Effort
You might think that the students who used the AI the "smartest" (the Planners or the Flexible Learners) got the best grades.
- The Reality: Everyone got roughly the same grade. Because the computer grading system allowed students to submit their code over and over until it worked, almost everyone eventually got the points.
- The Real Difference: The difference was in how much work they did to get there.
- The "Stuck Loop" (Debugging Persistence) students had to submit their code 12 times on average.
- The "One-Shot" students only had to submit 5 times on average.
- The Lesson: The AI helped everyone pass, but for some students, it became a crutch that made the process much longer and more frustrating.
4. What Does This Mean?
The paper concludes that it's not about if students use AI, but how they use it.
- If a student uses AI just to patch up errors repeatedly (like a mechanic who only tightens a loose bolt over and over without fixing the engine), they might pass the class, but they aren't learning to drive the car.
- If a student uses AI to understand the rules, plan their steps, and check their work, they are using it as a true learning partner.
The Takeaway: The "educational value" of AI isn't in the final grade (which was the same for everyone); it's in the journey. The study suggests that we need to teach students not just how to ask the AI for answers, but how to use it to plan, understand, and reflect, rather than just using it to fix broken code in a panic.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.