Saval AI Marking: How to Provide Formative Feedback on Student Code
Learn how to use AI-powered marking to provide instant, rubric-based feedback on student code, fostering inquiry-based learning in your CS classroom.
By Dr. Usman Durrani
At a Glance
- Featured Saval capability: AI-Powered Assessment (AI Marking) with integrated Code IDE
- Plan needed: Pro (includes Code IDE); Free plan supports text-based problem-based scenarios.
- Topic: AI for Computer Science Students and Programming Education
- Best for: University lecturer or CS instructor
- The problem: Providing timely, formative feedback on code during inquiry-based sessions.
- Time to try it: About 15 minutes to set up a challenge.
Saval’s AI-powered marking provides instant, rubric-based feedback on code submissions within a built-in IDE, allowing instructors to guide students through complex programming problems. By automating the formative assessment of code, teachers can focus on deeper inquiry and logical reasoning rather than manual syntax checks.
Feature Spotlight: AI-Powered Assessment for Code
The Saval AI-Powered Assessment feature, combined with the built-in Code IDE (available on the Pro plan), allows teachers to set real-world coding problems that students solve in-browser. The AI evaluates student submissions against your custom rubric, offering detailed feedback in seconds. Teachers maintain full control, setting the strictness of the AI (Flexible, Normal, or Strict) and deciding whether students receive that feedback immediately or after a review.
| Teacher Dashboard - Quiz Editing Mode |
|---|
[SCREENSHOT: A teacher configuring the AI marking strictness for a Python coding challenge]
While this tool offers powerful, real-time assessment, it does not replace the teacher’s final judgment on complex architectural decisions or pedagogical intent—it serves to scaffold the inquiry process. [VERIFY: The AI marking currently supports Python, JavaScript, and TypeScript in the browser IDE.]
From Feature to Topic: The Logic of Inquiry
In computer science education, the shift from traditional lectures to inquiry-based learning is often hindered by the "feedback loop" problem. When students work on complex software development challenges, they often get stuck on trivial bugs, losing the thread of the core problem. AI serves as a 24/7 coding tutor, closing this loop instantly.
| Part of the problem | Saval capability | Teacher action |
|---|---|---|
| Code syntax & logic errors | AI-Powered Assessment | Define a custom rubric for the AI |
| High-cognitive load | Problem-Based Scenarios | Upload scenario images to set context |
| Formative engagement | Live Leaderboards | Run a class session to track progress |
A Practical Approach to AI Pair Programming
To foster genuine skill growth, frame AI as a "thinking partner" rather than a solution generator. Encourage students to view AI code feedback as a source of inquiry: "Why did the AI flag this loop as inefficient?" This transforms the classroom into a space for analysis, aligning with effective problem-based learning where students define the problem, reason through constraints, and iterate based on feedback.
How to Do It with Saval
- Select your preferred game mode (e.g., Class Quiz or Asteroid Defence) to initiate the lesson.
- Configure the AI marking settings—set to 'Normal' strictness to ensure constructive, rather than purely corrective, feedback.
- Draft your problem-based coding challenge. Ensure the task requires logical reasoning rather than just memorized syntax.
- Students join via QR code and use the built-in IDE to write and submit their code.
- Review the Performance Dashboard to identify which students require additional support during the session.
Worked Example: Data Structures
Scenario: A student must write a function to search a large dataset. Rubric: (1) Correct logic, (2) Time complexity analysis, (3) Variable naming conventions. The AI provides feedback on the logic and complexity before the student moves to the next challenge.
Takeaways
- Use AI as a formative tool to accelerate the feedback loop.
- Focus on problem-based scenarios that force students to apply CS theory to real-world context.
- Use the Performance Dashboard to spot common misconceptions across the cohort.
- Encourage students to treat AI feedback as a starting point for inquiry.
New teacher accounts include a 7-day Enterprise trial, allowing you to test AI marking with your own code challenges before choosing a plan.
How did you feel about this post?