I built an AI tutor that refuses to write your code
In 2021, when GPT-3 showed up, I thought my learn-to-code project was finished before it really started. Why would anyone learn HTML and CSS if an AI could write it for them? I was wrong. The easier AI makes it to build apps, the more people need the fundamentals. Students see young solo founders shipping with AI and want to do the same. Schools are teaching IT earlier. And plenty of us who work…
In 2021, when GPT-3 emerged, the potential of AI to write code for beginners became evident. However, it became clear that even with this assistance, the fundamentals remain essential. Hyper Sheets, a platform for learning coding from scratch, especially on mobile devices, had to decide what its AI tutor should be permitted to do.
The tutor, named Hex, was to point at the line causing the error, provide plain language explanations, give hints, and quiz the learner. Hex was not to write the code that makes the test pass. While the line was fuzzy, the rule was clear: Hex must not provide the solution to the exercise at hand. Hex could demonstrate patterns but not complete the exercises for the learner.
This decision shaped the entire platform. Every lesson, exercise, and game on Hyper Sheets is free, and users are given a limited number of questions to Hex daily. This limit encourages learners to try solving the problem on their own before seeking help. Even though Hyper Sheets utilizes AI, the platform maintains the importance of thinking critically about the code.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to