@aho

AutoStyle: Toward Coding Style Feedback at Scale

, , , and . Proceedings of the Second (2015) ACM Conference on Learning @ Scale, page 261--266. New York, NY, USA, ACM, (2015)
DOI: 10.1145/2724660.2728672

Abstract

While large-scale automatic grading of student programs for correctness is widespread, less effort has focused on automating feedback for good programming style: the tasteful use of language features and idioms to produce code that is not only correct, but also concise, elegant, and revealing of design intent. We hypothesize that with a large enough (MOOC-sized) corpus of submissions to a given programming problem, we can observe a range of stylistic mastery from naïve to expert, and many points in between, and that we can exploit this continuum to automatically provide hints to learners for improving their code style based on the key stylistic differences between a given learner's submission and a submission that is stylistically slightly better. We are developing a methodology for analyzing and doing feature engineering on differences between submissions, and for learning from instructor-provided feedback as to which hints are most relevant. We describe the techniques used to do this in our prototype, which will be deployed in a residential software engineering course as an alpha test prior to deploying in a MOOC later this year.

Links and resources

Tags

community

  • @brusilovsky
  • @aho
  • @dblp
@aho's tags highlighted