SlideShare a Scribd company logo
The New Categories of Software Defects in the Era of AI and ML - DevOps Next
© 2020 Perforce Software, Inc.
The New Categories of
Software Defects in the Era
of AI and ML
T Z V I K A S H A H A F
3 | DevOps Next 2020 perforce.com
Confidentiality Statement
The information contained in this document is strictly confidential, privileged, and
only for the information of the intended recipient. The information contained in this
document may not be otherwise used, disclosed, copied, altered, or distributed
without the prior written consent of Perforce Software, Inc.
ABOUT ME:
Tzvika Shahaf
• VP Product Management at Perfecto
• Software professional with over 12 years in product
management, development, and testing
• Expert in implementing and advising on test strategies for
Fortune 500 enterprises and leading tech companies
• http://linkedin.com/in/tzvikashahaf/
• @Tzvika_Shahaf
5 | DevOps Next 2020 perforce.com
Today’s Agenda
1
2
Software Quality Defects Today and Common Root Causes
Introduction to the new Types of AI/ML Software Defects
3 How Should Teams Get Ready to The New Changes?
Q&A4
6 | DevOps Next 2020 perforce.com
Software Defects 101 - Types
Source: Stack Exchange
7 | DevOps Next 2020 perforce.com
Software Defects 101 - Severity
Source: Guru99
8 | DevOps Next 2020 perforce.com
Root Cause of Today’s Digital Apps Defects
Web Apps
Mobile Apps
9 | DevOps Next 2020 perforce.com
Introduction to 6 New Generation of Software Defects (AI/ML)
10 | DevOps Next 2020 perforce.com
Software Defects within AI/ML Context – Ethics Type
From a developer view, this defect category means
that training the AI engine should also include a
dedicated set of rules and data that refers to ethics
and bias, depending on the target market segments,
geographies, and exposure of the app or website.
From a tester’s perspective, such a category needs to
be included in the test planning and classified upon
relevant detection of relevant issues. It will also
require the ability to perform all sorts of testing
within the lifecycle of the app (unit/APIs/UI/data
inputs, etc.).
Autonomous cars that can
gain insights into drivers
with pending
warrant/expired driving
license should be
acknowledged
11 | DevOps Next 2020 perforce.com
Software Defects within AI/ML Context – Clustering Type
From a developer’s standpoint, the algorithms that are
being developed and used must be based on the right
characteristics. They must be trained based on large and
cohesive data sets.
From a test engineering standpoint, in addition to adding a
new category to the classified test failures, such a persona
must challenge as much as possible. This can be done
through testing and parallel data sets to obtain as many
outputs as possible in order to build trust in the clusters. In
addition, as the product matures, new clusters, as well as
data points will be added — this needs to be continuously
tested and fed into the testing processes
Source: GeeksforGeeks
When data is not labelled but can
be divided into groups based on
similarity, like organization of
pictures by faces without names,
where the human user must
assign names to groups, like
iPhoto on MacOS
12 | DevOps Next 2020 perforce.com
Software Defects within AI/ML Context – Deterministic Type
Source: Interesting Engineering
From a developer perspective, they will need to
understand the limitations and constrains of the
algorithms in the edge cases and situations, and either
reroute the app to an alternative source, or avoid using
the algorithm altogether.
From a testing perspective, test engineers will need to
include the “human” scenarios in such use cases and
challenge the apps in various happy and negative paths
toward a trustworthy algorithm.
Meteorologists use a variety of sensors, satellites and
computer models to predict future weather patterns.
Combination of historical data, human processing, and AI can
help increase today’s 80% accuracy to a higher rate.
(example: IBM Deep Thunder AI).
13 | DevOps Next 2020 perforce.com
Software Defects within AI/ML Context – Data Type
From a developer standpoint, the algorithms must be
trained with large and accurate sets of data that are
relevant to the problems being handled, as well as to be
solid enough to cover varying conditions. Such
algorithms need to also consider the entire failure types
like ethics, deterministic approaches, stochastics, and
more.
From a testing perspective, the entire test plan must
include the right level of scenarios that challenge the
apps and websites through various data points — good
or bad. The test plan must also place proper assertions
so that developers can understand the data-specific root
cause of failure. Maintaining the tests over time and
updating the test data is something that must be
included in the test planning.
Google recommends separation between the 2 , Source: Google Developers
14 | DevOps Next 2020 perforce.com
Software Defects within AI/ML Context – Stochastic Type
From a developer standpoint, when they
develop the algorithm, it must leverage best
practices like P-Hacking (data phishing) or scope-
analysis to base outputs on mountains of data
until a correlation between variables is showing a
statistically consistent result.
From a test engineering perspective, testers
must model the applications in a way that they
are challenged by multiple variables from various
angles to test the reliability of the model,
relevancy of the outputs, and the consistency
over time and use cases. One of the common
failures around ML/AI algorithm are false positive
results. Testers should test the apps using
statistical approaches and pre-registered data.
15 | DevOps Next 2020 perforce.com
Software Defects within AI/ML Context – Interpretability Type
Source: Analytics Vidhya
Interpretability is a paramount quality that machine learning
methods should aim to achieve if they are to be applied in
practice. If a model cannot prompt simple, relevant, and
understandable outputs to the clients, they won’t be used or
accepted by them.
From a developer standpoint, models must translate the
algorithm outputs in a meaningful and simple manner back to
the users. Once developers can achieve this objective, they
will get back relevant feedback from the users, together with
growth of usage and system adoption.
From a testing perspective, testers must focus on the business
outcomes of such embedded ML/AI algorithms, so the product
meets its purpose and drives back happy customers. Testing
for unclear strings, outputs of chatbots, translations problems,
context-related issues, and others must be covered and
reported back to the developers.
16 | DevOps Next 2020 perforce.com
How to Get Ready to The New Categories?
Source: Fintech Circle
The key for success is to embed the
two types of defects into a single
defect management system together
with proper classification of the
defects so the developers can
distinguish the root cause and resolve
it fast
Homework 
Try and classify the fintech AI use cases into some of the 6 categories
17 | DevOps Next 2020 perforce.com
• Start exploring AI and ML relevant algorithms within your apps today
• Try and challenge the apps use cases where AI/ML are being utilized
• Embed tagging and relevant defect categories into your defect management system (Jira e.g.)
• Ensure that future test plans, suites, and processes are including these new approaches
Summary
© 2020 Perforce Software, Inc.
Classification of Advanced AI and
ML Testing Tools
UP NEXT…
Thank You!

