Idea · Jul 26, 2026
Spec-to-Test Oracle
A web tool that generates a fully annotated test suite from any function spec or assignment description, labeling each test with the concept it exercises and its Bloom's taxonomy level. Instructors validate assignment quality; students pre-check their code.
What it would do
Paste a function docstring, assignment rubric, or natural-language specification and the tool produces a structured set of test cases covering typical inputs, boundary conditions, edge cases, and intentional failure modes. Each test is annotated with the learning objective it probes (loop termination, null handling, off-by-one, type coercion, etc.) and a Bloom's level (remember, understand, apply, analyze). An adversarial mode instructs the LLM to specifically target common CS1 misconceptions. Instructors use it to stress-test their own specs before distributing them; students use it as a concrete 'am I done?' checklist without having the solution revealed. A diff view shows which tests change when the spec is revised, helping track scope creep.
Key features
- Generates test cases from plain-English spec, docstring, or rubric
- Each test annotated with concept exercised and Bloom's level
- Adversarial mode targeting known CS1 misconceptions
- Diff view showing test changes when spec is updated
- Export to pytest, JUnit, or Jest format