Law Smells: Defining and Detecting Problematic Patterns in Legal Drafting

10/15/2021
by   Corinna Coupette, et al.
0

Building on the computer science concept of code smells, we initiate the study of law smells, i.e., patterns in legal texts that pose threats to the comprehensibility and maintainability of the law. With five intuitive law smells as running examples - namely, duplicated phrase, long element, large reference tree, ambiguous syntax, and natural language obsession -, we develop a comprehensive law smell taxonomy. This taxonomy classifies law smells by when they can be detected, which aspects of law they relate to, and how they can be discovered. We introduce text-based and graph-based methods to identify instances of law smells, confirming their utility in practice using the United States Code as a test case. Our work demonstrates how ideas from software engineering can be leveraged to assess and improve the quality of legal code, thus drawing attention to an understudied area in the intersection of law and computer science and highlighting the potential of computational legal drafting.

READ FULL TEXT
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
06/02/2022

Formalizing Human Ingenuity: A Quantitative Framework for Copyright Law's Substantial Similarity

A central notion in U.S. copyright law is judging the substantial simila...
research
07/01/2022

The Dangers of Computational Law and Cybersecurity; Perspectives from Engineering and the AI Act

Computational Law has begun taking the role in society which has been pr...
research
10/12/2012

Le droit du numérique : une histoire à préserver

Although the history of informatics is recent, this field poses unusual ...
research
01/16/2023

Towards an Automatic Consolidation of French Law

We present preliminary results about Legistix, a tool we are developing ...
research
03/04/2021

Catala: A Programming Language for the Law

Law at large underpins modern society, codifying and governing many aspe...
research
05/10/2022

Metamorphic Testing and Debugging of Tax Preparation Software

This paper presents a data-driven debugging framework to improve the tru...

Please sign up or login with your details

Forgot password? Click here to reset