More Related Content

What's hot (20)

PDF
Testing Comes into its Own in DevOps by Jack Maher
QA or the Highway
 
PDF
Continuous Quality: DevOps with Quality by Josh Eastman
QA or the Highway
 
PDF
Creating a successful continuous testing environment by Eran Kinsbruner
QA or the Highway
 
PDF
Panoramic Quality: The Fellowship of Testing in DevOps
Brendan Connolly
 
PDF
Testing Solutions for Hyper Connected Apps by Sivakumar Anna
QA or the Highway
 
PPTX
Maturing your path toward DevOps with Continuous Testing
Perfecto Mobile
 
PDF
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
Perfecto by Perforce
 
PDF
5 Mobile App Trends & What They Mean for Dev & Testing
Perfecto by Perforce
 
PDF
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
QA or the Highway
 
PDF
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
GRUC
 
PPTX
Software testing training in Chandigarh
Webliquidinfotech
 
PDF
AI and Machine Learning for Testers
TechWell
 
PPTX
Online Software Testing Course
jaymicrosoftva
 
PDF
Agile Mobile Testing Workshop
Naresh Jain
 
PPTX
Adopting a Design-First Approach to API Development with SwaggerHub
SmartBear
 
PPTX
Keeping Your Continuous Test Automation Suites Continuously Valuable in DevOps
Perfecto by Perforce
 
