Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

Sebastiano Panichella
Sebastiano PanichellaSenior Computer Science Researcher at Zurich University of Applied Science
J1 presentation:
“Automated Identification and Qualitative Characterization of Safety Concerns
Reported in UAV Software Platforms”
Transactions on Software Engineering and Methodology.
Mon 11 - Fri 15 September 2023, Luxembourg
Sebastiano Panichella
Zurich University of Applied Sciences
https://spanichella.github.io/
Andrea Di Sorbo Fiorella Zampetti Aaron Visaggio Massimiliano Di Penta
University of Sannio
IEEE/ACM International Conference on
Automated Software Engineering (ASE 2023)
Outline
2
• DevOps shortcomings for Complex CPSs
• What types of safety bugs occur in open-source CPSs?
• Context: Cyber-physical Systems (CPSs)
The COSMOS Project has
received funding from
the European Union’s
Horizon 2020 Research
and Innovation
Programme under grant
agreement No. 957254.
UAV
“Emerging Cyber-physical Systems (CPS) will play a crucial role in the quality of
life of European citizens and the future of the European economy”
Context
• CPS relevant sectors:
• Healthcare
• Automotive
• Water Monitoring
• Railway
• Manufacturing
• Avionics
• etc.
MEDICAL DELIVERY
FOOD DELIVERY
• Avionics
3
FOOD DELIVERY
Background
First aerodynamic flight on another planet. Landed with Perseverance rover on 18 February 2021
SPACE EXPLORATION
• -
• Our (Software Engineering) view of DevOps and AI for IoT systems:
• DevOps and Continuous Delivery (CD): Whats is it?
• Present, Challenges, and Opportunities
• Relevant Research Questions
• Artificial Intelligence (AI) and Testing Automation:
• Present, Challenges, and Opportunities
• User-oriented Testing Automation
• Relevant Research Questions
“We all recognize the relevance and capacity of contemporary cyber-
physical systems for building the future of our society, but ongoing research
in the field is also clearly failing in making the right countermeasures to
avoid that CPS usage affects human being safety”. In
“Self-driving Uber kills Arizona
woman in first fatal crash involving
pedestrian”
“Swiss Post drone
crashes in Zurich
Problem Statement
“A simple software update was
the direct cause of the fatal
crashes of the Boeing 737”
6
• -
• Our (Software Engineering) view of DevOps and AI for IoT systems:
• DevOps and Continuous Delivery (CD): Whats is it?
• Present, Challenges, and Opportunities
• Relevant Research Questions
• Artificial Intelligence (AI) and Testing Automation:
• Present, Challenges, and Opportunities
• User-oriented Testing Automation
• Relevant Research Questions
“Self-driving Uber kills Arizona
woman in first fatal crash involving
pedestrian”
“Swiss Post drone
crashes in Zurich
Challenge
“A simple software update was
the direct cause of the fatal
crashes of the Boeing 737”
Observability, testability, and predictability of the behavior of emerging
CPS is highly limited and, unfortunately, their usage in the real world can
lead to fatal crashes sometimes tragically involving also humans
7
Sebastiano Panichella Sajad Khatiri
Christian Birchler
COSMOS:
DevOps for Complex Cyber-physical Systems
https://www.cosmos-devops.org/ https://twitter.com/COSMOS_DEVOPS https://lnkd.in/eUVeaYaz
9
What types of bugs occur in open-source CPSs?
CPS
Bugs
10
Famous Software Failure in a CPS: The Case of Ariane 5
11
Bugs and Failures in CPS
CPS Bug is
“a flaw in the hardware (not properly
handled by the software), or an incorrect
interaction between the software and
hardware components leading to a CPS
misbehavior’’
A CPS bug can manifest as a CPS failure,
which makes a CPS unable to deliver its
required functionality or not fulfilling some
non-functional properties
Properties
12
Bugs in the PX4 Project
https://github.com/PX4/PX4-Autopilot/issues/8980
Px4 Issue 8980: Unsuccessful flight
“ Autopilot receiving noisy sensor-data…“
13
Fiorella Zampetti, Ritu Kapur, Massimiliano Di Penta,
Sebastiano Panichella: An Empirical Characterization
of Software Bugs in Open-Source Cyber-Physical
Systems. Journal of Systems & Software (JSS).
What types of bugs occur in Open-source CPSs?
CPS
Bugs
1,151 closed issues sampled from
14 open-source CPS projects
CPS bugs taxonomy comprises
8 different high-level categories
17
What about Safety Bugs of CPSs?
CPS
Bugs
18
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano
Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in
UAV Software Platforms. Transactions on Software Engineering and Methodology.
150 Projects
19
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
CPS Safety Related Issues of UAVs
Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano
Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in
UAV Software Platforms. Transactions on Software Engineering and Methodology.
20
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
CPS Safety Related Issues of UAVs
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV
Software Platforms?
21
Gold Standard Definition
1,916 sentences
Cohen’s k = 0.68
(substantial)
837 (43.7%) safety
1,079 (56.3%) non-safety
22
Safety Bugs in open-source CPSs
Preprocessing of CPS Safety Related Issues
Tf Matrix
GitHub
Issues
Tf Matrix Tf-idf Matrix
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
23
Safety Bugs in open-source CPSs
ML prediction & Hyperparameter optimization
Tf Matrix
Tf-idf Matrix
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
24
Safety Bugs in open-source CPSs
Performance of the ML classifiers
for classifying safety-related
issues in pull requests
Tf-idf wins over other
processing approaches
> 80% Precision,
Recall, and F-measure (10-
fold validation) using word
embeddings with FastText
Link to the tool behind our research
https://github.com/spanichella/SALIENT-TOOL
26
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
273 safety-related issues and PR 19 Hazard categories
7 Accident categories
27
Co-occurrences
of hazard
categories
and accident
categories
Hazard Accident
Hazard categories and
corresponding occurrences in our
dataset of 273 safety-related
issues and pull requests.
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
29
Co-occurrences
of hazard
categories
and accident
categories
Hazard Accident
Hazard categories and
corresponding occurrences in our
dataset of 273 safety-related
issues and pull requests.
Main Findings:
We need automated approaches to monitor and address safety concerns within a
CPS DevOps pipeline
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
Summary
30
• DevOps shortcomings for Complex CPSs
• What types of safety bugs occur in open-source CPSs?
• Context: Cyber-physical Systems (CPSs)
The COSMOS Project has
received funding from
the European Union’s
Horizon 2020 Research
and Innovation
Programme under grant
agreement No. 957254.
UAV
Thanks for the Attention!
• Any Questions?
J1 presentation:
“Automated Identification and Qualitative
Characterization of Safety Concerns Reported in UAV
Software Platforms”. Transactions on Software
Engineering and Methodology.
Mon 11 - Fri 15 September 2023, Luxembourg
Sebastiano Panichella
Zurich University of Applied Sciences
https://spanichella.github.io/
Link to the tool behind our research
https://github.com/spanichella/SALIENT-TOOL
1 of 27

