Metamorphic Testing and Debugging of Tax Preparation Software

05/10/2022
by   Saeid Tizpaz-Niari, et al.
0

This paper presents a data-driven debugging framework to improve the trustworthiness of US tax preparation software. As the US tax law evolves to adapt to ever-changing politico-economic realities, tax preparation software plays a significant role in helping taxpayers navigate these complexities. Given the legal implications of bugs in such software on its users, ensuring the compliance and trustworthiness of tax preparation software is of paramount importance. The key obstacles in developing debugging aids for tax preparation systems, however, are the unavailability of explicit specifications and the difficulty of obtaining oracles. We posit that, since the US tax law adheres to the legal doctrine of precedent, the specifications about the outcome of tax preparation software for an individual taxpayer must be viewed in comparison with individuals that are deemed similar. Consequently, these specifications are naturally available as properties on the software requiring similar inputs provide similar outputs. Inspired by metamorphic testing framework from software engineering, we dub these relations metamorphic relations. We explicated metamorphic relations for a set of properties by carefully studying the US Form 1040 as implemented in an open-source tax preparation software. We developed a randomized search strategy to explore the space of metamorphic relations and explain the behaviors of software with a classification tree algorithm. Our tool revealed 4 types of failures in the software and provided intuitive explanations to understand the failures.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/01/2021

An analysis of open source software licensing questions in Stack Exchange sites

Free and open source software is widely used in the creation of software...
research
07/16/2020

The Unpopularity of the Software Tester Role among Software Practitioners: A Case Study

As software systems are becoming more pervasive, they are also becoming ...
research
10/02/2021

Simplify Your Law: Using Information Theory to Deduplicate Legal Documents

Textual redundancy is one of the main challenges to ensuring that legal ...
research
05/13/2021

Feature Interactions on Steroids: On the Composition of ML Models

The lack of specifications is a key difference between traditional softw...
research
10/15/2021

Law Smells: Defining and Detecting Problematic Patterns in Legal Drafting

Building on the computer science concept of code smells, we initiate the...
research
06/06/2023

Impact of Large Language Models on Generating Software Specifications

Software specifications are essential for ensuring the reliability of so...
research
11/06/2014

The Spaces of Data, Information, and Knowledge

We study the data space D of any given data set X and explain how functi...

Please sign up or login with your details

Forgot password? Click here to reset