SlideShare a Scribd company logo
1 of 27
Download to read offline
Automated detection and resolution 
of legal cross references 
Approach and a study of Luxembourg’s legislation! 
Morayo Adedjouma1,2 Mehrdad Sabetzadeh1 Lionel Briand1 
1 University of Luxembourg, Luxembourg! 
2 McMaster University, Canada 
SsoftwareV verificVation & va.lidlaution
Luxembourg 
• Population of 530,000 
• The only Grand Duchy in 
existence! 
• Three official languages 
! 
! 
Luxembourg 
LUXEMBOURG 
• Language of administration and law is French 
2 
Diekirch 
Grevenmacher 
Pétange 
Esch-sur-Alzette 
GERMANY 
BELGIUM 
FRANCE 
5 km
How did this work come about? 
• Collaboration with 
Government of 
Luxembourg 
• CTIE: Government’s IT Centre 
• ACD: Tax Administration Department 
• New tax system under development 
• System needs to be compliant with the law 
3
Relating system requirements to 
legal texts 
Art. 2 Individuals are considered resident taxpayers if they have either their fiscal 
or habitual residence in the Grand Duchy. Individuals are considered non-resident 
taxpayers if they neither have their fiscal nor their habitual residence in 
the Grand Duchy, but have a local income within the meaning of Art.156. 
! 
Resident taxpayers are subject to income tax over both local and foreign income. 
! 
Non-resident taxpayers are subject to income tax only over their local income 
within the meaning of Art.156. 
derived from Cross 
R1: The system shall levy taxes on non-residents’ local 
income as per the annual tax scale. 
4 
Reference 
to another 
article
Requirement dependencies 
Article 2 Article 156 
potential 
dependencies 
5 
derived 
from 
R1 
Cross Reference 
(CR) 
derived 
from 
R2 R3 R4 
R2: For non-residents, rental and lease income earned in the Grand 
Duchy shall be considered as local income.
Why should RE care about CRs? 
• CRs important for requirements change analysis 
[Ghanavati et al., 2014] 
! 
• CRs entail (among other things) exceptions, 
constraints, and priorities [Maxwell et al., 2012]" 
! 
• Ignoring or misunderstanding CRs leads to non-compliance 
in software [Maxwell et al., 2013] 
6
CR detection and resolution 
• Automatically identify and link CRs to targets 
7
Related work 
• CR detection and resolution: 
a well-trodden path 
• Dutch legislation 
[de Maat et al., 2006] 
• HIPAA Privacy Rule 
[Kiyavitskaya et al., 2008] 
• US regulations 
[Breaux, 2009] 
8
What’s new? 
• More thorough treatment of CR patterns 
! 
• Systematic resolution process 
! 
• Improved automation 
9
CR patterns 
• Grounded Theory study of 
Luxembourg’s Income Tax Law 
• first drafted in 1967; 
189 pages; 236 articles; 
767 paragraphs 
• All 1223 CRs analysed 
10 
Loi modifiée du 4 décembre 1967 
concernant l´impôt sur le revenu 
Texte coordonné au 1er janvier 2013 
Bureaux: 45, boulevard Roosevelt, Luxembourg Tél.: 40 800-1 Site Internet: 
Adresse postale: L-2982 Luxembourg Fax: 40 800-2022 www.impotsdirects.public.lu
What did we learn? 
• CR patterns carry over across languages 
• thus, opportunities for reuse 
• All previously-known patterns were observed 
• New patterns were identified 
• … among which some are ambiguous 
11
Example of ambiguity 
articles 109, 1st paragraph, numbers 1 to 3, 127 and 154ter 
12 
art 
109 
par 
1 
no 
1 2 3 
127 154ter 
art 
109 
par 
1 
no 
1 2 3 127 154ter
Approach 
13 
Text schema from 
recommendations 
Define schema for 
structure of legal 
text 
Legal text (non-markup) 
Tailored 
schema 
Text with structure 
markup 
CR 
patterns 
Resolve cross 
references 
solution component 
discussed so far 
Visualization & 
Analysis 
Transform into 
markup text 
Markup text + 
CR links
Text schema for the tax law 
14 
New or deviating 
from guidelines
Markup scripts derived from the 
text schema 
Rule: MarkArticleSegment 
(({ArticleHead}):start 
({LawHead} | {PartHead} | {BookHead} | {TitleHead} | 
{ChapterHead} | {SectionHead} | {SubsectionHead} | 
{SubpartHead} | {ArticleHead} | {EOD}):end) 
:ref -->:ref.ArticleSegment= {} 
Rule: MarkArticleHead 
(({Split})+ ({Token.string=="Art"} | {Token.string=="Article"}) 
({Token.string=="."})? {Token.kind=="alphanum"} 
{Token.string=="."}) 
:ref -->:ref.ArticleHead= {} 
15 
Whatever is above or 
unrelated to Articles
Example markup 
• Markup generated all the way down to sentences 
16 
Article head 
Article segment 
Paragraphs
CR Resolution 
• Resolution algorithm discussed in the paper 
17 
Tailored 
schema 
Text with structure 
markup 
CR 
patterns 
Resolve cross 
references 
Markup text + 
CR links
CR visualization and analysis 
• Legal text navigation 
18 
• Trace detection 
• Circularity analysis
Completeness of CR patterns 
• Studied 164 randomly-selected pages from a corpus of 13 legal 
texts (1640 pages) 
• Oldest text drafted in 1808; newest in 2011 
• 1852 CRs in the selected pages 
• Correctly identified 1813 CRs 
• Detected 38 CRs only partially 
• Missed 1 CR completely 
• 5 false positives 
19 
Detection accuracy 
! 
Precision: 99.7% 
! 
Recall: 97.9%
Accuracy of resolution 
• Resolution attempted for tax law’s 928 internal CRs 
• 45 CRs (5%) marked for manual resolution 
• 874 CRs (94%) automatically resolved (1736 links) 
Resolution accuracy 
over CR expressions 
! 
Precision: 99.9% 
! 
Recall: 95% 
• 9 failure-to-resolve warnings 
• 8 due to anomalies in the text 
• 1 false positive due to 
limitations of the approach 
20 
over CR links" 
97.5%
Scalability 
• Results for the income tax law (189 pages): 
21 
Structural markup generation + 
CR identification 
34 sec 
Resolution, generation of 
hyperlinked legal text, 
traceability matrix and 
diagnostics 
290 sec 
Total Approx. 5 minutes
Tool Support 
22
A beneficial byproduct 
• Automated legal portal generation 
23 
webpage courtesy of CTIE
Limitations 
• All CR types detected but only internal ones are 
currently resolved 
• Limited to legislative documents 
• Regulations, circular letters, directives, and 
parliamentary proceedings not covered 
24
What’s next? 
• Generation of semantic annotations for CRs 
• Change impact analysis for legal requirements 
25
Take away 
• Example of a transition from research to a palatable 
solution to the industry 
• Lesson learned from the transition: 
There is many a slip between the 
cup and the lip! 
26
Acknowledgements 
• CTIE: Ludwig Balmer, Marc Blau, Yves Boland, 
Michaël Masseroni, Gautier Barrère 
• ACD: Thierry Prommenschenkel, Guy Heintz, 
Vincent D'Angelo 
• SnT: Domenico Bianculli 
27

