Multiscale Modeling of Materials LabSan Diego State University
All teaching

Teaching innovation

AI-JUDGE: teaching students to judge scientific code written by AI

AI-JUDGE is a web platform that trains computational judgment: the ability to recognize, explain, and fix scientific code that runs but is wrong. It is supported by an $80,000 California State University GUIDE award (August 2026 to August 2027) led by Dr. Wenwu Xu at San Diego State University with Dr. Luwen (Vivian) Huangfu at SDSU and Dr. Ashley Ringer McDonald at Cal Poly San Luis Obispo.

Try AI-JUDGE

We invite instructors, students, and researchers to try the platform and tell us what works. Create a free account at aijudge.sdsu.edu, work through a few exercises, and send us your feedback.

Why it matters

Code that crashes is easy to catch. The real risk is code that runs and quietly breaks a physical law, uses the wrong boundary conditions, or applies a numerical setting outside its valid range. As students rely more on generative AI, they need practice spotting these errors instead of trusting code because it executes.

How it works

  1. Faculty define a real scientific error drawn from their field.
  2. The AI writes code that contains that error, and the platform checks that the mistake is really there.
  3. The student diagnoses the code: what is wrong, why it matters, and how to fix it.
  4. AI-JUDGE adapts its hints and support to each student's progress.
  5. The research team measures whether students' judgment improves.

Project team

Wenwu XuSan Diego State University, principal investigator

Molecular dynamics content, ME 642 deployment, and platform integration

Luwen (Vivian) HuangfuSan Diego State University, co-principal investigator

AI and machine learning modules, adaptive learning, and learning analytics

Ashley Ringer McDonaldCal Poly San Luis Obispo, co-principal investigator

Quantum chemistry content and chemistry course deployment

Six undergraduate researchersPaid research assistants at both campuses

Building the error library, testing the platform, and analyzing learning data

Goals for August 2026 to August 2027

  • A library of 26 validated scientific error types in molecular dynamics and quantum chemistry
  • AI-JUDGE version 1.0 with adaptive feedback
  • A validated before and after test of computational judgment
  • A Spring 2027 classroom study in SDSU and Cal Poly courses
  • A follow on proposal to the NSF Improving Undergraduate STEM Education program

Read the award announcement