Recommended

An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ... by
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...Sebastiano Panichella
52 views35 slides
Testing and Development Challenges for Complex Cyber-Physical Systems: Insi... by
Testing and Development Challenges for  Complex Cyber-Physical Systems:  Insi...Testing and Development Challenges for  Complex Cyber-Physical Systems:  Insi...
Testing and Development Challenges for Complex Cyber-Physical Systems: Insi...Sebastiano Panichella
39 views148 slides
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T... by
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...Sebastiano Panichella
253 views168 slides
Personal Computer And Application Software D. by
Personal Computer And Application Software D.Personal Computer And Application Software D.
Personal Computer And Application Software D.Jacqueline Thomas
2 views81 slides
No Safety Without Security by
No Safety Without SecurityNo Safety Without Security
No Safety Without SecuritySecurity Innovation
399 views21 slides
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A... by
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...CODE BLUE
735 views52 slides

More Related Content

Similar to Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut... by
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Black Duck by Synopsys
450 views17 slides
20140121 cisec-safety criticalsoftwaredevelopment by
20140121 cisec-safety criticalsoftwaredevelopment20140121 cisec-safety criticalsoftwaredevelopment
20140121 cisec-safety criticalsoftwaredevelopmentCISEC
2.2K views41 slides
2014-12-16 defense news - shutdown the hackers by
2014-12-16  defense news - shutdown the hackers2014-12-16  defense news - shutdown the hackers
2014-12-16 defense news - shutdown the hackersShawn Wells
327 views66 slides
PROGRAMMING AND CYBER SECURITY by
PROGRAMMING AND CYBER SECURITYPROGRAMMING AND CYBER SECURITY
PROGRAMMING AND CYBER SECURITYSylvain Martinez
235 views23 slides
Mechanical phish by
Mechanical phishMechanical phish
Mechanical phishDebdeep Banerjee
54 views11 slides
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon... by
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Black Duck by Synopsys
299 views17 slides