More Related Content

Similar to Automated detection and resolution of legal cross references

Legal Markup Generation in the Large: An Experience Report
Legal Markup Generation in the Large: An Experience ReportLegal Markup Generation in the Large: An Experience Report
Legal Markup Generation in the Large: An Experience ReportLionel Briand
 
Les Rendez Vous ESES T2S - ESES T2S Update meeting March 2014
Les Rendez Vous ESES T2S - ESES T2S Update meeting March 2014Les Rendez Vous ESES T2S - ESES T2S Update meeting March 2014
Les Rendez Vous ESES T2S - ESES T2S Update meeting March 2014Euroclear
 
A Query System for Extracting Requirements-related Information from Legal Texts
A Query System for Extracting Requirements-related Information from Legal TextsA Query System for Extracting Requirements-related Information from Legal Texts
A Query System for Extracting Requirements-related Information from Legal TextsLionel Briand
 
Automation of document management paul fenton webinar
Automation of document management paul fenton webinarAutomation of document management paul fenton webinar
Automation of document management paul fenton webinarMontrium
 
BEPS Webcast #4 - Presentation of 2014 Deliverables
BEPS Webcast #4 - Presentation of 2014 DeliverablesBEPS Webcast #4 - Presentation of 2014 Deliverables
BEPS Webcast #4 - Presentation of 2014 DeliverablesOECDtax
 
The CEO Brief: Policy, Strategy and Trends in Local Government Law
The CEO Brief: Policy, Strategy and Trends in Local Government LawThe CEO Brief: Policy, Strategy and Trends in Local Government Law
The CEO Brief: Policy, Strategy and Trends in Local Government LawBrowne Jacobson LLP
 
SOA guest lecture at DIKU by Dr. Rasmus Petersen (Dec 17 2015)
SOA guest lecture at DIKU by Dr. Rasmus Petersen (Dec 17 2015)SOA guest lecture at DIKU by Dr. Rasmus Petersen (Dec 17 2015)
SOA guest lecture at DIKU by Dr. Rasmus Petersen (Dec 17 2015)Rasmus Petersen
 
