sk_p: a neural program corrector for MOOCs

By Yewen Pu, Karthik Narasimhan, Armando Solar-Lezama, Regina Barzilay. 2016

128 citations recorded by the source corpus.

We present a novel technique for automatic program correction in MOOCs, capable of fixing both syntactic and semantic errors without manual, problem specific correction strategies. Given an incorrect student program, it generates candidate programs from a distribution of likely corrections, and checks each candidate for correctness against a test suite. The key observation is that in MOOCs many programs share similar code fragments, and the seq2seq neural network model, used in the natural-language processing task of machine translation, can be modified and trained to recover these fragments. Experiment shows our scheme can correct 29% of all incorrect submissions and out-performs state of the art approach which requires manual, problem specific correction strategies.

Subfields: Artificial Intelligence, Information Systems, Software, Code Generation & Program Synthesis

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Percy Liang
  2. Rishabh Singh
  3. Michihiro Yasunaga
  4. Charles Sutton
  5. Pushmeet Kohli
  6. Petros Maniatis
  7. Kensen Shi
  8. Rajeev Alur

In Information Systems

  1. Percy Liang
  2. Rishabh Singh
  3. Michihiro Yasunaga
  4. Aditya Kanade
  5. Michele Tufano
  6. Charles Sutton
  7. Pushmeet Kohli
  8. Denys Poshyvanyk

In Software

  1. Rishabh Singh
  2. Percy Liang
  3. Michihiro Yasunaga
  4. Pushmeet Kohli
  5. Aditya Kanade
  6. Michele Tufano
  7. Shirish K. Shevade
  8. Rahul Gupta

In Code Generation & Program Synthesis

  1. Sumit Gulwani
  2. Rishabh Singh
  3. Pushmeet Kohli
  4. Michele Tufano
  5. Denys Poshyvanyk
  6. Gabriele Bavota
  7. Kensen Shi
  8. Percy Liang

Citations in the corpus