Grading Uncompilable Programs


  • Rohit Takhar Aspiring Minds
  • Varun Aggarwal Aspiring Minds



Evaluators wish to test candidates on their ability to propose the correct algorithmic approach to solve programming problems. Recently, several automated systems for grading programs have been proposed, but none of them address uncompilable codes. We present the first approach to grade uncompilable codes and provide semantic feedback on them using machine learning. We propose two methods that allow us to derive informative semantic features from programs. One of this approach makes the program compilable by correcting errors, while the other relaxes syntax/grammar rules to help parse uncompilable codes. We compare the relative efficacy of these approaches towards grading. We finally combine them to build an algorithm which rivals the accuracy of experts in grading programs. Additionally, we show that the models learned for compilable codes can be reused for uncompilable codes. We present case studies, where companies are able to hire more efficiently by deploying our technology.




How to Cite

Takhar, R., & Aggarwal, V. (2019). Grading Uncompilable Programs. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01), 9389-9396.



IAAI Technical Track: Deployed Papers