Decision CAMP 2014 - Tobias Vigmostad - Digitalizing Business and Legislative...
Decision CAMP 2014 - Tobias Vigmostad - Digitalizing Business and Legislative...Decision CAMP 2014 - Tobias Vigmostad - Digitalizing Business and Legislative...
Decision CAMP 2014 - Tobias Vigmostad - Digitalizing Business and Legislative...Decision CAMP
 
Oracle policy automation overview v4 july 2010
Oracle policy automation overview v4 july 2010Oracle policy automation overview v4 july 2010
Oracle policy automation overview v4 july 2010Sakis Kostas
 
Using UML for Modeling Procedural Legal Rules
Using UML for Modeling Procedural Legal RulesUsing UML for Modeling Procedural Legal Rules
Using UML for Modeling Procedural Legal RulesLionel Briand
 
XBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASAXBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASAAayush Shrestha
 
XBRL Implementation for Financial Reporting
XBRL Implementation for Financial ReportingXBRL Implementation for Financial Reporting
XBRL Implementation for Financial ReportingAayush Shrestha
 
Harmonised rules and network codes: The division of competences between Europ...
Harmonised rules and network codes: The division of competences between Europ...Harmonised rules and network codes: The division of competences between Europ...
Harmonised rules and network codes: The division of competences between Europ...Florence Shool of Regulation
 
XML Drafting Discussion - PCC IT Conference 2013
XML Drafting Discussion - PCC IT Conference 2013XML Drafting Discussion - PCC IT Conference 2013
XML Drafting Discussion - PCC IT Conference 2013Gareth Oakes
 
Blockchain for Business
Blockchain for BusinessBlockchain for Business
Blockchain for BusinessAhmad Gohar
 
Towards legally-compliant governmental case work with Dynamic Condition Respo...
Towards legally-compliant governmental case work with Dynamic Condition Respo...Towards legally-compliant governmental case work with Dynamic Condition Respo...
Towards legally-compliant governmental case work with Dynamic Condition Respo...Hugo Andrés López
 
Capturing and Analyzing Legal Requirements
Capturing and Analyzing Legal RequirementsCapturing and Analyzing Legal Requirements
Capturing and Analyzing Legal RequirementsLionel Briand
 
Digital twins for e-purchasing
Digital twins for e-purchasingDigital twins for e-purchasing
Digital twins for e-purchasingAPPAU_Ukraine
 
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChainIBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChainIBM France Lab
 

Similar to Automated detection and resolution of legal cross references (20)

Legal Markup Generation in the Large: An Experience Report
Legal Markup Generation in the Large: An Experience ReportLegal Markup Generation in the Large: An Experience Report
Legal Markup Generation in the Large: An Experience Report
 
Les Rendez Vous ESES T2S - ESES T2S Update meeting March 2014
Les Rendez Vous ESES T2S - ESES T2S Update meeting March 2014Les Rendez Vous ESES T2S - ESES T2S Update meeting March 2014
Les Rendez Vous ESES T2S - ESES T2S Update meeting March 2014
 
A Query System for Extracting Requirements-related Information from Legal Texts
A Query System for Extracting Requirements-related Information from Legal TextsA Query System for Extracting Requirements-related Information from Legal Texts
A Query System for Extracting Requirements-related Information from Legal Texts
 
Using UML for Modeling Procedural Legal Rules
 Using UML for Modeling Procedural Legal Rules  Using UML for Modeling Procedural Legal Rules
Using UML for Modeling Procedural Legal Rules
 
Automation of document management paul fenton webinar
Automation of document management paul fenton webinarAutomation of document management paul fenton webinar
Automation of document management paul fenton webinar
 
BEPS Webcast #4 - Presentation of 2014 Deliverables
BEPS Webcast #4 - Presentation of 2014 DeliverablesBEPS Webcast #4 - Presentation of 2014 Deliverables
BEPS Webcast #4 - Presentation of 2014 Deliverables
 
The CEO Brief: Policy, Strategy and Trends in Local Government Law
The CEO Brief: Policy, Strategy and Trends in Local Government LawThe CEO Brief: Policy, Strategy and Trends in Local Government Law
The CEO Brief: Policy, Strategy and Trends in Local Government Law
 
SOA guest lecture at DIKU by Dr. Rasmus Petersen (Dec 17 2015)
SOA guest lecture at DIKU by Dr. Rasmus Petersen (Dec 17 2015)SOA guest lecture at DIKU by Dr. Rasmus Petersen (Dec 17 2015)
SOA guest lecture at DIKU by Dr. Rasmus Petersen (Dec 17 2015)
 
