Guidance

Design Phase Activity Booklet (text only)

Published 5 June 2025

These materials were produced by The Alan Turing Institute through an extended engagement with personnel at the UK Ministry of Justice. 

Ethics Process 

Introduction to the SAFE-D Framework 

  • Read the Introduction Booklet and familiarise yourself with the Project Lifecycle Model. 

SAFE-D Principles Booklet 

  • Read the SAFE-D Principles Booklet and familiarise yourself with the principles and their core attributes.  

Design Phase Activity Booklet 

  • SAFE-D Identification Workshop Exercise 
  • Litmus Test 
  • Stakeholder Engagement Worksheet 
  • Additional activities where relevant 

Development Phase Activity Booklet 

  • SAFE-D Reflection Workshop Exercise 
  • Development Phase Questionnaire  
  • Stakeholder Engagement Worksheet 
  • Additional activities where relevant 

Deployment Phase Activity Booklet 

  • SAFE-D Assurance Workshop Exercise 
  • Deployment Phase Questionnaire 
  • Stakeholder Engagement Worksheet 
  • Additional activities where relevant 

Project Design Phase 

Project Design 

Preliminary tasks and activities that set the foundations for the development of the model and system. 

Lower-level lifecycle stages and their ethical significance 

Project Planning 

Project planning includes initial activities to define the project’s aims, objectives, scope, processes, and assess potential risks and benefits. 

Ethical significance: 

  • Foundation for success: Encourages anticipatory and reflective activities, providing a stable base for the project 
  • Team agreements: Allows the team to establish “red lines,” identifying contexts where the system shouldn’t be used and data types that are off-limits 
  • Setting milestones: Helps the team establish milestones and objectives to track progress and ensure goals are met throughout the project 

Problem Formulation 

This task involves creating a clear statement about the main problem the project aims to solve, and a detailed description of the computational process involved. 

Ethical significance: 

  • Understanding the problem: This task helps clarify the validity of the project by defining the computational process and its higher-level goals 
  • Addressing broader issues: It ensures the project’s goal is valid and that the system can effectively tackle wider social or policy challenges. This clarity also aids in engaging stakeholders and enhancing project communication 

Data Extraction (or procurement) 

Data extraction involves designing methods for gathering data based on earlier planning and problem formulation, as well as the actual collection and storage of new or existing data. 

Ethical significance: 

  • The principle of “garbage in, garbage out” highlights the importance of this task. Machine learning and AI systems rely heavily on the quality of input data. 
  • Responsible practices: Proper data extraction is crucial for creating accountable and trustworthy services, developing safe and fair algorithms, and ensuring sustainable, privacy-preserving systems 

Data Analysis 

Data analysis is divided into two types: 

Exploratory Data Analysis: This helps analysts understand the dataset’s structure and identify possible relationships between data types and variables 

Confirmatory Data Analysis: This evaluates initial hypotheses from the previous stage using statistical methods like significance testing 

Ethical significance: 

  • In responsible research and innovation, data analysis is crucial for identifying biases that could negatively affect the project 
  • Missing data: Recognising and addressing missing data is especially important. While engaging stakeholders early can reduce bias, understanding its extent and how to address it largely depends on the quality of the data analysis 

Preprocessing and Feature Engineering 

Data analysis can provide valuable insights, but the data structures may not be suitable for training machine learning algorithms. Thus, preprocessing and feature engineering are necessary to clean and transform data into the features used for model training and testing. 

Ethical significance: 

  • Feature dependence: Features are derived from the raw data collected earlier. They can be created manually or using algorithms to enhance ML performance 
  • Impact on ethics: The features chosen not only affect the model’s accuracy but also its ethical implications, such as reducing explainability or leading to biased outcomes 
  • Complex selection process: Choosing the right features is crucial but often complex and time-consuming, requiring trade-offs between aspects like predictive power and interpretability 

SAFE-D Workshop Activity  

Workshop Exercise: SAFE-D Identification 

As a project team, and with additional appropriate stakeholders, we encourage you to complete a SAFE-D Identification Workshop. 

This will help you to: 

  • Identify potential ethical risks and issues upfront  
  • Assess the relevance of the SAFE-D Principles in your project context and weigh them accordingly  
  • Define the SAFE-D Principles in your project context, allowing for more targeted and proportionate ethical interventions 

To get started, you should: 

  • Nominate a workshop host  
  • This could be the project lead or a volunteer/s 
  • Send a calendar invite to ensure dedicated time is set aside for this activity 
  • We suggest anywhere between 60 - 90 minutes to make sure you can facilitate productive discussions. You may want to split this across multiple sessions 
  • Make sure you have access to a Miro board template for your team and that attendees are comfortable using Miro 
  • Read through the activity instructions in this booklet and make sure you are comfortable with the content. Set up an agenda with timings that will work for your team  

Activity overview 

As a team, brainstorm and identify which of the SAFE-D principles might be impacted by your project. This is an opportunity to gather initial thoughts on ethical risks and issues during the Design Phase. 

Steps: 

1) Individual reflection (5-10 minutes) 

  • Take a moment to think about the SAFE-D Principles and their core attributes 
  • Write down your thoughts regarding potential ethical risks and issues related to our project on post-it notes under each of the SAFE-D Principles 

2) Group discussion (10 mins) 

  • After individual brainstorming, come together as a team to discuss the post-it notes 
  • Group similar ideas into key themes to identify overarching concerns 

Prompts for discussion: 

  • How might our project impact different stakeholders? 
  • Are there any potential biases we should address? 
  • What steps can we take to enhance accountability and transparency? 
  • How can we ensure the project remains sustainable and fair? 

Remember: 

This exercise is about open dialogue and gathering diverse perspectives, so feel free to share any initial thoughts, challenges or concerns you may have.  