Similar to Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms(20)

Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut... by Black Duck by Synopsys
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
20140121 cisec-safety criticalsoftwaredevelopment by CISEC
20140121 cisec-safety criticalsoftwaredevelopment20140121 cisec-safety criticalsoftwaredevelopment
20140121 cisec-safety criticalsoftwaredevelopment
CISEC2.2K views
2014-12-16 defense news - shutdown the hackers by Shawn Wells
2014-12-16  defense news - shutdown the hackers2014-12-16  defense news - shutdown the hackers
2014-12-16 defense news - shutdown the hackers
Shawn Wells327 views
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon... by Black Duck by Synopsys
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S... by qqlan
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...
qqlan716 views
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps by Kevin Moran
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile AppsMachine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps
Kevin Moran703 views
Defect Prediction & Prevention In Automotive Software Development by RAKESH RANA
Defect Prediction & Prevention In Automotive Software DevelopmentDefect Prediction & Prevention In Automotive Software Development
Defect Prediction & Prevention In Automotive Software Development
RAKESH RANA827 views
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore by Alexander Leonov
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal orePHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore
Alexander Leonov746 views
Intelligence on the Intractable Problem of Software Security by Tyler Shields
Intelligence on the Intractable Problem of Software SecurityIntelligence on the Intractable Problem of Software Security
Intelligence on the Intractable Problem of Software Security
Tyler Shields407 views
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ... by Perforce
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...
Perforce140 views
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb... by Black Duck by Synopsys
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber... by Black Duck by Synopsys
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...
Semi-Automated Security Testing of Web applications by Ram G Athreya
Semi-Automated Security Testing of Web applicationsSemi-Automated Security Testing of Web applications
Semi-Automated Security Testing of Web applications
Ram G Athreya3.6K views
Design reliability 2.0: Safety is Everything by Amir Rahat
Design reliability 2.0: Safety is Everything Design reliability 2.0: Safety is Everything
Design reliability 2.0: Safety is Everything
Amir Rahat533 views
9 th International Conference on Information Technology, Control, Chaos, Mode... by IJCSEA Journal
9 th International Conference on Information Technology, Control, Chaos, Mode...9 th International Conference on Information Technology, Control, Chaos, Mode...
9 th International Conference on Information Technology, Control, Chaos, Mode...
IJCSEA Journal5 views
Exposed! A case study on the vulnerability-proneness of Google Play Apps by Sebastiano Panichella
Exposed! A case study on the vulnerability-proneness of Google Play AppsExposed! A case study on the vulnerability-proneness of Google Play Apps
Exposed! A case study on the vulnerability-proneness of Google Play Apps
Semantic Web for Advanced Engineering by Marta Sabou
Semantic Web for Advanced EngineeringSemantic Web for Advanced Engineering
Semantic Web for Advanced Engineering
Marta Sabou739 views
Cyber Security Challenges with IoT, Smart City by Bhaskar Chattoraj
Cyber Security Challenges with IoT, Smart City Cyber Security Challenges with IoT, Smart City
Cyber Security Challenges with IoT, Smart City
Bhaskar Chattoraj2.1K views

More from Sebastiano Panichella

The 2nd Intl. Workshop on NL-based Software Engineering by
The 2nd Intl. Workshop on NL-based Software EngineeringThe 2nd Intl. Workshop on NL-based Software Engineering
The 2nd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
933 views31 slides
The 16th Intl. Workshop on Search-Based and Fuzz Testing by
The 16th Intl. Workshop on Search-Based and Fuzz TestingThe 16th Intl. Workshop on Search-Based and Fuzz Testing
The 16th Intl. Workshop on Search-Based and Fuzz TestingSebastiano Panichella
2.4K views37 slides
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei... by
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Sebastiano Panichella
42 views22 slides
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor... by
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...Sebastiano Panichella
127 views45 slides
Search-based Software Testing (SBST) '22 by
Search-based Software Testing (SBST) '22Search-based Software Testing (SBST) '22
Search-based Software Testing (SBST) '22Sebastiano Panichella
299 views25 slides
NLBSE’22: Tool Competition by
NLBSE’22: Tool CompetitionNLBSE’22: Tool Competition
NLBSE’22: Tool CompetitionSebastiano Panichella
171 views17 slides