Decision CAMP 2014 - Tobias Vigmostad - Digitalizing Business and Legislative...
Decision CAMP 2014 - Tobias Vigmostad - Digitalizing Business and Legislative...Decision CAMP 2014 - Tobias Vigmostad - Digitalizing Business and Legislative...
Decision CAMP 2014 - Tobias Vigmostad - Digitalizing Business and Legislative...
 
Oracle policy automation overview v4 july 2010
Oracle policy automation overview v4 july 2010Oracle policy automation overview v4 july 2010
Oracle policy automation overview v4 july 2010
 
Using UML for Modeling Procedural Legal Rules
Using UML for Modeling Procedural Legal RulesUsing UML for Modeling Procedural Legal Rules
Using UML for Modeling Procedural Legal Rules
 
XBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASAXBRL Implementation for Financial Reporting | NCASA
XBRL Implementation for Financial Reporting | NCASA
 
XBRL Implementation for Financial Reporting
XBRL Implementation for Financial ReportingXBRL Implementation for Financial Reporting
XBRL Implementation for Financial Reporting
 
Harmonised rules and network codes: The division of competences between Europ...
Harmonised rules and network codes: The division of competences between Europ...Harmonised rules and network codes: The division of competences between Europ...
Harmonised rules and network codes: The division of competences between Europ...
 
XML Drafting Discussion - PCC IT Conference 2013
XML Drafting Discussion - PCC IT Conference 2013XML Drafting Discussion - PCC IT Conference 2013
XML Drafting Discussion - PCC IT Conference 2013
 
Blockchain for Business
Blockchain for BusinessBlockchain for Business
Blockchain for Business
 
Towards legally-compliant governmental case work with Dynamic Condition Respo...
Towards legally-compliant governmental case work with Dynamic Condition Respo...Towards legally-compliant governmental case work with Dynamic Condition Respo...
Towards legally-compliant governmental case work with Dynamic Condition Respo...
 
Capturing and Analyzing Legal Requirements
Capturing and Analyzing Legal RequirementsCapturing and Analyzing Legal Requirements
Capturing and Analyzing Legal Requirements
 
Digital twins for e-purchasing
Digital twins for e-purchasingDigital twins for e-purchasing
Digital twins for e-purchasing
 
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChainIBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
 

More from Lionel Briand

Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
Metamorphic Testing for Web System Security
Metamorphic Testing for Web System SecurityMetamorphic Testing for Web System Security
Metamorphic Testing for Web System SecurityLionel Briand
 
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...Lionel Briand
 
Fuzzing for CPS Mutation Testing
Fuzzing for CPS Mutation TestingFuzzing for CPS Mutation Testing
Fuzzing for CPS Mutation TestingLionel Briand
 
Data-driven Mutation Analysis for Cyber-Physical Systems
Data-driven Mutation Analysis for Cyber-Physical SystemsData-driven Mutation Analysis for Cyber-Physical Systems
Data-driven Mutation Analysis for Cyber-Physical SystemsLionel Briand
 
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled SystemsMany-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled SystemsLionel Briand
 
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...Lionel Briand
 
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...Lionel Briand
 
PRINS: Scalable Model Inference for Component-based System Logs
PRINS: Scalable Model Inference for Component-based System LogsPRINS: Scalable Model Inference for Component-based System Logs
PRINS: Scalable Model Inference for Component-based System LogsLionel Briand
 
Revisiting the Notion of Diversity in Software Testing
Revisiting the Notion of Diversity in Software TestingRevisiting the Notion of Diversity in Software Testing
Revisiting the Notion of Diversity in Software TestingLionel Briand
 
Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Applications of Search-based Software Testing to Trustworthy Artificial Intel...Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Applications of Search-based Software Testing to Trustworthy Artificial Intel...Lionel Briand
 
Autonomous Systems: How to Address the Dilemma between Autonomy and Safety
Autonomous Systems: How to Address the Dilemma between Autonomy and SafetyAutonomous Systems: How to Address the Dilemma between Autonomy and Safety
Autonomous Systems: How to Address the Dilemma between Autonomy and SafetyLionel Briand
 
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...Lionel Briand
 
Reinforcement Learning for Test Case Prioritization
Reinforcement Learning for Test Case PrioritizationReinforcement Learning for Test Case Prioritization
Reinforcement Learning for Test Case PrioritizationLionel Briand
 
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...Lionel Briand
 
On Systematically Building a Controlled Natural Language for Functional Requi...
On Systematically Building a Controlled Natural Language for Functional Requi...On Systematically Building a Controlled Natural Language for Functional Requi...
On Systematically Building a Controlled Natural Language for Functional Requi...Lionel Briand
 
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Lionel Briand
 
