arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.09019cs.DB
收藏

基于编辑的SQL分级

Edit Based Grading of SQL Queries

Bikash Chandra, Ananyo Banerjee, Udbhas Hazra, Mathew Joseph, S. Sudarshan

摘要:

手动给学生的SQL查询评分是一个繁琐且容易出错的过程。测试学生SQL查询正确性的早期工作,例如XData系统,可以用来测试学生查询的正确性。然而,如果学生查询被发现是不正确的,目前没有办法自动分配部分分数。部分标记是重要的,这样小错误比大错误受到的惩罚要少。手动授予部分分数对于学生人数众多的课程,特别是MOOC,是不可扩展的,而且也容易出现人为错误。在本文中,我们讨论的技术,以找到一个最小的成本编辑一个学生查询,将使其正确,这可以帮助分配部分标记,并帮助学生准确地了解他们错了。鉴于目前的形式化方法的局限性,检查等价性,我们的方法是基于找到最近的查询,从一组教师提供的正确的查询,即被发现是基于查询规范化的等价。我们表明,穷举技术是昂贵的,并提出了一个贪婪的启发式方法,以及在现实世界的数据集查询的运行时间和准确性。我们的系统也可以用于学习模式,查询编辑可以建议作为反馈给学生,引导他们对正确的查询。我们的部分评分系统已成功地用于印度理工学院孟买和印度理工学院达瓦德的课程。

英文摘要:

Grading student SQL queries manually is a tedious and error-prone process. Earlier work on testing correctness of student SQL queries, such as the XData system, can be used to test correctness of a student query. However, in case a student query is found to be incorrect there is currently no way to automatically assign partial marks. Partial marking is important so that small errors are penalized less than large errors. Manually awarding partial marks is not scalable for classes with large number of students, especially MOOCs, and is also prone to human errors. In this paper, we discuss techniques to find a minimum cost set of edits to a student query that would make it correct, which can help assign partial marks, and to help students understand exactly where they went wrong. Given the limitations of current formal methods for checking equivalence, our approach is based on finding nearest query, from a set of instructor provided correct queries, that is found to be equivalent based on query canonicalization. We show that exhaustive techniques are expensive, and propose a greedy heuristic approach that works well both in terms of runtime and accuracy on queries in real-world datasets. Our system can also be used in a learning mode where query edits can be suggested as feedback to students to guide them towards a correct query. Our partial marking system has been successfully used in courses at IIT Bombay and IIT Dharwad.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