About
This site has been setup to help users navigate the resources of this repository.
On this site you will find the following:
- Description of the project (this page)
- Methodology for our survey
- Results and analysis
Trustworthy and Ethical Assurance of Digital Twins (TEA-DT)
The Trustworthy and Ethical Assurance of Digital Twins project ran from February to October 2024. It was a collaborative project between the Turing Research and Innovation Cluster in Digital Twins (Alan Turing Institute) and the Centre for Assuring Autonomy (University of York), with support from the Responsible Technology Adoption Unit (UK Department for Science, Innovation and Technology). Funding for the project was awarded by the BRAID programme (UKRI AHRC).
There were three primary objectives for this project:
- Scoping research into assurance of digital twins
- Co-design of an open-source tool and platform
- Establish a multi-disciplinary and multi-sector community of practice
Community Pulse Check
As part of the scoping research, Dr Sophie Arana led the design and delivery of a survey, known as our “community pulse check”, to help identify current attitudes, needs, and capabilities, among digital twin practitioners (e.g. researchers and developers).
This survey was carried out in partnership with the Digital Twin Hub (Connected Places Catapult) given their extensive network of over 5000 members.
Project Team
|
Sophie Arana |
Christopher Burr |
Carlos Gavidia-Calderon |
Nathan Hughes |
Acknowledgements
In addition to the above contributors, we would also like to thank the following people:
About our Codebase
For the community pulse-check, we designed an interactive form that could provide feedback to participants as soon as they submitted their responses. This was only possible for a subset of questions, such as those with a fixed set of responses:
Which of the following assurance mechanisms do you currently rely on for your own (or your client’s) digital twin(s)?
This was achieved by using a free and open-source framework known as Streamlit. Streamlit is designed to help users build data-driven web applications, with an emphasis on interactive dashboards and visualisations, using Python (i.e. with minimal knowledge of HTML, CSS, and Javascript).
That said, it took considerable time and effort to customise the survey and ensure that community responses were properly displayed, raising questions among the team about whether it provided sufficient value to those completing the survey.
However, for transparency, our code is fully available through the associated GitHub repository.
app directory
In the app/webapp/ directory, you will find code for the main application, such as the following individual Python files:
webapp/pages/01_Consent.py: Consent was obtained prior to completion of the survey by requirining explicit acknowledgement of key statements. This file handles the consent form.webapp/pages/02_1_-_Community.py: This file generates survey questions related to the community’s digital twin practices, and is similar to other pages within this directory (e.g.06_3_-_Satisfaction.py).webapp/pages/03_Community_Results.py: This file displays the results from the questions in the previous page (i.e.02_1_-_Community.py). It retrieves data from our database (MongoDB), counts responses matching the user’s profile, and provides feedback based on the count.- webapp/mongo_utils.py: This file contains utility functions for interacting with database. It includes functions for initialising the database connection, checking response counts, and retrieving field values from the database.
- webapp/plot_utils.py: This file contains utility functions for generating plots and visualisations.
- Makefile: The Makefile streamlines key development and deployment tasks for the application. It includes commands for building and running the app locally or in Docker, managing dependencies, and setting up a database. Additionally, it provides utilities for code linting, formatting, and type checking to maintain code quality.
These files, and the remaining files contained within the webapp directory, collectively manage the survey’s flow, from user consent to displaying results and follow-up questions, while interacting with the MongoDB database and generating visualisations using Streamlit.