Guidelines for Assessing the Accuracy of Log Message Template Identification ...
Guidelines for Assessing the Accuracy of Log Message Template Identification ...Guidelines for Assessing the Accuracy of Log Message Template Identification ...
Guidelines for Assessing the Accuracy of Log Message Template Identification ...Lionel Briand
 
A Theoretical Framework for Understanding the Relationship between Log Parsin...
A Theoretical Framework for Understanding the Relationship between Log Parsin...A Theoretical Framework for Understanding the Relationship between Log Parsin...
A Theoretical Framework for Understanding the Relationship between Log Parsin...Lionel Briand
 

More from Lionel Briand (20)

Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Metamorphic Testing for Web System Security
Metamorphic Testing for Web System SecurityMetamorphic Testing for Web System Security
Metamorphic Testing for Web System Security
 
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
Simulator-based Explanation and Debugging of Hazard-triggering Events in DNN-...
 
Fuzzing for CPS Mutation Testing
Fuzzing for CPS Mutation TestingFuzzing for CPS Mutation Testing
Fuzzing for CPS Mutation Testing
 
Data-driven Mutation Analysis for Cyber-Physical Systems
Data-driven Mutation Analysis for Cyber-Physical SystemsData-driven Mutation Analysis for Cyber-Physical Systems
Data-driven Mutation Analysis for Cyber-Physical Systems
 
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled SystemsMany-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
Many-Objective Reinforcement Learning for Online Testing of DNN-Enabled Systems
 
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
ATM: Black-box Test Case Minimization based on Test Code Similarity and Evolu...
 
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
Black-box Safety Analysis and Retraining of DNNs based on Feature Extraction ...
 
PRINS: Scalable Model Inference for Component-based System Logs
PRINS: Scalable Model Inference for Component-based System LogsPRINS: Scalable Model Inference for Component-based System Logs
PRINS: Scalable Model Inference for Component-based System Logs
 
Revisiting the Notion of Diversity in Software Testing
Revisiting the Notion of Diversity in Software TestingRevisiting the Notion of Diversity in Software Testing
Revisiting the Notion of Diversity in Software Testing
 
Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Applications of Search-based Software Testing to Trustworthy Artificial Intel...Applications of Search-based Software Testing to Trustworthy Artificial Intel...
Applications of Search-based Software Testing to Trustworthy Artificial Intel...
 
Autonomous Systems: How to Address the Dilemma between Autonomy and Safety
Autonomous Systems: How to Address the Dilemma between Autonomy and SafetyAutonomous Systems: How to Address the Dilemma between Autonomy and Safety
Autonomous Systems: How to Address the Dilemma between Autonomy and Safety
 
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
Mathematicians, Social Scientists, or Engineers? The Split Minds of Software ...
 
Reinforcement Learning for Test Case Prioritization
Reinforcement Learning for Test Case PrioritizationReinforcement Learning for Test Case Prioritization
Reinforcement Learning for Test Case Prioritization
 
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
Mutation Analysis for Cyber-Physical Systems: Scalable Solutions and Results ...
 
On Systematically Building a Controlled Natural Language for Functional Requi...
On Systematically Building a Controlled Natural Language for Functional Requi...On Systematically Building a Controlled Natural Language for Functional Requi...
On Systematically Building a Controlled Natural Language for Functional Requi...
 
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
 
Guidelines for Assessing the Accuracy of Log Message Template Identification ...
Guidelines for Assessing the Accuracy of Log Message Template Identification ...Guidelines for Assessing the Accuracy of Log Message Template Identification ...
Guidelines for Assessing the Accuracy of Log Message Template Identification ...
 
A Theoretical Framework for Understanding the Relationship between Log Parsin...
A Theoretical Framework for Understanding the Relationship between Log Parsin...A Theoretical Framework for Understanding the Relationship between Log Parsin...
A Theoretical Framework for Understanding the Relationship between Log Parsin...
 

Recently uploaded

一比一原版利兹大学毕业证学位证书
一比一原版利兹大学毕业证学位证书一比一原版利兹大学毕业证学位证书
一比一原版利兹大学毕业证学位证书E LSS
 
Arbitration, mediation and conciliation in India
Arbitration, mediation and conciliation in IndiaArbitration, mediation and conciliation in India
Arbitration, mediation and conciliation in IndiaNafiaNazim
 
Cleades Robinson's Commitment to Service
Cleades Robinson's Commitment to ServiceCleades Robinson's Commitment to Service
Cleades Robinson's Commitment to ServiceCleades Robinson
 
PPT on information technology laws description
PPT on information technology laws descriptionPPT on information technology laws description
PPT on information technology laws descriptionranaanish11062001
 
