Automated Repair of Data Faults in Templated Spreadsheets
暂无分享,去创建一个
Spreadsheets are widely used in data recording and data analysis in various fields. Since most spreadsheet users are non-programmers, they are prone to various errors in the process of designing and using the spreadsheet, which may bring huge economic losses to the organization. Therefore, a lot of related work has emerged to support the users in detecting and fixing errors in spreadsheets. In these studies, most of them are based on the assumption that the original data is error-free, because formulas in the spreadsheet are considered more error-prone than input cells. However, the assumption is not reasonable in the field of frequently using spreadsheet templates, because they have been professionally validated during usage. In such cases, root errors often arise from wrong input values rather than cells with formulas. Therefore, this paper proposes an error repair method for input cells in templated spreadsheet based on symbol execution and constraint satisfaction solving. First, find the output cells in the spreadsheet according to dependencies. Second, for suspicious output cells, the input cells that determine their results are obtained via symbolic execution. Finally, the repair candidates of the input cells are obtained by constraint satisfaction solving with domain knowledge.
[1] Franz Wotawa,et al. Avoiding, finding and fixing spreadsheet errors - A survey of automated approaches for spreadsheet QA , 2014, J. Syst. Softw..
[2] Martin Erwig,et al. Goal-directed debugging of spreadsheets , 2005, 2005 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC'05).
[3] Dietmar Jannach,et al. Model-based diagnosis of spreadsheet programs: a constraint-based debugging approach , 2016, Automated Software Engineering.