Skip to content

Commit ee7a3d5

Browse files
committed
Refactor code structure for forms to dynamic form engine shortcode for improved readability and maintainability
1 parent 4d91615 commit ee7a3d5

31 files changed

+737
-1641
lines changed

content/english/about/contact.md

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,29 @@ title: Get in touch
33
subtitle: |
44
Reach out to Algorithm Audit by filling in the below contact form.
55
image: /images/svg-illustrations/faq.svg
6-
form1:
7-
title: Contact form
8-
button_text: Send
9-
backend_link: 'https://formspree.io/f/mrgrwnyo'
10-
id: contact-form
11-
questions:
12-
- label: Name
13-
id: name
14-
type: text
15-
placeholder: ''
16-
- label: Contact details
17-
id: contact-details
18-
type: email
19-
placeholder: Mail address
20-
- label: Message
21-
id: message
22-
type: textarea
6+
dynamic_form_engine:
7+
- title: Contact form
8+
id: contact-form
9+
icon: fas fa-align-justify
10+
section:
11+
- questions:
12+
- identifier: name
13+
title: Name
14+
required: true
15+
type: text
16+
- identifier: contact-details
17+
title: Contact details
18+
required: true
19+
type: email
20+
placeholder: Mail address
21+
- identifier: message
22+
title: Message
23+
required: true
24+
type: textarea
25+
complete_form_options:
26+
type: submit
27+
button_text: Send
28+
backend_link: "https://formspree.io/f/mrgrwnyo"
2329
---
2430

25-
{{< form1 >}}
31+
{{< dynamic_form_engine index="0" >}}

content/english/algoprudence/cases/aa202201_type-of-sim.md

Lines changed: 39 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,40 @@ title: Type of SIM card as a predictor for detecting payment fraud
44
subtitle: |
55
Probleem statement (ALGO:AA:2022:01:P) and advice document (ALGO:AA:2022:01:A)
66
image: /images/algoprudence/AA202201/Cover.png
7-
form1:
8-
title: React to this normative judgement
9-
content: >-
10-
Your reaction will be sent to the team maintaining algoprudence. A team will
11-
review your response and, if it complies with the guidelines, it will be
12-
placed in the Discussion & debate section above.
13-
button_text: Submit
14-
backend_link: 'https://formspree.io/f/xyyrjyzr'
15-
id: case-reaction
16-
questions:
17-
- label: |
18-
Name
19-
id: name
20-
required: true
21-
type: text
22-
- label: |
23-
Affiliated organization
24-
id: affiliated-organization
25-
type: text
26-
- label: |
27-
Reaction
28-
id: reaction
29-
required: true
30-
type: textarea
31-
- label: |
32-
Contact details
33-
id: contact-details
34-
required: true
35-
type: text
36-
placeholder: Mail address
7+
dynamic_form_engine:
8+
- title: React to this normative judgement
9+
content: >-
10+
Your reaction will be sent to the team maintaining algoprudence. A team will
11+
review your response and, if it complies with the guidelines, it will be
12+
placed in the Discussion & debate section above.
13+
id: case-reaction
14+
icon: fas fa-align-justify
15+
section:
16+
- questions:
17+
- title: |
18+
Name
19+
identifier: name
20+
required: true
21+
type: text
22+
- title: |
23+
Affiliated organization
24+
identifier: affiliated-organization
25+
type: text
26+
- title: |
27+
Reaction
28+
identifier: reaction
29+
required: true
30+
type: textarea
31+
- title: |
32+
Contact details
33+
identifier: contact-details
34+
required: true
35+
type: text
36+
placeholder: Mail address
37+
complete_form_options:
38+
type: submit
39+
button_text: Submit
40+
backend_link: "https://formspree.io/f/xyyrjyzr"
3741
---
3842

3943
{{< tab_header width="6" tab1_id="description" tab1_title="Description of algoprudence" tab2_id="" tab2_title="" tab3_id="" tab3_title="" default_tab="description" >}}
@@ -58,11 +62,11 @@ Anonymized large multinational company with e-commerce platform.
5862

