Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 8: Errors, Failures, and Risk Zach Archer Daniel O’Hara Eric Strittmatter.

Similar presentations


Presentation on theme: "Chapter 8: Errors, Failures, and Risk Zach Archer Daniel O’Hara Eric Strittmatter."— Presentation transcript:

1 Chapter 8: Errors, Failures, and Risk Zach Archer Daniel O’Hara Eric Strittmatter

2 Overview Errors and Failures – Problems for Individuals – Failures that Affect Populations – Problems in Safety – Critical Applications Therac – 25: A Case Study Increasing Reliability and Safety – Reuse of Software – Failure to Update – Professional Techniques – Law, Regulation, and Markets Discussion

3 Errors and Failures Many factors – Faulty Interface – Sloppy Implementation – Careless/Insufficiently Trained Users – Poor User Interface

4 Categorization Problems for Individuals – Generally as consumers Failures that Affect Populations – Costs large amounts of money Problems in Safety – Critical Applications – May injure or kill

5 Problems for Individuals Billing Errors – Programming based Limits Variable representation Database Inaccuracy – Management based Updating data Poor data consistency

6 Failures that Affect Populations Communications – Software Updates – Device Dependency Business – Data Loss – Inverse Affects – Marketing Dishonesty “The honest computing professional will not make deliberately false or deceptive claims about a system or system design”

7 Failures that Affect Populations (cont’d) Voting Systems – Data Leaks – Verification – System Hacking Airports – Large Complexity – Overconfidence

8 Abandoned and Legacy Systems Abandoned Systems – Costs ~40 million – 4 billion – “Hopelessly Inadequate” – 5% – 15% per 1 Trillion dollars Legacy Systems – Old Software and Hardware on New Systems – Generally Creates Problems Original Programmers Gone Documentation Lost Obscure variable names Extinct Language

9 Problems in Safety – Critical Applications Air Traffic Control – Automated Airplanes Unexpected behavior Pilots vs. system

10 Trust and Acceptance Computers Do Help… – Ground-Proximity Warning System – Traffic Collision Avoidance System Drawing the Line – Error Ratio Computer creates 10,000 incorrect checks per day – Higher When Dealing with Human Life? – “Well-intended actions, including those that accomplish assigned duties, may lead to harm unexpectedly. In such an event the responsible person or persons are obligated to undo or mitigate the negative consequences as much as possible.”

11 Therac-25 Case Study

12 Therac-25 Classic case study – Deadly software failure – Radiation treatment machine Software controlled Cancer treatment

13 Therac-25 Manufacturer – Atomic Energy of Canada Limited (AECL) Government corporation

14 Therac-25 1985 - 1987 – 4 different medical centers – Massive overdose of radiation to 6 patients 13,000 to 25,000 rads given 100 to 200 intended Multiple doses due to display error 3 dead

15 Therac-25 Factors – Safety design – Insufficient testing – Bugs – Inadequate reporting and investigating

16 Therac-25 Design Flaws – Manufacture oversight -Malfunctioned frequently -Generally under doses -Operators were used to errors -Overlooked -Operator Interface -Number of issues

17 Therac-25 Design Flaws – Earlier versions (Therac-6, 20) Hardware safety mechanisms – Independent of computer – First fully computer controlled Used same software as the earlier models – Assumed to be safe Frequent shutdowns, blown fuses – Some bugs

18 Therac-25 Why Study? – Avoid repeating History Panama (2000) – Different machine similar issue – 28 overdoses, several deaths – Risk Assessment and Ethical Questions

19 Therac-25 Stakeholders?

20 Therac-25 Manufacturer Government Agencies Hospitals/Physicians Patients Family

21 Therac-25 Responsibility?

22 Therac-25 Software Developers System Engineers Physicians AECL Government Agencies

23 Therac-25 Risk?

24 8.3 Increasing Reliability and Safety What Goes Wrong – Two General reasons Job is to difficult Job is done poorly – Now interact with the real world Complex communications Unpredictable humans Numerous features

25 Overconfidence Developers and users need to appreciate the risk Backing up files A320 airplane Two programming teams Unrealistic reliability or safety estimates Carelessness

26 The Reuse of software Ariane 5 rocket – Veered off course – Rocket and satellites destroyed – 500 million dollars “No Fly” list

27 Failure to Update Failure to update information in databases – FBI database Dose not indicate whether a suspect was convicted – Foreign visitors databases Screening for terrorist Visitors stay longer than legally permitted No way for visitors to check out

28 User interface and human factors Good interfaces help avoid common problems Word processor User interfaces need clear instructions and error messages American Airlines Flight 965 Autopilot interface – Feedback needed – Behave like the user – Low workload is dangerous

29 Testing Well-planned testing of software is the most important thing Challenger space shuttle NASA called for independent Beta testing

30 Law, Regulation, and Markets Criminal and Civil penalties – Therac-25 Victims sued and settled out of court “catastrophic” financial system Credit reports – Limited to the money paid for the software – Many liability laws and criminal laws Help to produce good systems

31 Warranties for consumer software “shrink-wrap” or “click-on” Take software as-is No guarantee

32 Taking Responsibility Many companies pay customers for problems United Airlines Consumers can protect themselves Reviews

33 What are your thoughts Are we too dependent on computers Should there be mandatory licensing of software developers Should software have warranties

34 References Baase, S. (2008), A Gift of Fire, 3 rd Edition, Pearson Education Inc. ACM (1992), ACM Code of Ethics and Professional Conduct, http://www.acm.org/about/code-of-ethics, Accessed: 4/16/2012. Coker, R. (2012), Google Chrome and SE Linux, http://etbe.coker.com.au/2010/05/19/google- chrome-and-se-linux/, Accessed: 4/16/2012.

35 Thank You Any Questions?


Download ppt "Chapter 8: Errors, Failures, and Risk Zach Archer Daniel O’Hara Eric Strittmatter."

Similar presentations


Ads by Google