SlideShare a Scribd company logo
September 29th 2020
“Rules as code”: coding the legislation
for the benefit of citizens & rule-makers
– with OpenFisca!
WHO ARE WE
“Rules as code”: coding the legislation for the benefit of citizens & rule-makers – with OpenFisca!
“Rules as code”: coding the legislation for the benefit of citizens & rule-makers – with OpenFisca!
WHAT IS OPENFISCA
A modular mass
micro-simulation framework
• Formulas
• Conditions
• Decisions, decisions, decisions...
Rules
8
Example: The amount of income tax.
Tax-benefit legislation are...
• An individual
• Or a group of individuals
Example: family, tax household, company...
People
9
Applied on...
“Rules as code”: coding the legislation for the benefit of citizens & rule-makers – with OpenFisca!
WHAT IS #RAC?
Typical mass micro-simulation framework
If you don’t have access to the exact
dataset, you can’t use it
What if we wanted to use this data
instead?
“Rules as code”: coding the legislation for the benefit of citizens & rule-makers – with OpenFisca!
“Rules as code”: coding the legislation for the benefit of citizens & rule-makers – with OpenFisca!
Separate data from rules => #RaC
18
WHAT CAN WE DO WITH
OPENFISCA / #RAC?
LexImpact
Evaluate the impact of the Budget Bill
● Partnership with Parliament
● Evaluate the impact of the Budget Bill
● Propose amendments
20
LexImpact
“Today, Parliament has few means of
evaluating amendments and proposals before
passing a law.”
Problem
“The impacts on the population and revenues
are therefore too often discovered during
debates...”
Problem
“...or even once the law has been voted and
implemented.”
Problem
“Help our parliamentarians to estimate the
impact of their amendments before voting!”
Value Proposition
“LexImpact, an interface that allows you to
quickly simulate the impact of parametric income
tax reforms.”
Solution
26
Open LexImpact – Hypothetical Cases
27
LexImpact Pop – Tax-Benefit Data
HOW DOES LEXIMPACT
WORK?
29
LexImpact - Architecture
Step #1: Identify the survey data
● Merge individuals & menages to create social households
● Transform social households into tax households
● Recreate necessary income data
○ Extrapolations sometimes needed
● Export to OpenFisca data
Step #2: Transform survey data into OpenFisca data
Objective
● The model must be as precise as possible
● Without jeopardizing fiscal secrecy
Step #3: Anonymization
● Important concept in France, thus a custom
anonymisation was necessary to access data:
○ Removing non essential data
○ Aggregating in household that represent >10 real
households
○ Adding noise in recognizable data (salaries)
○ Using buckets (e.g. replacing date of birth by range of
age that is sufficient for income tax)
Step #3: Anonymization
34
Step #4: Rock n’ roll
35
Step #4: Rock n’ roll
QUESTIONS
THANKS FOR LISTENING !
contact@beta.gouv.fr
contact@openfisca.org
contact@leximpact.an.fr

More Related Content

PPTX
Coding the rules for the benefit of people, companies, and rule-makers
PPTX
Delivering digital public services @ Sciences Po (2021-11-15)
PPTX
Delivering better digital public services
PPTX
Data-driven public sector @ Sciences Po
PDF
Government as a platform
PPTX
20140331 scaling france open data policy @oecd pgc
PPTX
NVI Deconstructing IoT 3 jJly 2013 by Maurizio Pilu - CDEC
Coding the rules for the benefit of people, companies, and rule-makers
Delivering digital public services @ Sciences Po (2021-11-15)
Delivering better digital public services
Data-driven public sector @ Sciences Po
Government as a platform
20140331 scaling france open data policy @oecd pgc
NVI Deconstructing IoT 3 jJly 2013 by Maurizio Pilu - CDEC

What's hot (20)