如何办理(USF文凭证书)美国旧金山大学毕业证学位证书
如何办理(USF文凭证书)美国旧金山大学毕业证学位证书如何办理(USF文凭证书)美国旧金山大学毕业证学位证书
如何办理(USF文凭证书)美国旧金山大学毕业证学位证书Fs Las
 
如何办理(uOttawa毕业证书)渥太华大学毕业证学位证书
如何办理(uOttawa毕业证书)渥太华大学毕业证学位证书如何办理(uOttawa毕业证书)渥太华大学毕业证学位证书
如何办理(uOttawa毕业证书)渥太华大学毕业证学位证书SD DS
 
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一st Las
 
How You Can Get a Turkish Digital Nomad Visa
How You Can Get a Turkish Digital Nomad VisaHow You Can Get a Turkish Digital Nomad Visa
How You Can Get a Turkish Digital Nomad VisaBridgeWest.eu
 
Key Factors That Influence Property Tax Rates
Key Factors That Influence Property Tax RatesKey Factors That Influence Property Tax Rates
Key Factors That Influence Property Tax RatesHome Tax Saver
 
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》o8wvnojp
 
如何办理(SFSta文凭证书)美国旧金山州立大学毕业证学位证书
如何办理(SFSta文凭证书)美国旧金山州立大学毕业证学位证书如何办理(SFSta文凭证书)美国旧金山州立大学毕业证学位证书
如何办理(SFSta文凭证书)美国旧金山州立大学毕业证学位证书Fs Las
 
Indemnity Guarantee Section 124 125 and 126
Indemnity Guarantee Section 124 125 and 126Indemnity Guarantee Section 124 125 and 126
Indemnity Guarantee Section 124 125 and 126Oishi8
 
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptxConstitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptxsrikarna235
 
如何办理(MSU文凭证书)密歇根州立大学毕业证学位证书
 如何办理(MSU文凭证书)密歇根州立大学毕业证学位证书 如何办理(MSU文凭证书)密歇根州立大学毕业证学位证书
如何办理(MSU文凭证书)密歇根州立大学毕业证学位证书Sir Lt
 
FINALTRUEENFORCEMENT OF BARANGAY SETTLEMENT.ppt
FINALTRUEENFORCEMENT OF BARANGAY SETTLEMENT.pptFINALTRUEENFORCEMENT OF BARANGAY SETTLEMENT.ppt
FINALTRUEENFORCEMENT OF BARANGAY SETTLEMENT.pptjudeplata
 