PDF
Low code - empower the capability to accelerate | Swatantra Kumar
Swatantra Kumar
 
PDF
DEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONS
Sprintzeal
 
PPTX
3 Ways AI Will Change Software Testing
Rachel Maxwell
 
PPTX
Advanced Codeless Testing for Web Apps
Perfecto by Perforce
 
Testing Comes into its Own in DevOps by Jack Maher
QA or the Highway
 
Continuous Quality: DevOps with Quality by Josh Eastman
QA or the Highway
 
Creating a successful continuous testing environment by Eran Kinsbruner
QA or the Highway
 
Panoramic Quality: The Fellowship of Testing in DevOps
Brendan Connolly
 
Testing Solutions for Hyper Connected Apps by Sivakumar Anna
QA or the Highway
 
Maturing your path toward DevOps with Continuous Testing
Perfecto Mobile
 
How to Scale Digital App Testing With Jenkins & Automation You Can Trust
Perfecto by Perforce
 
5 Mobile App Trends & What They Mean for Dev & Testing
Perfecto by Perforce
 
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
QA or the Highway
 
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
GRUC
 
Software testing training in Chandigarh
Webliquidinfotech
 
AI and Machine Learning for Testers
TechWell
 
Online Software Testing Course
jaymicrosoftva
 
Agile Mobile Testing Workshop
Naresh Jain
 
Adopting a Design-First Approach to API Development with SwaggerHub
SmartBear
 
Keeping Your Continuous Test Automation Suites Continuously Valuable in DevOps
Perfecto by Perforce
 
Low code - empower the capability to accelerate | Swatantra Kumar
Swatantra Kumar
 
DEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONS
Sprintzeal
 
3 Ways AI Will Change Software Testing
Rachel Maxwell
 
Advanced Codeless Testing for Web Apps
Perfecto by Perforce
 

Similar to The New Categories of Software Defects in the Era of AI and ML - DevOps Next (20)

PDF
Implementing AI for improved performance testing – Cuneiform.pdf
Cuneiform Consulting Pvt Ltd.
 
PDF
How to Build Your First AI Agent A Step-by-Step Guide.pdf
Lisa ward
 
PDF
.NET for Enterprise Apps - Pros and Cons.pdf
JamesEddie2
 
DOCX
Shilpa_Resume
Shilpa Babbar
 
PDF
AI in software development Key opportunities challenges.pdf
SoluLab1231
 