5963
#### Normative advice commission
6064

61-
* Fleur Jongepier, Assistant Professor Digital Ethics, Radboud University
62-
* Jan Overgoor, PhD Management Science and Engineering, Stanford University
63-
* Merel Noorman, Assistant Professor Law, Technology and Society, Tilburg University
64-
* Roel Dobbe, Assistant Professor Engineering Systems and Services, TU Delft
65+
- Fleur Jongepier, Assistant Professor Digital Ethics, Radboud University
66+
- Jan Overgoor, PhD Management Science and Engineering, Stanford University
67+
- Merel Noorman, Assistant Professor Law, Technology and Society, Tilburg University
68+
- Roel Dobbe, Assistant Professor Engineering Systems and Services, TU Delft
6569

6670
{{< tab_content_close >}}
6771

68-
{{< form1 >}}
72+
{{< dynamic_form_engine index="0" >}}

content/english/algoprudence/cases/aa202301_bert-based-disinformation-classifier.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ A visual presentation of this case study can be found in this [slide deck](http
3838

3939
#### Normative advice commission
4040

41-
* Anne Meuwese, Professor in Public Law & AI at Leiden University
42-
* Hinda Haned, Professor in Responsible Data Science at University of Amsterdam
43-
* Raphaële Xenidis, Associate Professor in EU law at Sciences Po Paris
44-
* Aileen Nielsen, Fellow Law\&Tech at ETH Zürich
45-
* Carlos Hernández-Echevarría, Assistant Director and Head of Public Policy at the anti-disinformation nonprofit fact-checker [Maldita.es](https://maldita.es/maldita-es-journalism-to-not-be-fooled/)
46-
* Ellen Judson, Head of CASM and Sophia Knight, Researcher, CASM at Britain’s leading cross-party think tank [Demos](https://demos.co.uk/)
41+
- Anne Meuwese, Professor in Public Law & AI at Leiden University
42+
- Hinda Haned, Professor in Responsible Data Science at University of Amsterdam
43+
- Raphaële Xenidis, Associate Professor in EU law at Sciences Po Paris
44+
- Aileen Nielsen, Fellow Law\&Tech at ETH Zürich
45+
- Carlos Hernández-Echevarría, Assistant Director and Head of Public Policy at the anti-disinformation nonprofit fact-checker [Maldita.es](https://maldita.es/maldita-es-journalism-to-not-be-fooled/)
46+
- Ellen Judson, Head of CASM and Sophia Knight, Researcher, CASM at Britain’s leading cross-party think tank [Demos](https://demos.co.uk/)
4747

4848
{{< tab_content_close >}}
4949

@@ -70,5 +70,3 @@ Our [unsupervised bias detection tool](/technical-tools/bdt/) and this case st
7070
{{< accordions_area_close >}}
7171

7272
{{< tab_content_close >}}
73-
74-
{{< form1 >}}

content/english/algoprudence/cases/aa202302_risk-profiling-for-social-welfare-reexamination.md

Lines changed: 49 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,40 @@ title: Risk Profiling for Social Welfare Reexamination
55
subtitle: |
66
Problem statement (ALGO:AA:2023:02:P) en advice document (ALGO:AA:2023:02:A)
77
image: /images/algoprudence/AA202302/AA202302A_cover_EN.png
8-
form1:
9-
title: React to this normative judgement
10-
content: >-
11-
Your reaction will be sent to the team maintaining algoprudence. A team will
12-
review your response and, if it complies with the guidelines, it will be
13-
placed in the Discussion & debate section above.
14-
button_text: Submit
15-
backend_link: 'https://formspree.io/f/xyyrjyzr'
16-
id: case-reaction
17-
questions:
18-
- label: |
19-
Name
20-
id: name
21-
required: true
22-
type: text
23-
- label: |
24-
Affiliated organization
25-
id: affiliated-organization
26-
type: text
27-
- label: |
28-
Reaction
29-
id: reaction
30-
required: true
31-
type: textarea
32-
- label: |
33-
Contact details
34-
id: contact-details
35-
required: true
36-
type: text
37-
placeholder: Mail address
8+
dynamic_form_engine:
9+
- title: React to this normative judgement
10+
content: >-
11+
Your reaction will be sent to the team maintaining algoprudence. A team will
12+
review your response and, if it complies with the guidelines, it will be
13+
placed in the Discussion & debate section above.
14+
id: case-reaction
15+
icon: fas fa-align-justify
16+
section:
17+
- questions:
18+
- title: |
19+
Name
20+
identifier: name
21+
required: true
22+
type: text
23+
- title: |
24+
Affiliated organization
25+
identifier: affiliated-organization
26+
type: text
27+
- title: |
28+
Reaction
29+
identifier: reaction
30+
required: true
31+
type: textarea
32+
- title: |
33+
Contact details
34+
identifier: contact-details
35+
required: true
36+
type: text
37+
placeholder: Mail address
38+
complete_form_options:
39+
type: submit
40+
button_text: Submit
41+
backend_link: "https://formspree.io/f/xyyrjyzr"
3842
---
3943

4044
{{< tab_header width="4" tab1_id="description" tab1_title="Description of algoprudence" tab2_id="actions" tab2_title="Actions following algoprudence" tab3_id="discussion" tab3_title="Discussion & debate" default_tab="description" >}}
@@ -47,15 +51,15 @@ ALGO:AA:2023:02
4751

4852
#### Key takeaways normative advice commission
4953

50-
* <span style="color:#005aa7; font-weight:600;">Algorithmic profiling is possible under strict conditions</span>\
54+
- <span style="color:#005aa7; font-weight:600;">Algorithmic profiling is possible under strict conditions</span>\
5155
The use of algorithmic profiling to re-examine whether social welfare benefits have been duly granted, is acceptable if applied responsibly.
52-
* <span style="color:#005aa7; font-weight:600;">Profiling must not equate suspicion</span>\
56+
- <span style="color:#005aa7; font-weight:600;">Profiling must not equate suspicion</span>\
5357
Re-examination needs to be based more on service and less on distrust.
54-
* <span style="color:#005aa7; font-weight:600;">Diversity in selection methods</span>\
58+
- <span style="color:#005aa7; font-weight:600;">Diversity in selection methods</span>\
5559
To avoid tunnel vision and negative feedback loops, algorithmic profiling ought to be combined with expert-driven profiling and random sampling.
56-
* <span style="color:#005aa7; font-weight:600;">Well-considered use of profiling criteria</span>\
60+
- <span style="color:#005aa7; font-weight:600;">Well-considered use of profiling criteria</span>\
5761
Caring to avoid (proxy) discrimination and other undesirable forms of differentiation, the normative advice commission assessed variables individually on their eligibility for profiling (see Infographic).
58-
* <span style="color:#005aa7; font-weight:600;">Explainability requirements for machine learning</span>\
62+
- <span style="color:#005aa7; font-weight:600;">Explainability requirements for machine learning</span>\
5963
It is necessary that the sampling of residents can be explained throughout the entire decision-making process. Complex training methods for variable selection, such as the xgboost algorithm discussed in this case study, are considered too complex to meet explainability requirements.
6064

6165
#### Infographic
@@ -82,11 +86,11 @@ The advice report (ALGO:AA:2023:02:A) has been presented to the Dutch Minister o
8286

8387
#### Normative advice commission
8488

85-
* Abderrahman El Aazani, Researcher at the Ombudsman Rotterdam-Rijnmond
86-
* Francien Dechesne, Associate Professor Law and Digital Technologies, Leiden University
87-
* Maarten van Asten, Alderman Finance, Digitalization, Sports and Events Municipality of Tilburg
88-
* Munish Ramlal, Ombudsman Metropole region Amsterdam
89-
* Oskar Gstrein, Assistant Professor Governance and Innovation, University of Groningen
89+
- Abderrahman El Aazani, Researcher at the Ombudsman Rotterdam-Rijnmond
90+
- Francien Dechesne, Associate Professor Law and Digital Technologies, Leiden University
91+
- Maarten van Asten, Alderman Finance, Digitalization, Sports and Events Municipality of Tilburg
92+
- Munish Ramlal, Ombudsman Metropole region Amsterdam
93+
- Oskar Gstrein, Assistant Professor Governance and Innovation, University of Groningen
9094

9195
{{< tab_content_close >}}
9296

@@ -98,11 +102,11 @@ The advice report (ALGO:AA:2023:02:A) has been presented to the Dutch Minister o
98102

99103
##### Description
100104

101-
 Council members submitted <a href="https://amsterdam.raadsinformatie.nl/document/13573898/1/236+sv+Aslami%2C+IJmker+en+Garmy+inzake+toegepaste+profileringscriteria+gemeentelijke+algoritmes" target="_blank">questions</a> whether the machine learning (ML)-driven risk profiling algorithm currently tested by the City of Amsterdam satisfies the requirements as set out in ALGO:AA:2023:02:A, including:
105+
Council members submitted <a href="https://amsterdam.raadsinformatie.nl/document/13573898/1/236+sv+Aslami%2C+IJmker+en+Garmy+inzake+toegepaste+profileringscriteria+gemeentelijke+algoritmes" target="_blank">questions</a> whether the machine learning (ML)-driven risk profiling algorithm currently tested by the City of Amsterdam satisfies the requirements as set out in ALGO:AA:2023:02:A, including:
102106

103-
* (in)eligible selection criteria fed to the ML model
104-
* explainability requirements for the used explainable boosting algorithm
105-
* implications of the AIAct for this particular form of risk profiling.
107+
- (in)eligible selection criteria fed to the ML model
108+
- explainability requirements for the used explainable boosting algorithm
109+
- implications of the AIAct for this particular form of risk profiling.
106110

107111
{{< embed_pdf url="/pdf-files/algoprudence/ALGO_AA202302/Actions/20231204_236 sv Aslami, IJmker en Garmy inzake toegepaste profileringscriteria gemeentelijke algoritmes.pdf" width_mobile_pdf="12" width_desktop_pdf="6" >}}
108112

@@ -142,4 +146,4 @@ Therefore, in the case of detecting unduly granted social welfare or misuse of c
142146

143147
{{< tab_content_close >}}
144148

145-
{{< form1 >}}
149+
{{< dynamic_form_engine index="0" >}}

content/english/algoprudence/cases/aa202401_preventing-prejudice.md

Lines changed: 37 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,40 @@ subtitle: >
66
Technical audit (TA:AA:2024:01) of risk profiling algorithm used by Dutch Executive Agency of Education
77
control process
88
image: /images/algoprudence/AA202401/Cover_EN.png
9-
form1:
10-
title: React to this technical audit
11-
content: >-
12-
Your reaction will be sent to the auditing team. The team will review your
13-
response and, if it complies with Algorithm Audit's guidelines, the reaction
14-
will be placed in the Discussion & debate section above.
15-
button_text: Submit
16-
backend_link: 'https://formspree.io/f/xyyrjyzr'
17-
id: case-reaction
18-
questions:
19-
- label: |
20-
Name
21-
id: name
22-
required: true
23-
type: text
24-
- label: |
25-
Affiliated organization
26-
id: affiliated-organization
27-
type: text
28-
- label: |
29-
Reaction
30-
id: reaction
31-
required: true
32-
type: textarea
33-
- label: |
34-
Contact details
35-
id: contact-details
36-
required: true
37-
type: email
38-
placeholder: Mail address
9+
dynamic_form_engine:
10+
- title: React to this technical audit
11+
content: >-
12+
Your reaction will be sent to the auditing team. The team will review your
13+
response and, if it complies with Algorithm Audit's guidelines, the reaction
14+
will be placed in the Discussion & debate section above.
15+
id: case-reaction
16+
icon: fas fa-align-justify
17+
section:
18+
- questions:
19+
- title: |
20+
Name
21+
identifier: name
22+
required: true
23+
type: text
24+
- title: |
25+
Affiliated organization
26+
identifier: affiliated-organization
27+
type: text
28+
- title: |
29+
Reaction
30+
identifier: reaction
31+
required: true
32+
type: textarea
33+
- title: |
34+
Contact details
35+
identifier: contact-details
36+
required: true
37+
type: email
38+
placeholder: Mail address
39+
complete_form_options:
40+
type: submit
41+
button_text: Submit
42+
backend_link: "https://formspree.io/f/xyyrjyzr"
3943
---
4044

4145
{{< tab_header width="4" tab1_id="description" tab1_title="Description of technical audit" tab2_id="actions" tab2_title="Actions following technical audit" tab3_id="discussion" tab3_title="Discussion & debate" default_tab="description" >}}
@@ -48,7 +52,7 @@ TA:AA:2024:01
4852

4953
#### Summary
5054

51-
In the period 2012-2022, students who lived close to their parent(s) have been selected significantly more often by Dutch public sector organisation DUO than other students. The algorithm used to support the selection procedure performed as expected. The combination of the algorithm-driven risk scoring and manual selection for the contorl process resulted in a significant overrepresentation of certain groups. Selected students were visited at home to verify whether they were not misusing college allowances. This is the main conclusion of the audit conducted by the Algorithm Audit Foundation on behalf of DUO. DUO's control process came under scrutiny in 2023 following <a href="https://nos.nl/op3/video/2479701-zo-checkt-duo-of-jij-fraudeert-en-dat-systeem-rammelt" target="_blank">news items</a> from Investico and NOS, which stated that students with a migration background were more often accused of abuse than other students.
55+
In the period 2012-2022, students who lived close to their parent(s) have been selected significantly more often by Dutch public sector organisation DUO than other students. The algorithm used to support the selection procedure performed as expected. The combination of the algorithm-driven risk scoring and manual selection for the contorl process resulted in a significant overrepresentation of certain groups. Selected students were visited at home to verify whether they were not misusing college allowances. This is the main conclusion of the audit conducted by the Algorithm Audit Foundation on behalf of DUO. DUO's control process came under scrutiny in 2023 following <a href="https://nos.nl/op3/video/2479701-zo-checkt-duo-of-jij-fraudeert-en-dat-systeem-rammelt" target="_blank">news items</a> from Investico and NOS, which stated that students with a migration background were more often accused of abuse than other students.
5256
berichtgeving
5357

5458
A press release can be found [here](/events/press_room/#DUO).
@@ -71,7 +75,7 @@ Education Executive Agency of The Netherlands (DUO)
7175

7276
##### Description
7377

74-
Report *Preventing prejudice* has been <a href="https://www.rijksoverheid.nl/documenten/kamerstukken/2024/03/01/kabinetsreactie-onderzoek-naar-controleproces-uitwonendenbeurs" target="_blank">sent</a> as part of the Internal research documents to Dutch Parliament
78+
Report _Preventing prejudice_ has been <a href="https://www.rijksoverheid.nl/documenten/kamerstukken/2024/03/01/kabinetsreactie-onderzoek-naar-controleproces-uitwonendenbeurs" target="_blank">sent</a> as part of the Internal research documents to Dutch Parliament
7579

7680
{{< accordion_item_close >}}
7781

@@ -109,4 +113,4 @@ Therefore, in the case of detecting unduly granted social welfare or misuse of c
109113

110114
{{< tab_content_close >}}
111115

112-
{{< form1 >}}
116+
{{< dynamic_form_engine index="0" >}}

0 commit comments

Comments
 (0)