{"id":524,"date":"2025-01-16T17:33:51","date_gmt":"2025-01-16T22:33:51","guid":{"rendered":"https:\/\/www.ecahill.com\/staging\/3340\/?p=524"},"modified":"2025-01-16T17:33:51","modified_gmt":"2025-01-16T22:33:51","slug":"getting-the-bugs-out-of-software-saving-lives-and-money-with-ai","status":"publish","type":"post","link":"https:\/\/www.ecahill.com\/staging\/3340\/getting-the-bugs-out-of-software-saving-lives-and-money-with-ai\/","title":{"rendered":"Getting the Bugs Out of Software \u2013 Saving Lives and Money with AI"},"content":{"rendered":"\n<div class=\"nfd-container nfd-text-md nfd-wb-text__text-7 wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-f15145cb wp-block-group-is-layout-constrained\">\n<div class=\"nfd-text-md wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"nfd-max-w-prose wp-block-group is-vertical is-content-justification-left is-layout-flex wp-container-core-group-is-layout-b61a1d7d wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">$2.41 trillion. That\u2019s the estimate of the cost of poor software quality in the US for 2022. $607bn of that was just finding and fixing bugs. Imagine a world where even safety-critical software systems do not fail. By safety critical, I mean the systems that control airplanes and air traffic, 911 calls, and the power grid delivering gas and electricity supplies. All of these have disasters reported where a computer glitch was cited as the problem. Medical machines are controlled by software, from the heart rate monitor on watches, to the robot surgeon in the hospital. The Food and Drug Administration (FDA) has a whole database of recalled medical devices that include software issues as root cause.\u00a0 Some of them are Class I which means there is \u201c<em>a reasonable chance<\/em>\u201d that the product will cause health problems or death<sup>1<\/sup>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Software engineers are constantly trying to improve how software is created at all stages of the process, not just coding. How can it be right the first time? <strong><em>It is not possible to prove that there are no bugs.<\/em><\/strong> But engineers work hard to find them at all stages of creating and testing the software.\u00a0 Once it is released, engineers still have to maintain the code and fix the issues that inevitably show up. Now I\u2019m sure you\u2019ve heard about Artificial Intelligence (AI), ChatGPT, machine learning, and big data. My research involved looking for ways to use those machine learning algorithms to find bugs.\u00a0 I experimented to see if certain models can work together to make one stronger model, something like a voting system for best one. The data I used to feed into the machine to predict where the errors are, was created by NASA and is freely available for the purpose of improving software engineering.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"2560\" height=\"1097\" data-attachment-id=\"509\" data-permalink=\"https:\/\/www.ecahill.com\/staging\/3340\/high-power-electricity-poles-in-urban-area-connected-to-smart-gr\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?fit=2560%2C1097&amp;ssl=1\" data-orig-size=\"2560,1097\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;4&quot;,&quot;credit&quot;:&quot;urbans78 - stock.adobe.com&quot;,&quot;camera&quot;:&quot;Canon EOS 5D Mark III&quot;,&quot;caption&quot;:&quot;High power electricity poles in urban area connected to smart grid. Energy supply, distribution of energy, transmitting energy, energy transmission, high voltage supply concept photo.&quot;,&quot;created_timestamp&quot;:&quot;1453138449&quot;,&quot;copyright&quot;:&quot;Urban Stebljaj \/ Svetlobne iluzije&quot;,&quot;focal_length&quot;:&quot;135&quot;,&quot;iso&quot;:&quot;100&quot;,&quot;shutter_speed&quot;:&quot;20&quot;,&quot;title&quot;:&quot;High power electricity poles in urban area connected to smart gr&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"High power electricity poles in urban area connected to smart gr\" data-image-description=\"&lt;p&gt;AI generated high power electricity poles in urban area &lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;High power electricity poles in urban area connected to smart grid. Energy supply, distribution of energy, transmitting energy, energy transmission, high voltage supply concept photo.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?fit=1024%2C439&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?resize=2560%2C1097&#038;ssl=1\" alt=\"\" class=\"wp-image-509\" srcset=\"https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?w=2560&amp;ssl=1 2560w, https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?resize=300%2C129&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?resize=1024%2C439&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?resize=768%2C329&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?resize=1536%2C658&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTElecAdobeStock_234658947-scaled.jpeg?resize=2048%2C877&amp;ssl=1 2048w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">High power electricity poles in urban area connected to smart grid. ChatGPT.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So, if software engineers can use AI to predict and find more of the errors while building and testing software, they won\u2019t have to go back and fix things. That time can be used instead to innovate and create better new products and services. If they can find the problems in software that is already out there before safety-critical systems go down, it will save not only billions of dollars, but save lives.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This post is adapted from my 3MT<sup>2<\/sup> (three-minute thesis) entry November 2023 at East Carolina University.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"\"><a href=\"https:\/\/www.fda.gov\/medical-devices\/medical-device-safety\/medical-device-recalls\">https:\/\/www.fda.gov\/medical-devices\/medical-device-safety\/medical-device-recalls<\/a>. Medical device recalls, U.S. Food &amp; Drug Administration accessed 1\/14\/2025.<\/li>\n\n\n\n<li class=\"\"><a href=\"https:\/\/threeminutethesis.uq.edu.au\/higher-degrees-researchstart-your-3mt-journey-here\">https:\/\/threeminutethesis.uq.edu.au\/higher-degrees-researchstart-your-3mt-journey-here<\/a>.  \u201c<em>The competition supports their capacity to effectively explain their research in three minutes, in a language appropriate to a non-specialist audience<\/em>.\u201d<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>$2.41 trillion. That\u2019s the estimate of the cost of poor software quality in the US for 2022. $607bn of that was just finding and fixing bugs. Imagine a world where even safety-critical software systems do not fail. By safety critical, I mean the systems that control airplanes and air traffic, 911 calls, and the power [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":527,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[24,25,9,1,4],"tags":[32,27,26,28,33,35,20,34],"class_list":["post-524","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-machine-learning","category-security","category-software-development","category-testing","tag-ai","tag-bugs","tag-defects","tag-machine-learning","tag-ml","tag-safety-critical-systems","tag-software-engineering","tag-testing"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4aJd0-8s","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.ecahill.com\/staging\/3340\/wp-content\/uploads\/2025\/01\/3MTPicture1-3.png?fit=1203%2C1247&ssl=1","_links":{"self":[{"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/comments?post=524"}],"version-history":[{"count":9,"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/posts\/524\/revisions"}],"predecessor-version":[{"id":536,"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/posts\/524\/revisions\/536"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/media\/527"}],"wp:attachment":[{"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/media?parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/categories?post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecahill.com\/staging\/3340\/wp-json\/wp\/v2\/tags?post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}