PDF
Resume
Rajeev ` Kumar
 
PDF
Maximizing Potential - Hiring and Managing Dedicated Software Developers.pdf
JamesEddie2
 
PDF
implementing_ai_for_improved_performance_testing_the_key_to_success.pdf
sarah david
 
PPTX
Business Process De Pillis Tool Comparison
G.J. dePillis
 
PDF
A Guide to Machine Learning Developer in 2024.pdf
JPLoft Solutions
 
PDF
Technovision
SayantanGhosh58
 
PDF
O'Reilly ebook: Machine Learning at Enterprise Scale | Qubole
Vasu S
 
PDF
Enterprise Mobile App Development Strategies.pdf
MobMaxime
 
PDF
AI in software development Key opportunities challenges.pdf
imoliviabennett
 
PDF
solulab.com-Integrating AI into Product Development A Beginners Guide.pdf
RamayaRam
 
PDF
Top .NET development companies to outsource
Mindfire LLC
 
PDF
Why Developers Must Adapt Beyond Technical Expertise
Nathan Smith
 
PDF
Ideas & Inspiration: Getting Started & Driving Success With Power Platform At...
Richard Harbridge
 
DOCX
Chethan Updated Resume
Chethan H
 
PDF
How AI Will Change Software Development And Applications
Willy Marroquin (WillyDevNET)
 
Implementing AI for improved performance testing – Cuneiform.pdf
Cuneiform Consulting Pvt Ltd.
 
How to Build Your First AI Agent A Step-by-Step Guide.pdf
Lisa ward
 
.NET for Enterprise Apps - Pros and Cons.pdf
JamesEddie2
 
Shilpa_Resume
Shilpa Babbar
 
AI in software development Key opportunities challenges.pdf
SoluLab1231
 
Maximizing Potential - Hiring and Managing Dedicated Software Developers.pdf
JamesEddie2
 
implementing_ai_for_improved_performance_testing_the_key_to_success.pdf
sarah david
 
Business Process De Pillis Tool Comparison
G.J. dePillis
 
A Guide to Machine Learning Developer in 2024.pdf
JPLoft Solutions
 
Technovision
SayantanGhosh58
 
O'Reilly ebook: Machine Learning at Enterprise Scale | Qubole
Vasu S
 
Enterprise Mobile App Development Strategies.pdf
MobMaxime
 
AI in software development Key opportunities challenges.pdf
imoliviabennett
 
solulab.com-Integrating AI into Product Development A Beginners Guide.pdf
RamayaRam
 
Top .NET development companies to outsource
Mindfire LLC
 
Why Developers Must Adapt Beyond Technical Expertise
Nathan Smith
 
Ideas & Inspiration: Getting Started & Driving Success With Power Platform At...
Richard Harbridge
 
Chethan Updated Resume
Chethan H
 
How AI Will Change Software Development And Applications
Willy Marroquin (WillyDevNET)
 
Ad

More from Perfecto by Perforce (19)

PDF
Is BDD Worth It? Considerations for Advanced Test Automation
Perfecto by Perforce
 
PDF
Yoda debunks the top 5 challenges of continuous testing in the cloud
Perfecto by Perforce
 
PDF
Mastering Cross-Browser Test Automation With Cypress and Selenium
Perfecto by Perforce
 
PDF
Cloud Testing Has Never Been Easier or More Accessible
Perfecto by Perforce
 
PDF
How Does AIOps Benefit DevOps Pipeline and Software Quality? - DevOps Next
Perfecto by Perforce
 
PDF
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
Perfecto by Perforce
 
PDF
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
Perfecto by Perforce
 
PPTX
Fast Data, Fast Delivery: How Smart Analysis Accelerates App Testing
Perfecto by Perforce
 
PDF
Best Practices for Shifting Left Performance and Accessibility Testing
Perfecto by Perforce
 
PDF
Deliver Flawless Mobile Apps Faster with CI/CD & CT
Perfecto by Perforce
 
PPTX
How to Eliminate Escaped Defects With a Proven Test Automation Coverage Strategy
Perfecto by Perforce
 
PDF
Accelerating Digital Transformation With API Lifecycle & Test Automation
Perfecto by Perforce
 
PDF
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
Perfecto by Perforce
 
PPTX
Why Mobile and Web Testing MUST Move to the Cloud
Perfecto by Perforce
 
PPTX
Keeping Your Continuous Test Automation Continuously Valuable
Perfecto by Perforce
 
PPTX
Enhancing Your Test Automation Scenario Coverage with Selenium - QA or the Hi...
Perfecto by Perforce
 
PPTX
4 Testing Methods to Scale and Automate Your DevOps Pipeline
Perfecto by Perforce
 
PPTX
How to Guarantee Continuous Value from your Test Automation
Perfecto by Perforce
 
PDF
Everything You Need to Know About Testing i os 13
Perfecto by Perforce
 
Is BDD Worth It? Considerations for Advanced Test Automation
Perfecto by Perforce
 
Yoda debunks the top 5 challenges of continuous testing in the cloud
Perfecto by Perforce
 
Mastering Cross-Browser Test Automation With Cypress and Selenium
Perfecto by Perforce
 
Cloud Testing Has Never Been Easier or More Accessible
Perfecto by Perforce
 
How Does AIOps Benefit DevOps Pipeline and Software Quality? - DevOps Next
Perfecto by Perforce
 
How to Prepare Your Apps for iOS 14 - Test Strategy, Coverage, & Best Practices
Perfecto by Perforce
 
How to Create a Risk Based Testing Strategy With Simulators, Emulators, and R...
Perfecto by Perforce
 
Fast Data, Fast Delivery: How Smart Analysis Accelerates App Testing
Perfecto by Perforce
 
Best Practices for Shifting Left Performance and Accessibility Testing
Perfecto by Perforce
 
Deliver Flawless Mobile Apps Faster with CI/CD & CT
Perfecto by Perforce
 
How to Eliminate Escaped Defects With a Proven Test Automation Coverage Strategy
Perfecto by Perforce
 
Accelerating Digital Transformation With API Lifecycle & Test Automation
Perfecto by Perforce
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
Perfecto by Perforce
 
Why Mobile and Web Testing MUST Move to the Cloud
Perfecto by Perforce
 
Keeping Your Continuous Test Automation Continuously Valuable
Perfecto by Perforce
 
Enhancing Your Test Automation Scenario Coverage with Selenium - QA or the Hi...
Perfecto by Perforce
 
4 Testing Methods to Scale and Automate Your DevOps Pipeline
Perfecto by Perforce
 
How to Guarantee Continuous Value from your Test Automation
Perfecto by Perforce
 
Everything You Need to Know About Testing i os 13
Perfecto by Perforce
 
Ad

Recently uploaded (20)

PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 

The New Categories of Software Defects in the Era of AI and ML - DevOps Next

  • 2. © 2020 Perforce Software, Inc. The New Categories of Software Defects in the Era of AI and ML T Z V I K A S H A H A F
  • 3. 3 | DevOps Next 2020 perforce.com Confidentiality Statement The information contained in this document is strictly confidential, privileged, and only for the information of the intended recipient. The information contained in this document may not be otherwise used, disclosed, copied, altered, or distributed without the prior written consent of Perforce Software, Inc.
  • 4. ABOUT ME: Tzvika Shahaf • VP Product Management at Perfecto • Software professional with over 12 years in product management, development, and testing • Expert in implementing and advising on test strategies for Fortune 500 enterprises and leading tech companies • http://linkedin.com/in/tzvikashahaf/ • @Tzvika_Shahaf
  • 5. 5 | DevOps Next 2020 perforce.com Today’s Agenda 1 2 Software Quality Defects Today and Common Root Causes Introduction to the new Types of AI/ML Software Defects 3 How Should Teams Get Ready to The New Changes? Q&A4
  • 6. 6 | DevOps Next 2020 perforce.com Software Defects 101 - Types Source: Stack Exchange
  • 7. 7 | DevOps Next 2020 perforce.com Software Defects 101 - Severity Source: Guru99
  • 8. 8 | DevOps Next 2020 perforce.com Root Cause of Today’s Digital Apps Defects Web Apps Mobile Apps
  • 9. 9 | DevOps Next 2020 perforce.com Introduction to 6 New Generation of Software Defects (AI/ML)
  • 10. 10 | DevOps Next 2020 perforce.com Software Defects within AI/ML Context – Ethics Type From a developer view, this defect category means that training the AI engine should also include a dedicated set of rules and data that refers to ethics and bias, depending on the target market segments, geographies, and exposure of the app or website. From a tester’s perspective, such a category needs to be included in the test planning and classified upon relevant detection of relevant issues. It will also require the ability to perform all sorts of testing within the lifecycle of the app (unit/APIs/UI/data inputs, etc.). Autonomous cars that can gain insights into drivers with pending warrant/expired driving license should be acknowledged
  • 11. 11 | DevOps Next 2020 perforce.com Software Defects within AI/ML Context – Clustering Type From a developer’s standpoint, the algorithms that are being developed and used must be based on the right characteristics. They must be trained based on large and cohesive data sets. From a test engineering standpoint, in addition to adding a new category to the classified test failures, such a persona must challenge as much as possible. This can be done through testing and parallel data sets to obtain as many outputs as possible in order to build trust in the clusters. In addition, as the product matures, new clusters, as well as data points will be added — this needs to be continuously tested and fed into the testing processes Source: GeeksforGeeks When data is not labelled but can be divided into groups based on similarity, like organization of pictures by faces without names, where the human user must assign names to groups, like iPhoto on MacOS
  • 12. 12 | DevOps Next 2020 perforce.com Software Defects within AI/ML Context – Deterministic Type Source: Interesting Engineering From a developer perspective, they will need to understand the limitations and constrains of the algorithms in the edge cases and situations, and either reroute the app to an alternative source, or avoid using the algorithm altogether. From a testing perspective, test engineers will need to include the “human” scenarios in such use cases and challenge the apps in various happy and negative paths toward a trustworthy algorithm. Meteorologists use a variety of sensors, satellites and computer models to predict future weather patterns. Combination of historical data, human processing, and AI can help increase today’s 80% accuracy to a higher rate. (example: IBM Deep Thunder AI).
  • 13. 13 | DevOps Next 2020 perforce.com Software Defects within AI/ML Context – Data Type From a developer standpoint, the algorithms must be trained with large and accurate sets of data that are relevant to the problems being handled, as well as to be solid enough to cover varying conditions. Such algorithms need to also consider the entire failure types like ethics, deterministic approaches, stochastics, and more. From a testing perspective, the entire test plan must include the right level of scenarios that challenge the apps and websites through various data points — good or bad. The test plan must also place proper assertions so that developers can understand the data-specific root cause of failure. Maintaining the tests over time and updating the test data is something that must be included in the test planning. Google recommends separation between the 2 , Source: Google Developers
  • 14. 14 | DevOps Next 2020 perforce.com Software Defects within AI/ML Context – Stochastic Type From a developer standpoint, when they develop the algorithm, it must leverage best practices like P-Hacking (data phishing) or scope- analysis to base outputs on mountains of data until a correlation between variables is showing a statistically consistent result. From a test engineering perspective, testers must model the applications in a way that they are challenged by multiple variables from various angles to test the reliability of the model, relevancy of the outputs, and the consistency over time and use cases. One of the common failures around ML/AI algorithm are false positive results. Testers should test the apps using statistical approaches and pre-registered data.
  • 15. 15 | DevOps Next 2020 perforce.com Software Defects within AI/ML Context – Interpretability Type Source: Analytics Vidhya Interpretability is a paramount quality that machine learning methods should aim to achieve if they are to be applied in practice. If a model cannot prompt simple, relevant, and understandable outputs to the clients, they won’t be used or accepted by them. From a developer standpoint, models must translate the algorithm outputs in a meaningful and simple manner back to the users. Once developers can achieve this objective, they will get back relevant feedback from the users, together with growth of usage and system adoption. From a testing perspective, testers must focus on the business outcomes of such embedded ML/AI algorithms, so the product meets its purpose and drives back happy customers. Testing for unclear strings, outputs of chatbots, translations problems, context-related issues, and others must be covered and reported back to the developers.
  • 16. 16 | DevOps Next 2020 perforce.com How to Get Ready to The New Categories? Source: Fintech Circle The key for success is to embed the two types of defects into a single defect management system together with proper classification of the defects so the developers can distinguish the root cause and resolve it fast Homework  Try and classify the fintech AI use cases into some of the 6 categories
  • 17. 17 | DevOps Next 2020 perforce.com • Start exploring AI and ML relevant algorithms within your apps today • Try and challenge the apps use cases where AI/ML are being utilized • Embed tagging and relevant defect categories into your defect management system (Jira e.g.) • Ensure that future test plans, suites, and processes are including these new approaches Summary
  • 18. © 2020 Perforce Software, Inc. Classification of Advanced AI and ML Testing Tools UP NEXT…