PDF
DWS15 - Future Digital Economy Forum - Introduction - Yves Gassot - IDATE
PPTX
PDF
Crypto-economy : a new digital economy
PPT
Digital Barnsley
PPTX
Open Data & Its Value, MISA, London, Ontario, Workshop
PDF
Collaborative Economy: a p2p renaissance
PPTX
2015 ODI Summit — Embracing Generation Open & Network Thinking — Gavin Starks
PDF
From @awtbe to @digitalwallonia. Setting up a digital strategy for Wallonia
PPT
Involving Developers
PDF
YFactor 2701 report
PPTX
DFS21_Main Stage_Maria Staszkiewicz_EDFA_211130
PDF
About the ODI slides + notes for potential investors
PPTX
MIT in the Digital Economy Examines New Technologies and Innovations
PPTX
Dr Jim Hamill CIPR Scotland AGM 2016
PPTX
Open innovation athene2
PPTX
HORIZON 2020, ICT enabling Open innovation Projects,Vilnius
PDF
ODI 2015 06 opentech - Gavin Starks
PDF
Innovative Approaches for Smart City Development
PDF
ODI London Sport event presentation 2016-02-03
PDF
2020.05.29 Digital World Forum - Heroes & Villains of Government Digital Tran...
DWS15 - Future Digital Economy Forum - Introduction - Yves Gassot - IDATE
Crypto-economy : a new digital economy
Digital Barnsley
Open Data & Its Value, MISA, London, Ontario, Workshop
Collaborative Economy: a p2p renaissance
2015 ODI Summit — Embracing Generation Open & Network Thinking — Gavin Starks
From @awtbe to @digitalwallonia. Setting up a digital strategy for Wallonia
Involving Developers
YFactor 2701 report
DFS21_Main Stage_Maria Staszkiewicz_EDFA_211130
About the ODI slides + notes for potential investors
MIT in the Digital Economy Examines New Technologies and Innovations
Dr Jim Hamill CIPR Scotland AGM 2016
Open innovation athene2
HORIZON 2020, ICT enabling Open innovation Projects,Vilnius
ODI 2015 06 opentech - Gavin Starks
Innovative Approaches for Smart City Development
ODI London Sport event presentation 2016-02-03
2020.05.29 Digital World Forum - Heroes & Villains of Government Digital Tran...
Ad

Similar to “Rules as code”: coding the legislation for the benefit of citizens & rule-makers – with OpenFisca! (20)

PPTX
OpenFisca (International)
PPTX
open data: opportunities and challenges for business and government
PPTX
Open Data: opportunities and challenges for business and government
PPTX
Tim Willoughby - Presentation to Innovation Masters 2016
PDF
Tax Administration 3.0 Sistem Informasi Penerimaan Negara
PPTX
CDE Catapult by Maurizio Pilu - Cambridge Wireless Event - 28 Nov 2013
PPTX
AI and Robotics policy overview - Adam Thierer (Aug 2022)
PPTX
Digital econ policy data presentation for readie 18mar2016
PPTX
Ecosystems, Platforms and Interoperability in IoT - 22/11/2013
PPTX
Datasciencein E-commerce industry
PDF
Rakuten - Recommendation Platform
PDF
sylviane toporkoff one conference prague 2013
PPTX
Open Government in Great Britain
PPT
Lexing Barcelona Conference
PPTX
Marsden CELPU 2021 platform law co-regulation
PPTX
Digital economy
PDF
Osimopolitika20v2
PDF
The DMA conference 2012
PDF
Regulation and competition in light of digitalisation – Miguel de la Mano – ...
PDF
Open Data and Apps
OpenFisca (International)
open data: opportunities and challenges for business and government
Open Data: opportunities and challenges for business and government
Tim Willoughby - Presentation to Innovation Masters 2016
Tax Administration 3.0 Sistem Informasi Penerimaan Negara
CDE Catapult by Maurizio Pilu - Cambridge Wireless Event - 28 Nov 2013
AI and Robotics policy overview - Adam Thierer (Aug 2022)
Digital econ policy data presentation for readie 18mar2016
Ecosystems, Platforms and Interoperability in IoT - 22/11/2013
Datasciencein E-commerce industry
Rakuten - Recommendation Platform
sylviane toporkoff one conference prague 2013
Open Government in Great Britain
Lexing Barcelona Conference
Marsden CELPU 2021 platform law co-regulation
Digital economy
Osimopolitika20v2
The DMA conference 2012
Regulation and competition in light of digitalisation – Miguel de la Mano – ...
Open Data and Apps
Ad

More from Mauko Quiroga (20)

