Number 20

CSA Studio

A practice app for AP Computer Science A that makes a fresh Java problem every time you click, and grades it with hidden random tests.

ShippedSoftware2026
Problem families
182
Units
4
Difficulty levels
5
Role
Sole developer. Wrote the problem generators, the Java grader, the lessons and the web app.
Built with
  • Java
  • JavaScript
  • CodeMirror
Started
Oct 2026
Finished
Oct 2026

Story

Practice sites for AP CSA run out of problems, and once you’ve seen the answer to one you can’t really practise it again. I wanted problems that never repeat, graded strictly enough that a shortcut can’t pass.

It started as ten small projects with tests you run in VS Code, then grew into CSA Studio, a CodeHS-style app that runs on your own Mac.

How it works

Double-click Start CSA Studio.command and it opens in the browser, with a Java server running underneath.

  • Fresh problems: 182 problem families across the four units. Each click on Next problem generates new numbers and new hidden tests.
  • Real grading: your code is compiled and run against normal tests, random tests that change every run, and rule checks that ban shortcuts like Arrays.sort or require a tool like a while loop.
  • Difficulty per topic: Easy, Medium, Hard, Nightmare and God, or Auto, which follows your skill in each topic.
  • Lessons and progress: plain-English lessons, the AP quick reference, XP, streaks and mastery per unit.