SQL Autograder: Web-based LLM-powered Autograder for Assessment of SQL Queries

被引:0
|
作者
Manikani, Karan [1 ]
Chapaneri, Radhika [1 ]
Shetty, Dharmik [1 ]
Shah, Divyata [1 ]
机构
[1] Mukesh Patel Sch Technol Management & Engn SVKMS N, AI Dept, Vile Parle West, Mumbai 400056, Maharashtra, India
关键词
SQL Autograder; Structured Query Language; Large Language Model; Low-rank Adaptation; Parameter Efficient Fine-tuning;
D O I
10.1007/s40593-025-00460-2
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Structured query language (SQL) queries are an important aspect of database concepts in the information technology (IT) domain. Evaluation of SQL queries ensures that the learners can understand and apply various SQL concepts correctly. However, this can be a laborious task when carried out manually by course instructors at universities, which often does not scale well. To address these limitations, this study proposes a web-based application, SQL autograder, which can be used by instructors of a university course to evaluate assessments and enhance the quality of education and learning outcomes. We propose a framework that makes use of large language models (LLMs) to assess the correctness of SQL queries submitted by students. We train a variety of open-source LLMs of varying sizes on a diverse dataset of SQL queries, with queries ranging from simple ones that include a single JOIN statement to more complex ones involving multiple SQL features. We implemented and tested our LLM-based framework in real-world educational settings for a university course, which shows promising results in enhancing the learning experience for students by providing instant feedback on areas needing improvement. We tested our application on 88 participants and found that the autograder is 180x faster than the instructor, with an average accuracy of 96.77%. After taking the qualitative feedback from the participants, 97% of them found it to be useful. The proposed framework reduces the workload of instructors by offering a more scalable and consistent evaluation process that enhances the performance of students.
引用
收藏
页数:31
相关论文
共 50 条
  • [31] Machine Learning Based Intrusion Detection on Complex Nested Transactional SQL Queries
    Aliyu, Garba
    Thandekkattu, George
    Abdulmumin, Idris
    Baba, Usman A.
    Yusuf, Aminat Bolatito
    Nasir, Mustapha
    2022 IEEE NIGERIA 4TH INTERNATIONAL CONFERENCE ON DISRUPTIVE TECHNOLOGIES FOR SUSTAINABLE DEVELOPMENT (IEEE NIGERCON), 2022, : 146 - 150
  • [32] Quality-Based SQL: Specifying Information Quality in Relational Database Queries
    Parssian, Amir
    Yeoh, William
    Ee, Mong Shan
    COMPUTER, 2015, 48 (09) : 69 - 74
  • [33] Formal Analysis of Vulnerabilities of Web Applications Based on SQL Injection
    De Meo, Federico
    Rocchetto, Marco
    Vigano, Luca
    SECURITY AND TRUST MANAGEMENT, STM 2016, 2016, 9871 : 179 - 195
  • [34] SQL level global query resolving for web based GIS
    Chen, Bin
    Huang, Fengru
    Huang, Zhou
    Sun, Yumei
    Fang, Yu
    GEOINFORMATICS 2007: GEOSPATIAL INFORMATION TECHNOLOGY AND APPLICATIONS, PTS 1 AND 2, 2007, 6754
  • [35] How to Prevent SQL Injection Attack Based on Web Applications
    Zheng Haiyan
    Wu Weituan
    Zhang Ruili
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON INDUSTRIAL TECHNOLOGY AND MANAGEMENT SCIENCE (ITMS 2015), 2015, 34 : 854 - 857
  • [36] Similarity Extraction Mechanism Concerning Historical Personalities Based On SQL Queries in an RDBMS Environment
    Barouchou, Alexandra
    Dendrinos, Markos
    INTERNATIONAL CONFERENCE ON INTEGRATED INFORMATION (IC-ININFO 2014), 2015, 1644 : 199 - 206
  • [37] Test SQL Injection Vulnerabilities in Web Applications Based on Structure Matching
    Wu, Haiyan
    Gao, Guozhu
    Miao, Chunyu
    2011 INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT), VOLS 1-4, 2012, : 935 - 938
  • [38] Artificial neural network based web application firewall for SQL injection
    Moosa, Asaad
    World Academy of Science, Engineering and Technology, 2010, 64 : 12 - 21
  • [39] Artificial neural network based web application firewall for SQL injection
    Moosa, Asaad
    World Academy of Science, Engineering and Technology, 2010, 40 : 12 - 21
  • [40] Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm
    Xie, Yuanzhen
    Jin, Xinzhou
    Xie, Tao
    Lin, Mingxiong
    Chen, Liang
    Yu, Chenyun
    Cheng, Lei
    Zhuo, Chengxiang
    Hu, Bo
    Li, Zang
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: ACL 2024, 2024, : 10796 - 10816