Offences against property (TRESPASS, BREAKING
Offences against property (TRESPASS, BREAKINGOffences against property (TRESPASS, BREAKING
Offences against property (TRESPASS, BREAKINGPRAKHARGUPTA419620
 
如何办理普利茅斯大学毕业证(本硕)Plymouth学位证书
如何办理普利茅斯大学毕业证(本硕)Plymouth学位证书如何办理普利茅斯大学毕业证(本硕)Plymouth学位证书
如何办理普利茅斯大学毕业证(本硕)Plymouth学位证书Fir L
 

Recently uploaded (20)

一比一原版利兹大学毕业证学位证书
一比一原版利兹大学毕业证学位证书一比一原版利兹大学毕业证学位证书
一比一原版利兹大学毕业证学位证书
 
Russian Call Girls Service Gomti Nagar \ 9548273370 Indian Call Girls Service...
Russian Call Girls Service Gomti Nagar \ 9548273370 Indian Call Girls Service...Russian Call Girls Service Gomti Nagar \ 9548273370 Indian Call Girls Service...
Russian Call Girls Service Gomti Nagar \ 9548273370 Indian Call Girls Service...
 
Arbitration, mediation and conciliation in India
Arbitration, mediation and conciliation in IndiaArbitration, mediation and conciliation in India
Arbitration, mediation and conciliation in India
 
Cleades Robinson's Commitment to Service
Cleades Robinson's Commitment to ServiceCleades Robinson's Commitment to Service
Cleades Robinson's Commitment to Service
 
PPT on information technology laws description
PPT on information technology laws descriptionPPT on information technology laws description
PPT on information technology laws description
 
如何办理(USF文凭证书)美国旧金山大学毕业证学位证书
如何办理(USF文凭证书)美国旧金山大学毕业证学位证书如何办理(USF文凭证书)美国旧金山大学毕业证学位证书
如何办理(USF文凭证书)美国旧金山大学毕业证学位证书
 
如何办理(uOttawa毕业证书)渥太华大学毕业证学位证书
如何办理(uOttawa毕业证书)渥太华大学毕业证学位证书如何办理(uOttawa毕业证书)渥太华大学毕业证学位证书
如何办理(uOttawa毕业证书)渥太华大学毕业证学位证书
 
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
定制(BU文凭证书)美国波士顿大学毕业证成绩单原版一比一
 
How You Can Get a Turkish Digital Nomad Visa
How You Can Get a Turkish Digital Nomad VisaHow You Can Get a Turkish Digital Nomad Visa
How You Can Get a Turkish Digital Nomad Visa
 
Key Factors That Influence Property Tax Rates
Key Factors That Influence Property Tax RatesKey Factors That Influence Property Tax Rates
Key Factors That Influence Property Tax Rates
 
Sensual Moments: +91 9999965857 Independent Call Girls Vasundhara Delhi {{ Mo...
Sensual Moments: +91 9999965857 Independent Call Girls Vasundhara Delhi {{ Mo...Sensual Moments: +91 9999965857 Independent Call Girls Vasundhara Delhi {{ Mo...
Sensual Moments: +91 9999965857 Independent Call Girls Vasundhara Delhi {{ Mo...
 
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
国外大学毕业证《奥克兰大学毕业证办理成绩单GPA修改》
 
如何办理(SFSta文凭证书)美国旧金山州立大学毕业证学位证书
如何办理(SFSta文凭证书)美国旧金山州立大学毕业证学位证书如何办理(SFSta文凭证书)美国旧金山州立大学毕业证学位证书
如何办理(SFSta文凭证书)美国旧金山州立大学毕业证学位证书
 
Indemnity Guarantee Section 124 125 and 126
Indemnity Guarantee Section 124 125 and 126Indemnity Guarantee Section 124 125 and 126
Indemnity Guarantee Section 124 125 and 126
 
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptxConstitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
Constitutional Values & Fundamental Principles of the ConstitutionPPT.pptx
 
如何办理(MSU文凭证书)密歇根州立大学毕业证学位证书
 如何办理(MSU文凭证书)密歇根州立大学毕业证学位证书 如何办理(MSU文凭证书)密歇根州立大学毕业证学位证书
如何办理(MSU文凭证书)密歇根州立大学毕业证学位证书
 
FINALTRUEENFORCEMENT OF BARANGAY SETTLEMENT.ppt
FINALTRUEENFORCEMENT OF BARANGAY SETTLEMENT.pptFINALTRUEENFORCEMENT OF BARANGAY SETTLEMENT.ppt
FINALTRUEENFORCEMENT OF BARANGAY SETTLEMENT.ppt
 
Offences against property (TRESPASS, BREAKING
Offences against property (TRESPASS, BREAKINGOffences against property (TRESPASS, BREAKING
Offences against property (TRESPASS, BREAKING
 
Vip Call Girls Greater Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Greater Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Greater Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Greater Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
如何办理普利茅斯大学毕业证(本硕)Plymouth学位证书
如何办理普利茅斯大学毕业证(本硕)Plymouth学位证书如何办理普利茅斯大学毕业证(本硕)Plymouth学位证书
如何办理普利茅斯大学毕业证(本硕)Plymouth学位证书
 

Automated detection and resolution of legal cross references

  • 1. Automated detection and resolution of legal cross references Approach and a study of Luxembourg’s legislation! Morayo Adedjouma1,2 Mehrdad Sabetzadeh1 Lionel Briand1 1 University of Luxembourg, Luxembourg! 2 McMaster University, Canada SsoftwareV verificVation & va.lidlaution
  • 2. Luxembourg • Population of 530,000 • The only Grand Duchy in existence! • Three official languages ! ! Luxembourg LUXEMBOURG • Language of administration and law is French 2 Diekirch Grevenmacher Pétange Esch-sur-Alzette GERMANY BELGIUM FRANCE 5 km
  • 3. How did this work come about? • Collaboration with Government of Luxembourg • CTIE: Government’s IT Centre • ACD: Tax Administration Department • New tax system under development • System needs to be compliant with the law 3
  • 4. Relating system requirements to legal texts Art. 2 Individuals are considered resident taxpayers if they have either their fiscal or habitual residence in the Grand Duchy. Individuals are considered non-resident taxpayers if they neither have their fiscal nor their habitual residence in the Grand Duchy, but have a local income within the meaning of Art.156. ! Resident taxpayers are subject to income tax over both local and foreign income. ! Non-resident taxpayers are subject to income tax only over their local income within the meaning of Art.156. derived from Cross R1: The system shall levy taxes on non-residents’ local income as per the annual tax scale. 4 Reference to another article
  • 5. Requirement dependencies Article 2 Article 156 potential dependencies 5 derived from R1 Cross Reference (CR) derived from R2 R3 R4 R2: For non-residents, rental and lease income earned in the Grand Duchy shall be considered as local income.
  • 6. Why should RE care about CRs? • CRs important for requirements change analysis [Ghanavati et al., 2014] ! • CRs entail (among other things) exceptions, constraints, and priorities [Maxwell et al., 2012]" ! • Ignoring or misunderstanding CRs leads to non-compliance in software [Maxwell et al., 2013] 6
  • 7. CR detection and resolution • Automatically identify and link CRs to targets 7
  • 8. Related work • CR detection and resolution: a well-trodden path • Dutch legislation [de Maat et al., 2006] • HIPAA Privacy Rule [Kiyavitskaya et al., 2008] • US regulations [Breaux, 2009] 8
  • 9. What’s new? • More thorough treatment of CR patterns ! • Systematic resolution process ! • Improved automation 9
  • 10. CR patterns • Grounded Theory study of Luxembourg’s Income Tax Law • first drafted in 1967; 189 pages; 236 articles; 767 paragraphs • All 1223 CRs analysed 10 Loi modifiée du 4 décembre 1967 concernant l´impôt sur le revenu Texte coordonné au 1er janvier 2013 Bureaux: 45, boulevard Roosevelt, Luxembourg Tél.: 40 800-1 Site Internet: Adresse postale: L-2982 Luxembourg Fax: 40 800-2022 www.impotsdirects.public.lu
  • 11. What did we learn? • CR patterns carry over across languages • thus, opportunities for reuse • All previously-known patterns were observed • New patterns were identified • … among which some are ambiguous 11
  • 12. Example of ambiguity articles 109, 1st paragraph, numbers 1 to 3, 127 and 154ter 12 art 109 par 1 no 1 2 3 127 154ter art 109 par 1 no 1 2 3 127 154ter
  • 13. Approach 13 Text schema from recommendations Define schema for structure of legal text Legal text (non-markup) Tailored schema Text with structure markup CR patterns Resolve cross references solution component discussed so far Visualization & Analysis Transform into markup text Markup text + CR links
  • 14. Text schema for the tax law 14 New or deviating from guidelines
  • 15. Markup scripts derived from the text schema Rule: MarkArticleSegment (({ArticleHead}):start ({LawHead} | {PartHead} | {BookHead} | {TitleHead} | {ChapterHead} | {SectionHead} | {SubsectionHead} | {SubpartHead} | {ArticleHead} | {EOD}):end) :ref -->:ref.ArticleSegment= {} Rule: MarkArticleHead (({Split})+ ({Token.string=="Art"} | {Token.string=="Article"}) ({Token.string=="."})? {Token.kind=="alphanum"} {Token.string=="."}) :ref -->:ref.ArticleHead= {} 15 Whatever is above or unrelated to Articles
  • 16. Example markup • Markup generated all the way down to sentences 16 Article head Article segment Paragraphs
  • 17. CR Resolution • Resolution algorithm discussed in the paper 17 Tailored schema Text with structure markup CR patterns Resolve cross references Markup text + CR links
  • 18. CR visualization and analysis • Legal text navigation 18 • Trace detection • Circularity analysis
  • 19. Completeness of CR patterns • Studied 164 randomly-selected pages from a corpus of 13 legal texts (1640 pages) • Oldest text drafted in 1808; newest in 2011 • 1852 CRs in the selected pages • Correctly identified 1813 CRs • Detected 38 CRs only partially • Missed 1 CR completely • 5 false positives 19 Detection accuracy ! Precision: 99.7% ! Recall: 97.9%
  • 20. Accuracy of resolution • Resolution attempted for tax law’s 928 internal CRs • 45 CRs (5%) marked for manual resolution • 874 CRs (94%) automatically resolved (1736 links) Resolution accuracy over CR expressions ! Precision: 99.9% ! Recall: 95% • 9 failure-to-resolve warnings • 8 due to anomalies in the text • 1 false positive due to limitations of the approach 20 over CR links" 97.5%
  • 21. Scalability • Results for the income tax law (189 pages): 21 Structural markup generation + CR identification 34 sec Resolution, generation of hyperlinked legal text, traceability matrix and diagnostics 290 sec Total Approx. 5 minutes
  • 23. A beneficial byproduct • Automated legal portal generation 23 webpage courtesy of CTIE
  • 24. Limitations • All CR types detected but only internal ones are currently resolved • Limited to legislative documents • Regulations, circular letters, directives, and parliamentary proceedings not covered 24
  • 25. What’s next? • Generation of semantic annotations for CRs • Change impact analysis for legal requirements 25
  • 26. Take away • Example of a transition from research to a palatable solution to the industry • Lesson learned from the transition: There is many a slip between the cup and the lip! 26
  • 27. Acknowledgements • CTIE: Ludwig Balmer, Marc Blau, Yves Boland, Michaël Masseroni, Gautier Barrère • ACD: Thierry Prommenschenkel, Guy Heintz, Vincent D'Angelo • SnT: Domenico Bianculli 27