Workshop Exercise: SAFE-D Weighing 

Activity overview 

Weighing ethical principles involves evaluating which principles align most closely with the goals and objectives of your project. This process is crucial for addressing ethical risks and resolving potential conflicts between principles. 

Steps: 

  1. Group discussion: evaluate the SAFE-D Principles (10-20 minutes) 
  • It’s essential to record and be transparent about how decisions were made regarding the prioritisation of principles 
  • Use the prompt questions below to guide discussion 
  • Use the post-it notes to document your discussion points 
  • The aim of the exercise is to number the principles from high (1) through to low (5) priority  

Prompts for discussion: 

  • Identify principles that are central to the project and will likely require ongoing attention 
  • Consider areas that may need extra focus or investment to ensure ethical standards are met 
  • Determine which principles are critical for the project’s success and align closely with its objectives 
  • Identify potential areas where principles may clash, necessitating careful consideration and resolution 

Importance of transparency 

Ensure that this process is communicated clearly to all stakeholders, as it fosters trust and understanding regarding the ethical considerations guiding the project. This transparency can enhance stakeholder engagement and support collaborative efforts in addressing ethical challenges. 

Workshop Exercise: SAFE-D Specification 

Activity overview 

The goal of this step is to refine each SAFE-D Principle to reflect the specific nuances of your project context.  This will help make the principles actionable and ensure ethical goals are met. 

Steps: 

1) Group discussion: SAFE-D Principles  

  • As a group, use the previous activities as prompts to help you answer the following question: what does the [x] principle mean to you in the context of our project? 
  • Make sure everyone has the opportunity to contribute their thoughts. This will help surface a variety of perspectives and formulate a well-rounded definition for the principle 

2) Synthesise responses  

  • Group contributions into key themes  
  • As a team, agree on a short objective or goal statement for each of the SAFE-D Principles and document this on the board  

3) Defining the principles 

  • By narrowing the scope of each principle, you will make it more relevant and actionable in the context of your project. It will also allow your decision-making to be guided by tangible goals and objectives. 

SAFE-D Litmus Test  

After finishing the SAFE-D Principles Workshop, you are ready to conduct a SAFE-D Litmus Test. This assessment will help identify key risk areas and ensure that ethical considerations have been adequately addressed during the Design Phase. You should leverage the insights and discussions from your SAFE-D Principles workshop to inform your responses in the assessment. 

Assign team members: 

Consider nominating different team members to collaborate on various sections of the assessment. This allows for diverse input and thorough exploration of each principle 

Complete the questionnaire: 

The SAFE-D Litmus Test consists of a series of questions organised around the SAFE-D principles. Each principle has 3-4 questions that require a brief answer. We encourage you to provide any additional justification or evidence. This can be used in your discussions with the Data Ethics Team. 

Justification and evidence: 

Ensure that for each answer, you provide sufficient justification or evidence. This could include references to workshop insights, project documentation, or stakeholder feedback. 

Mitigate risks early: 

Remember that the purpose of this assessment is to help identify and mitigate risks early in the project lifecycle. We understand you may not have all the answers at this early stage, so just document as much as you can. 

Document the assessment: 

After completing the assessment, compile and document the responses. This will serve as a useful reference for future stages of the project and facilitate transparency with stakeholders. 

Sustainability 

1.1a: How does the project align to the long-term strategic objectives and the MoJ data strategy? [Reliability] 

1.1b: How will the model be free of any long-term societal risks (e.g. worsening of existing inequalities or justice outcomes)? [Safety, robustness] 

1.1c: Are there clearly defined roles and responsibilities within the project, especially between the technical development team, business team and governance team? [Security] 

1.1d: What are the safe and reliable outputs that fall within pre-defined thresholds (e.g. in accuracy, consistency and security) as part of the long-term delivery of this project? [Accuracy & performance] 

Accountability 

1.2a: How will you ensure that this project will be free from automated components that involve decisions that could negatively impact an individual (as either a member of the public or MoJ staff)? [Traceability, clear data provenance & lineage] 

1.2b: Will there be frequent human oversight in the process/project? [Answerability] 

1.2c: Will there be an effective contest process or other means to ensure the ability of stakeholders beyond the development team to challenge the output? [Answerability, auditability] 

Fairness 

1.3a: Will the project be free from potential use or misuse of the data that could result in negative discrimination against people on the basis of any protected characteristics, especially those in vulnerable circumstances? [Non-discrimination] 

1.3b: Will the proposed system work the same for all groups of people? If not, why? [Bias mitigation] 

1.3c: How will you address any potential feedback loops that may worsen existing inequalities? [Equality] 

1.3d: How will you involve diverse stakeholder perspectives in the project in a meaningful and impactful way? [Diversity & inclusivity] 

Explainability 

1.4a: How will the use of technology and/or data be effectively articulated to key stakeholders? [Interpretability] 

1.4b: Will there be a clear way for an individual to understand and obtain an explanation regarding how data is being used in this project, either for public scrutiny or research? [Accessible rationale explanation] 

1.4c: Is compliance with data protection principles for transparency enforced and demonstrated? [Responsible model selection]

Data Responsibility 

1.5a: Does data processing adhere to the principles of data protection? (lawfulness; fairness and transparency; purpose limitation; data minimisation; accuracy; storage limitation; integrity and confidentiality; accountability) [Legal & organizational compliance] 

1.5b: Will any proposed data sharing, linking or enrichment be proportionate to, and justifiable against, the project objectives? [Adequacy of quality & quantity, source integrity] 

1.5c: Will there be clear governance relating to which practices are acceptable and which are not? Who will enforce this? [Responsible data management] 

Contact Us 

DataEthics@justice.gov.uk