{"title":"面向编程课程编码风格的自动反馈","authors":"Zi Wang, A. Alsam, Donn Morrison, K. A. Strand","doi":"10.1109/ICALT52272.2021.00017","DOIUrl":null,"url":null,"abstract":"In this research, we developed a methodology for automatic evaluation of coding style and estimate its effectiveness compared to human evaluation. To achieve this, we developed 179 features spanning 8 categories to capture code structure and other stylistic properties. Results based on a set of student assignments and code from a Python textbook validate the features as effective in classification tasks. The features were further used to optimise classifiers to predict the teacher’s evaluation of the student code and obtain good classification accuracy. The proposed feature set and experimental results provide a first step towards providing students with automatic coding style feedback.","PeriodicalId":170895,"journal":{"name":"2021 International Conference on Advanced Learning Technologies (ICALT)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2021-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Toward automatic feedback of coding style for programming courses\",\"authors\":\"Zi Wang, A. Alsam, Donn Morrison, K. A. Strand\",\"doi\":\"10.1109/ICALT52272.2021.00017\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this research, we developed a methodology for automatic evaluation of coding style and estimate its effectiveness compared to human evaluation. To achieve this, we developed 179 features spanning 8 categories to capture code structure and other stylistic properties. Results based on a set of student assignments and code from a Python textbook validate the features as effective in classification tasks. The features were further used to optimise classifiers to predict the teacher’s evaluation of the student code and obtain good classification accuracy. The proposed feature set and experimental results provide a first step towards providing students with automatic coding style feedback.\",\"PeriodicalId\":170895,\"journal\":{\"name\":\"2021 International Conference on Advanced Learning Technologies (ICALT)\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-07-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 International Conference on Advanced Learning Technologies (ICALT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICALT52272.2021.00017\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 International Conference on Advanced Learning Technologies (ICALT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICALT52272.2021.00017","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Toward automatic feedback of coding style for programming courses
In this research, we developed a methodology for automatic evaluation of coding style and estimate its effectiveness compared to human evaluation. To achieve this, we developed 179 features spanning 8 categories to capture code structure and other stylistic properties. Results based on a set of student assignments and code from a Python textbook validate the features as effective in classification tasks. The features were further used to optimise classifiers to predict the teacher’s evaluation of the student code and obtain good classification accuracy. The proposed feature set and experimental results provide a first step towards providing students with automatic coding style feedback.