Law Smells

Artificial Intelligence and Law 31 (2):335-368 (2023)
  Copy   BIBTEX

Abstract

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.

Links

PhilArchive



    Upload a copy of this work     Papers currently archived: 93,031

External links

Setup an account with your affiliations in order to access resources via your University's proxy server

Through your library

Similar books and articles

Instructions for Authors.[author unknown] - 2002 - Artificial Intelligence and Law 10 (4):303-308.
Editors' introduction.Henry Prakken & Giovanni Sartor - 1996 - Artificial Intelligence and Law 4 (3-4):157-161.
Instructions for Authors.[author unknown] - 2001 - Artificial Intelligence and Law 9 (4):315-320.
Instructions for Authors.[author unknown] - 2004 - Artificial Intelligence and Law 12 (4):447-452.
Instructions for Authors.[author unknown] - 2002 - Artificial Intelligence and Law 10 (1):219-224.
Index of Key Words.[author unknown] - 1997 - Artificial Intelligence and Law 5 (4):347-347.
Correction to: Reasoning with inconsistent precedents.Ilaria Canavotto - forthcoming - Artificial Intelligence and Law:1-4.

Analytics

Added to PP
2022-06-06

Downloads
38 (#432,587)

6 months
35 (#103,255)

Historical graph of downloads
How can I increase my downloads?