PPTX
Défi “Simule ton amendement”
PPTX
Simuler l’impact des réformes socio-fiscales
PPTX
Simulateur d’impact des politiques fiscales à destination du parlement et de ...
PPTX
What have we learnt from digital startups and entrepreneurs to design and del...
PPTX
From public APIs is to contributive digital commons
PDF
OpenFisca (France)
PDF
BetaGouv : concevoir les politiques publiques autrement
PDF
BetaGouv (Sciences Po)
PDF
OpenFisca - Rapport d'activité 2018
PPTX
From open data to government as a platform - European week of regions and cities
PPTX
From “user stories” to “job stories” (with examples)
PPTX
Le design de la communication dans les services publics numériques
PPTX
L’incubateur de services numériques : méthodes et apprentissages
PPTX
Startup d’État : l’agilité au profit des citoyen·ne·s
PDF
Faciliter la collaboration sur les tests utilisateurs en mode guérilla
PPTX
3✕SMV
PPTX
What is not kanban?
PPTX
What is Kanban?
PPTX
La Agilidad en Acid
PPTX
The Landing Page Experiment
Défi “Simule ton amendement”
Simuler l’impact des réformes socio-fiscales
Simulateur d’impact des politiques fiscales à destination du parlement et de ...
What have we learnt from digital startups and entrepreneurs to design and del...
From public APIs is to contributive digital commons
OpenFisca (France)
BetaGouv : concevoir les politiques publiques autrement
BetaGouv (Sciences Po)
OpenFisca - Rapport d'activité 2018
From open data to government as a platform - European week of regions and cities
From “user stories” to “job stories” (with examples)
Le design de la communication dans les services publics numériques
L’incubateur de services numériques : méthodes et apprentissages
Startup d’État : l’agilité au profit des citoyen·ne·s
Faciliter la collaboration sur les tests utilisateurs en mode guérilla
3✕SMV
What is not kanban?
What is Kanban?
La Agilidad en Acid
The Landing Page Experiment

Recently uploaded (20)

PDF
Items # 6&7 - 900 Cambridge Oval Right-of-Way
PPTX
SUKANYA SAMRIDDHI YOJANA RESEARCH REPORT AIMS OBJECTIVES ITS PROVISION AND IM...
PPTX
SOMANJAN PRAMANIK_3500032 2042.pptx
PPTX
DFARS Part 253 - Forms - Defense Contracting Regulations
PPT
The Central Civil Services (Leave Travel Concession) Rules, 1988, govern the ...
PPTX
Developing_An_Advocacy_Agenda_by_Kevin_Karuga.pptx
PPTX
BHARATIYA NAGARIKA SURAKSHA SAHMITA^J2023 (1).pptx
PPTX
cpgram enivaran cpgram enivaran cpgram enivaran
PPTX
Workshop-Session-1-LGU-WFP-Formulation.pptx
PPTX
International Tracking Project Unloading Guidance Manual V1 (1) 1.pptx
PPTX
Core Humanitarian Standard Presentation by Abraham Lebeza
PPTX
The DFARS - Part 251 - Use of Government Sources By Contractors
PPTX
Part II LGU Accreditation of CSOs and Selection of Reps to LSBs ver2.pptx
PDF
The Detrimental Impacts of Hydraulic Fracturing for Oil and Gas_ A Researched...
PDF
UNEP/ UNEA Plastic Treaty Negotiations Report of Inc 5.2 Geneva
PPTX
Portland FPDR Oregon Legislature 2025.pptx
PPTX
Part I CSO Conference and AVP Overview.pptx
PPTX
ANALYSIS OF THE PROCLAMATION OF THE PHILIPPHINE INDEPENDENCE.pptx
PPTX
True Fruits_ reportcccccccccccccccc.pptx
PDF
Item # 5 - 5307 Broadway St final review
Items # 6&7 - 900 Cambridge Oval Right-of-Way
SUKANYA SAMRIDDHI YOJANA RESEARCH REPORT AIMS OBJECTIVES ITS PROVISION AND IM...
SOMANJAN PRAMANIK_3500032 2042.pptx
DFARS Part 253 - Forms - Defense Contracting Regulations
The Central Civil Services (Leave Travel Concession) Rules, 1988, govern the ...
Developing_An_Advocacy_Agenda_by_Kevin_Karuga.pptx
BHARATIYA NAGARIKA SURAKSHA SAHMITA^J2023 (1).pptx
cpgram enivaran cpgram enivaran cpgram enivaran
Workshop-Session-1-LGU-WFP-Formulation.pptx
International Tracking Project Unloading Guidance Manual V1 (1) 1.pptx
Core Humanitarian Standard Presentation by Abraham Lebeza
The DFARS - Part 251 - Use of Government Sources By Contractors
Part II LGU Accreditation of CSOs and Selection of Reps to LSBs ver2.pptx
The Detrimental Impacts of Hydraulic Fracturing for Oil and Gas_ A Researched...
UNEP/ UNEA Plastic Treaty Negotiations Report of Inc 5.2 Geneva
Portland FPDR Oregon Legislature 2025.pptx
Part I CSO Conference and AVP Overview.pptx
ANALYSIS OF THE PROCLAMATION OF THE PHILIPPHINE INDEPENDENCE.pptx
True Fruits_ reportcccccccccccccccc.pptx
Item # 5 - 5307 Broadway St final review

“Rules as code”: coding the legislation for the benefit of citizens & rule-makers – with OpenFisca!