More from Sebastiano Panichella(20)

The 16th Intl. Workshop on Search-Based and Fuzz Testing by Sebastiano Panichella
The 16th Intl. Workshop on Search-Based and Fuzz TestingThe 16th Intl. Workshop on Search-Based and Fuzz Testing
The 16th Intl. Workshop on Search-Based and Fuzz Testing
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei... by Sebastiano Panichella
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor... by Sebastiano Panichella
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
"An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021. by Sebastiano Panichella
 "An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.  "An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.
"An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.
An Empirical Investigation of Relevant Changes and Automation Needs in Modern... by Sebastiano Panichella
An Empirical Investigation of Relevant Changes and Automation Needs in Modern...An Empirical Investigation of Relevant Changes and Automation Needs in Modern...
An Empirical Investigation of Relevant Changes and Automation Needs in Modern...
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,... by Sebastiano Panichella
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...
A Framework for Multi-source Studies based on Unstructured Data. by Sebastiano Panichella
A Framework for Multi-source Studies based on Unstructured Data.A Framework for Multi-source Studies based on Unstructured Data.
A Framework for Multi-source Studies based on Unstructured Data.
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall... by Sebastiano Panichella
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...
Requirements-Collector: Automating Requirements Specification from Elicitatio... by Sebastiano Panichella
Requirements-Collector: Automating Requirements Specification from Elicitatio...Requirements-Collector: Automating Requirements Specification from Elicitatio...
Requirements-Collector: Automating Requirements Specification from Elicitatio...
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ... by Sebastiano Panichella
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour... by Sebastiano Panichella
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...
Ticket Tagger: Machine Learning Driven Issue Classification by Sebastiano Panichella
Ticket Tagger: Machine Learning Driven Issue ClassificationTicket Tagger: Machine Learning Driven Issue Classification
Ticket Tagger: Machine Learning Driven Issue Classification
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation by Sebastiano Panichella
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs DocumentationDRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation
The Cloudification Perspectives of Search-based Software Testing by Sebastiano Panichella
The Cloudification Perspectives of Search-based Software TestingThe Cloudification Perspectives of Search-based Software Testing
The Cloudification Perspectives of Search-based Software Testing

Recently uploaded

Competition and Innovation - The Role of Innovation in Enforcement Cases – VE... by
Competition and Innovation - The Role of Innovation in Enforcement Cases – VE...Competition and Innovation - The Role of Innovation in Enforcement Cases – VE...
Competition and Innovation - The Role of Innovation in Enforcement Cases – VE...OECD Directorate for Financial and Enterprise Affairs
191 views9 slides
Out-of-Market Efficiencies in Competition Enforcement – CRANE – December 2023... by
Out-of-Market Efficiencies in Competition Enforcement – CRANE – December 2023...Out-of-Market Efficiencies in Competition Enforcement – CRANE – December 2023...
Out-of-Market Efficiencies in Competition Enforcement – CRANE – December 2023...OECD Directorate for Financial and Enterprise Affairs
70 views6 slides
Out-of-Market Efficiencies in Competition Enforcement – DAVIES – December 202... by
Out-of-Market Efficiencies in Competition Enforcement – DAVIES – December 202...Out-of-Market Efficiencies in Competition Enforcement – DAVIES – December 202...
Out-of-Market Efficiencies in Competition Enforcement – DAVIES – December 202...OECD Directorate for Financial and Enterprise Affairs
70 views15 slides
Serial Acquisitions and Industry Roll-ups – GOGA – December 2023 OECD discussion by
Serial Acquisitions and Industry Roll-ups – GOGA – December 2023 OECD discussionSerial Acquisitions and Industry Roll-ups – GOGA – December 2023 OECD discussion
Serial Acquisitions and Industry Roll-ups – GOGA – December 2023 OECD discussionOECD Directorate for Financial and Enterprise Affairs
139 views13 slides
Maximiliano Roa - eRetail Week Blended [Professional] Experience 2023 by
Maximiliano Roa - eRetail Week Blended [Professional] Experience 2023Maximiliano Roa - eRetail Week Blended [Professional] Experience 2023
Maximiliano Roa - eRetail Week Blended [Professional] Experience 2023eCommerce Institute
7 views14 slides
Serial Acquisitions and Industry Roll-ups – OECD – December 2023 OECD discussion by
Serial Acquisitions and Industry Roll-ups – OECD – December 2023 OECD discussionSerial Acquisitions and Industry Roll-ups – OECD – December 2023 OECD discussion
Serial Acquisitions and Industry Roll-ups – OECD – December 2023 OECD discussionOECD Directorate for Financial and Enterprise Affairs
150 views5 slides

