Law smells: Defining and detecting problematic patterns in legal drafting

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 ref...

Full description

Saved in:
Bibliographic Details
Main Authors: COUPETTE, Corinna, HARTUNG, Dirk, BECKEDORF, Janis, BÖTHER, Maximilian, KATZ, Daniel Martin
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2023
Subjects:
Law
Online Access:https://ink.library.smu.edu.sg/sol_research/4521
https://ink.library.smu.edu.sg/context/sol_research/article/6479/viewcontent/s10506_022_09315_w.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sol_research-6479
record_format dspace
spelling sg-smu-ink.sol_research-64792024-10-17T03:30:37Z Law smells: Defining and detecting problematic patterns in legal drafting COUPETTE, Corinna HARTUNG, Dirk BECKEDORF, Janis BÖTHER, Maximilian KATZ, Daniel Martin 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 textbased 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. 2023-06-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sol_research/4521 info:doi/10.1007/s10506-022-09315-w https://ink.library.smu.edu.sg/context/sol_research/article/6479/viewcontent/s10506_022_09315_w.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection Yong Pung How School Of Law eng Institutional Knowledge at Singapore Management University Law Natural language processing Network analysis Refactoring Software engineering Artificial Intelligence and Robotics Law Science and Technology Law
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Law
Natural language processing
Network analysis
Refactoring
Software engineering
Artificial Intelligence and Robotics
Law
Science and Technology Law
spellingShingle Law
Natural language processing
Network analysis
Refactoring
Software engineering
Artificial Intelligence and Robotics
Law
Science and Technology Law
COUPETTE, Corinna
HARTUNG, Dirk
BECKEDORF, Janis
BÖTHER, Maximilian
KATZ, Daniel Martin
Law smells: Defining and detecting problematic patterns in legal drafting
description 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 textbased 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.
format text
author COUPETTE, Corinna
HARTUNG, Dirk
BECKEDORF, Janis
BÖTHER, Maximilian
KATZ, Daniel Martin
author_facet COUPETTE, Corinna
HARTUNG, Dirk
BECKEDORF, Janis
BÖTHER, Maximilian
KATZ, Daniel Martin
author_sort COUPETTE, Corinna
title Law smells: Defining and detecting problematic patterns in legal drafting
title_short Law smells: Defining and detecting problematic patterns in legal drafting
title_full Law smells: Defining and detecting problematic patterns in legal drafting
title_fullStr Law smells: Defining and detecting problematic patterns in legal drafting
title_full_unstemmed Law smells: Defining and detecting problematic patterns in legal drafting
title_sort law smells: defining and detecting problematic patterns in legal drafting
publisher Institutional Knowledge at Singapore Management University
publishDate 2023
url https://ink.library.smu.edu.sg/sol_research/4521
https://ink.library.smu.edu.sg/context/sol_research/article/6479/viewcontent/s10506_022_09315_w.pdf
_version_ 1814047948673122304