Recently uploaded(20)

Maximiliano Roa - eRetail Week Blended [Professional] Experience 2023 by eCommerce Institute
Maximiliano Roa - eRetail Week Blended [Professional] Experience 2023Maximiliano Roa - eRetail Week Blended [Professional] Experience 2023
Maximiliano Roa - eRetail Week Blended [Professional] Experience 2023
a timeline of the history of linguistics- BAUTISTA- BELGERA.pdf by FordBryantSadio
a timeline of the history of linguistics- BAUTISTA- BELGERA.pdfa timeline of the history of linguistics- BAUTISTA- BELGERA.pdf
a timeline of the history of linguistics- BAUTISTA- BELGERA.pdf
FordBryantSadio8 views
Learning from Disaster - How a positive safety approach saves lives_MYOSH Web... by kristinashields1
Learning from Disaster - How a positive safety approach saves lives_MYOSH Web...Learning from Disaster - How a positive safety approach saves lives_MYOSH Web...
Learning from Disaster - How a positive safety approach saves lives_MYOSH Web...
kristinashields139 views
NguyenChristine_Portfolio (1).pdf by chnguyentv9
NguyenChristine_Portfolio (1).pdfNguyenChristine_Portfolio (1).pdf
NguyenChristine_Portfolio (1).pdf
chnguyentv931 views
ERGONOMIC RISK ASSESSMENT (ERA).pptx by j967z4hcnp
ERGONOMIC RISK ASSESSMENT (ERA).pptxERGONOMIC RISK ASSESSMENT (ERA).pptx
ERGONOMIC RISK ASSESSMENT (ERA).pptx
j967z4hcnp10 views

Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

  • 1. J1 presentation: “Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms” Transactions on Software Engineering and Methodology. Mon 11 - Fri 15 September 2023, Luxembourg Sebastiano Panichella Zurich University of Applied Sciences https://spanichella.github.io/ Andrea Di Sorbo Fiorella Zampetti Aaron Visaggio Massimiliano Di Penta University of Sannio IEEE/ACM International Conference on Automated Software Engineering (ASE 2023)
  • 2. Outline 2 • DevOps shortcomings for Complex CPSs • What types of safety bugs occur in open-source CPSs? • Context: Cyber-physical Systems (CPSs) The COSMOS Project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement No. 957254. UAV
  • 3. “Emerging Cyber-physical Systems (CPS) will play a crucial role in the quality of life of European citizens and the future of the European economy” Context • CPS relevant sectors: • Healthcare • Automotive • Water Monitoring • Railway • Manufacturing • Avionics • etc. MEDICAL DELIVERY FOOD DELIVERY • Avionics 3
  • 5. Background First aerodynamic flight on another planet. Landed with Perseverance rover on 18 February 2021 SPACE EXPLORATION
  • 6. • - • Our (Software Engineering) view of DevOps and AI for IoT systems: • DevOps and Continuous Delivery (CD): Whats is it? • Present, Challenges, and Opportunities • Relevant Research Questions • Artificial Intelligence (AI) and Testing Automation: • Present, Challenges, and Opportunities • User-oriented Testing Automation • Relevant Research Questions “We all recognize the relevance and capacity of contemporary cyber- physical systems for building the future of our society, but ongoing research in the field is also clearly failing in making the right countermeasures to avoid that CPS usage affects human being safety”. In “Self-driving Uber kills Arizona woman in first fatal crash involving pedestrian” “Swiss Post drone crashes in Zurich Problem Statement “A simple software update was the direct cause of the fatal crashes of the Boeing 737” 6
  • 7. • - • Our (Software Engineering) view of DevOps and AI for IoT systems: • DevOps and Continuous Delivery (CD): Whats is it? • Present, Challenges, and Opportunities • Relevant Research Questions • Artificial Intelligence (AI) and Testing Automation: • Present, Challenges, and Opportunities • User-oriented Testing Automation • Relevant Research Questions “Self-driving Uber kills Arizona woman in first fatal crash involving pedestrian” “Swiss Post drone crashes in Zurich Challenge “A simple software update was the direct cause of the fatal crashes of the Boeing 737” Observability, testability, and predictability of the behavior of emerging CPS is highly limited and, unfortunately, their usage in the real world can lead to fatal crashes sometimes tragically involving also humans 7
  • 8. Sebastiano Panichella Sajad Khatiri Christian Birchler COSMOS: DevOps for Complex Cyber-physical Systems https://www.cosmos-devops.org/ https://twitter.com/COSMOS_DEVOPS https://lnkd.in/eUVeaYaz
  • 9. 9 What types of bugs occur in open-source CPSs? CPS Bugs
  • 10. 10 Famous Software Failure in a CPS: The Case of Ariane 5
  • 11. 11 Bugs and Failures in CPS CPS Bug is “a flaw in the hardware (not properly handled by the software), or an incorrect interaction between the software and hardware components leading to a CPS misbehavior’’ A CPS bug can manifest as a CPS failure, which makes a CPS unable to deliver its required functionality or not fulfilling some non-functional properties Properties
  • 12. 12 Bugs in the PX4 Project https://github.com/PX4/PX4-Autopilot/issues/8980 Px4 Issue 8980: Unsuccessful flight “ Autopilot receiving noisy sensor-data…“
  • 13. 13 Fiorella Zampetti, Ritu Kapur, Massimiliano Di Penta, Sebastiano Panichella: An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical Systems. Journal of Systems & Software (JSS). What types of bugs occur in Open-source CPSs? CPS Bugs 1,151 closed issues sampled from 14 open-source CPS projects CPS bugs taxonomy comprises 8 different high-level categories
  • 14. 17 What about Safety Bugs of CPSs? CPS Bugs
  • 15. 18 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms. Transactions on Software Engineering and Methodology. 150 Projects
  • 16. 19 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? CPS Safety Related Issues of UAVs Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms. Transactions on Software Engineering and Methodology.
  • 17. 20 RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms? CPS Safety Related Issues of UAVs RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms? What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 18. 21 Gold Standard Definition 1,916 sentences Cohen’s k = 0.68 (substantial) 837 (43.7%) safety 1,079 (56.3%) non-safety
  • 19. 22 Safety Bugs in open-source CPSs Preprocessing of CPS Safety Related Issues Tf Matrix GitHub Issues Tf Matrix Tf-idf Matrix RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms?
  • 20. 23 Safety Bugs in open-source CPSs ML prediction & Hyperparameter optimization Tf Matrix Tf-idf Matrix RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms?
  • 21. 24 Safety Bugs in open-source CPSs Performance of the ML classifiers for classifying safety-related issues in pull requests Tf-idf wins over other processing approaches > 80% Precision, Recall, and F-measure (10- fold validation) using word embeddings with FastText Link to the tool behind our research https://github.com/spanichella/SALIENT-TOOL
  • 22. 26 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? 273 safety-related issues and PR 19 Hazard categories 7 Accident categories
  • 23. 27 Co-occurrences of hazard categories and accident categories Hazard Accident Hazard categories and corresponding occurrences in our dataset of 273 safety-related issues and pull requests. What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 24. What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 25. 29 Co-occurrences of hazard categories and accident categories Hazard Accident Hazard categories and corresponding occurrences in our dataset of 273 safety-related issues and pull requests. Main Findings: We need automated approaches to monitor and address safety concerns within a CPS DevOps pipeline What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 26. Summary 30 • DevOps shortcomings for Complex CPSs • What types of safety bugs occur in open-source CPSs? • Context: Cyber-physical Systems (CPSs) The COSMOS Project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement No. 957254. UAV
  • 27. Thanks for the Attention! • Any Questions? J1 presentation: “Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms”. Transactions on Software Engineering and Methodology. Mon 11 - Fri 15 September 2023, Luxembourg Sebastiano Panichella Zurich University of Applied Sciences https://spanichella.github.io/ Link to the tool behind our research https://github.com/spanichella/SALIENT-TOOL