Slide 1

Slide 1 text

devops field guide to understanding cognitive biases (2nd edition)

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Your current iPhone crashes

Slide 4

Slide 4 text

Your current iPhone is slower

Slide 5

Slide 5 text

Time to upgrade!

Slide 6

Slide 6 text

Why?

Slide 7

Slide 7 text

Apple has made my device slower!

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Clustering illusion

Slide 10

Slide 10 text

See patterns in randomness

Slide 11

Slide 11 text

See correlations where there are none

Slide 12

Slide 12 text

Your device has always been that slow

Slide 13

Slide 13 text

Clustering illusion is a Cognitive Bias

Slide 14

Slide 14 text

What is a cognitive bias?

Slide 15

Slide 15 text

“Mental shortcut”

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

Timeliness Accuracy

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

Problem solving

Slide 20

Slide 20 text

Problem solving Heuristic

Slide 21

Slide 21 text

Problem solving Heuristic Correct result

Slide 22

Slide 22 text

Problem solving Heuristic Correct result Rational choice

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

Problem solving

Slide 25

Slide 25 text

Problem solving Heuristic

Slide 26

Slide 26 text

Problem solving Heuristic Incorrect result

Slide 27

Slide 27 text

Problem solving Heuristic Incorrect result Cognitive bias!

Slide 28

Slide 28 text

Heuristic?

Slide 29

Slide 29 text

Pattern matching

Slide 30

Slide 30 text

What helped your ancestors survive!

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

March 27, 1977

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Control tower

Slide 35

Slide 35 text

Control tower ✈

Slide 36

Slide 36 text

Control tower ✈ ✈

Slide 37

Slide 37 text

Control tower ✈ ✈

Slide 38

Slide 38 text

Control tower ✈ ✈

Slide 39

Slide 39 text

Control tower ✈ ✈

Slide 40

Slide 40 text

Control tower ✈ ✈

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

KLM: 234 passengers 16 crew

Slide 44

Slide 44 text

Pan Am: 326 passengers 9 crew

Slide 45

Slide 45 text

Frozen in place

Slide 46

Slide 46 text

Control tower ✈ ✈

Slide 47

Slide 47 text

Control tower ✈ ✈

Slide 48

Slide 48 text

Control tower ✈ ✈

Slide 49

Slide 49 text

Normalcy bias

Slide 50

Slide 50 text

Before a disaster:

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

• Underestimate:

Slide 53

Slide 53 text

• Underestimate: • risk

Slide 54

Slide 54 text

• Underestimate: • risk • effects

Slide 55

Slide 55 text

• Underestimate: • risk • effects • preparation

Slide 56

Slide 56 text

“Because something bad has never happened, it never will happen”

Slide 57

Slide 57 text

During a disaster:

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

• Response:

Slide 60

Slide 60 text

• Response: • slow reaction

Slide 61

Slide 61 text

• Response: • slow reaction • seek validation

Slide 62

Slide 62 text

• Response: • slow reaction • seek validation • optimistic interpretation

Slide 63

Slide 63 text

Reaction steps

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

• Cognition

Slide 66

Slide 66 text

• Cognition • Perception

Slide 67

Slide 67 text

• Cognition • Perception • Comprehension

Slide 68

Slide 68 text

• Cognition • Perception • Comprehension • Decision

Slide 69

Slide 69 text

• Cognition • Perception • Comprehension • Decision • Implementation

Slide 70

Slide 70 text

• Cognition • Perception • Comprehension • Decision • Implementation • Movement

Slide 71

Slide 71 text

These are complex tasks

Slide 72

Slide 72 text

You cannot skip these tasks

Slide 73

Slide 73 text

You can practice to make them more automatic

Slide 74

Slide 74 text

People who don't practice deliberate during the disaster

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

• 70% freeze

Slide 78

Slide 78 text

• 70% freeze • 15% freak out

Slide 79

Slide 79 text

• 70% freeze • 15% freak out • 15% react to situation

Slide 80

Slide 80 text

No practice == higher MTTR

Slide 81

Slide 81 text

Counter this behaviour

Slide 82

Slide 82 text

drill drill drill drill drill drill drill drill drill drill drill drill drill drill drill drill drill drill drill drill

Slide 83

Slide 83 text

Normalcy bias has your head in the sand. Drill to react when disaster is at hand.

Slide 84

Slide 84 text

No content

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

No content

Slide 87

Slide 87 text

No content

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

No content

Slide 90

Slide 90 text

No content

Slide 91

Slide 91 text

No content

Slide 92

Slide 92 text

see it go over here

Slide 93

Slide 93 text

No content

Slide 94

Slide 94 text

No content

Slide 95

Slide 95 text

was actually here

Slide 96

Slide 96 text

Confirmation bias

Slide 97

Slide 97 text

Seek information that reinforces position

Slide 98

Slide 98 text

Ignore alternative explanations

Slide 99

Slide 99 text

Interpret ambiguous information in favour of existing positions!

Slide 100

Slide 100 text

No content

Slide 101

Slide 101 text

No content

Slide 102

Slide 102 text

• Who is clueless enough to think Colbert is a conservative? • Why do conservatives like Stephen Colbert? • Ohio study finds conservatives believe Colbert dislikes liberalism

Slide 103

Slide 103 text

http://www.youtube.com/watch?v=Ahg6qcgoay4

Slide 104

Slide 104 text

Debugging code

Slide 105

Slide 105 text

My code is perfect!

Slide 106

Slide 106 text

I know the problem is in this other library

Slide 107

Slide 107 text

I just can't find it!

Slide 108

Slide 108 text

*30 minutes pass*

Slide 109

Slide 109 text

The bug was in my code

Slide 110

Slide 110 text

No content

Slide 111

Slide 111 text

Counter this behaviour

Slide 112

Slide 112 text

Take opposing viewpoints

Slide 113

Slide 113 text

Is your conclusion negative? It could be biased.

Slide 114

Slide 114 text

Confirmation reinforces, You ignore other sources

Slide 115

Slide 115 text

Provisioning automation @

Slide 116

Slide 116 text

No content

Slide 117

Slide 117 text

18 months

Slide 118

Slide 118 text

No content

Slide 119

Slide 119 text

• Provisioning: • We're being hurt badly by VMware provs!

Slide 120

Slide 120 text

• Provisioning: • We're being hurt badly by VMware provs! • R&D: • We'll automate that now!

Slide 121

Slide 121 text

2 weeks later

Slide 122

Slide 122 text

No content

Slide 123

Slide 123 text

• Provisioning: • We're being hurt badly by load balancer provs!

Slide 124

Slide 124 text

• Provisioning: • We're being hurt badly by load balancer provs! • R&D: • We'll automate that now!

Slide 125

Slide 125 text

1 week later

Slide 126

Slide 126 text

No content

Slide 127

Slide 127 text

• Provisioning: • We're being hurt badly by VMware provs!

Slide 128

Slide 128 text

• Provisioning: • We're being hurt badly by VMware provs! • R&D: • We'll automate that now!

Slide 129

Slide 129 text

4 weeks later

Slide 130

Slide 130 text

No content

Slide 131

Slide 131 text

• Provisioning: • We're being hurt badly by EC2 provs!

Slide 132

Slide 132 text

• Provisioning: • We're being hurt badly by EC2 provs! • R&D: • We'll automate that now!

Slide 133

Slide 133 text

No content

Slide 134

Slide 134 text

18 months

Slide 135

Slide 135 text

No content

Slide 136

Slide 136 text

What is happening?

Slide 137

Slide 137 text

Working on the thing closest to us that hurts us most.

Slide 138

Slide 138 text

But it's not the biggest problem overall!

Slide 139

Slide 139 text

Would you work like this?

Slide 140

Slide 140 text

18 months

Slide 141

Slide 141 text

Outcome bias

Slide 142

Slide 142 text

Hindsight bias

Slide 143

Slide 143 text

"knew it all along" effect

Slide 144

Slide 144 text

memory distortion distortion

Slide 145

Slide 145 text

Judgement

Slide 146

Slide 146 text

“You were capable of preventing a bad outcome”

Slide 147

Slide 147 text

Failure!

Slide 148

Slide 148 text

Talk about events in the context of the outcome Failure!

Slide 149

Slide 149 text

Bad outcomes come from bad decisions

Slide 150

Slide 150 text

No content

Slide 151

Slide 151 text

• MH17 tragedy reveals need for flight path overhaul • Flight MH17 took abandoned flight path • MH17 flightpath questioned as Malaysia mourns second airline tragedy • Flight MH17 ‘could have avoided Ukrainian airspace for $66 per passenger’ • Why was MH17’s flight path over a conflict zone?

Slide 152

Slide 152 text

• news.com.au • Sky News • ABC • Daily Mail • PBS

Slide 153

Slide 153 text

Taints all interactions

Slide 154

Slide 154 text

Hindsight bias is your culture killer

Slide 155

Slide 155 text

No content

Slide 156

Slide 156 text

Monitoring thresholds

Slide 157

Slide 157 text

Backend HTTP Port 81

Slide 158

Slide 158 text

“I don’t want that thing that woke me last night to wake me again”

Slide 159

Slide 159 text

“I’m going to make that problem go away”

Slide 160

Slide 160 text

But...

Slide 161

Slide 161 text

How often does that alert fire?

Slide 162

Slide 162 text

What percentage of all alerts is that?

Slide 163

Slide 163 text

Are there other alerts that are more frequent?

Slide 164

Slide 164 text

What makes this alert the most important to fix?

Slide 165

Slide 165 text

+----------------------------+---------------+-----------------+---------------------+ | 2013-07-01T00:00:00+09:30 - 2013-07-31T23:59:59+09:30 | +----------------------------+---------------+-----------------+---------------------+ | Check | # of entities | Critical | Total | +----------------------------+---------------+-----------------+---------------------+ | Memory Utilisation | 85 | 9h 44m 31s | 2mo 5d 8h 2m 5s | | Load | 44 | 22d 2h 38m 50s | 1mo 22d 15h 51m 42s | | ** DISK Utilisation (Win) | 41 | 5m 0s | 1mo 19d 16h 2m 7s | | ** Disk Utilisation (Unix) | 43 | 3h 34m 2s | 1mo 1d 18h 24m 28s | | PING | 35 | 1mo 16h 16m 43s | 1mo 16h 16m 43s | | HOST | 37 | 1mo 2h 25m 52s | 1mo 2h 25m 52s | | SSH | 14 | 26d 21h 8m 33s | 26d 21h 8m 33s | | Flapper | 1 | 15d 11h 42m 16s | 15d 11h 42m 16s | | CPU Load | 5 | 8d 12h 21m 31s | 8d 13h 36m 22s | | CPU Utilisation | 30 | 1h 35m 18s | 4d 3h 17m 37s | | ** check_tcp Port | 56 | 2d 19h 25m 47s | 2d 19h 25m 47s | | RDP | 6 | 6h 34m 39s | 6h 34m 39s | | Swap Utilisation | 18 | 5h 43m 44s | 5h 43m 44s | | Frontend HTTP Port 80 | 4 | 4h 22m 14s | 4h 22m 14s | | Backend HTTPS Port 444 | 4 | 4h 20m 19s | 4h 20m 19s | | Frontend HTTPS Port 443 | 4 | 4h 20m 9s | 4h 20m 9s | | Backend HTTP Port 81 | 4 | 4h 17m 41s | 4h 17m 41s | | Disk Utilisation | 2 | 1h 45m 0s | 3h 9m 0s | | ** HTTP Regex | 5 | 11m 53s | 11m 53s | +----------------------------+---------------+-----------------+---------------------+

Slide 166

Slide 166 text

+----------------------------+---------------+-----------------+---------------------+ | 2013-07-01T00:00:00+09:30 - 2013-07-31T23:59:59+09:30 | +----------------------------+---------------+-----------------+---------------------+ | Check | # of entities | Critical | Total | +----------------------------+---------------+-----------------+---------------------+ | Memory Utilisation | 85 | 9h 44m 31s | 2mo 5d 8h 2m 5s | | Load | 44 | 22d 2h 38m 50s | 1mo 22d 15h 51m 42s | | ** DISK Utilisation (Win) | 41 | 5m 0s | 1mo 19d 16h 2m 7s | | ** Disk Utilisation (Unix) | 43 | 3h 34m 2s | 1mo 1d 18h 24m 28s | | PING | 35 | 1mo 16h 16m 43s | 1mo 16h 16m 43s | | HOST | 37 | 1mo 2h 25m 52s | 1mo 2h 25m 52s | | SSH | 14 | 26d 21h 8m 33s | 26d 21h 8m 33s | | Flapper | 1 | 15d 11h 42m 16s | 15d 11h 42m 16s | | CPU Load | 5 | 8d 12h 21m 31s | 8d 13h 36m 22s | | CPU Utilisation | 30 | 1h 35m 18s | 4d 3h 17m 37s | | ** check_tcp Port | 56 | 2d 19h 25m 47s | 2d 19h 25m 47s | | RDP | 6 | 6h 34m 39s | 6h 34m 39s | | Swap Utilisation | 18 | 5h 43m 44s | 5h 43m 44s | | Frontend HTTP Port 80 | 4 | 4h 22m 14s | 4h 22m 14s | | Backend HTTPS Port 444 | 4 | 4h 20m 19s | 4h 20m 19s | | Frontend HTTPS Port 443 | 4 | 4h 20m 9s | 4h 20m 9s | | Backend HTTP Port 81 | 4 | 4h 17m 41s | 4h 17m 41s | | Disk Utilisation | 2 | 1h 45m 0s | 3h 9m 0s | | ** HTTP Regex | 5 | 11m 53s | 11m 53s | +----------------------------+---------------+-----------------+---------------------+ | Backend HTTP Port 81 | 4 | 4h 17m 41s | 4h 17m 41s |

Slide 167

Slide 167 text

Harness this behaviour

Slide 168

Slide 168 text

Counterfactuals

Slide 169

Slide 169 text

*we’re about to launch* “What do you think will break?”

Slide 170

Slide 170 text

versus

Slide 171

Slide 171 text

*imagine 5 minutes post-launch* “What just broke?”

Slide 172

Slide 172 text

Counter this behaviour

Slide 173

Slide 173 text

During

Slide 174

Slide 174 text

No content

Slide 175

Slide 175 text

• 1. collect data

Slide 176

Slide 176 text

• 1. collect data • 2. analyse that data

Slide 177

Slide 177 text

• 1. collect data • 2. analyse that data • 3. make decisions based on that data

Slide 178

Slide 178 text

• 1. collect data • 2. analyse that data • 3. make decisions based on that data • 4. act on data, not feelings

Slide 179

Slide 179 text

• 1. collect data • 2. analyse that data • 3. make decisions based on that data • 4. act on data, and feelings

Slide 180

Slide 180 text

After:

Slide 181

Slide 181 text

Explain in terms of foresight

Slide 182

Slide 182 text

Local rationality

Slide 183

Slide 183 text

“People make what they think are best decisions based on the information at hand”

Slide 184

Slide 184 text

No content

Slide 185

Slide 185 text

Hindsight affords us global rationality

Slide 186

Slide 186 text

No content

Slide 187

Slide 187 text

Hindsight blinds, Foresight finds

Slide 188

Slide 188 text

No content

Slide 189

Slide 189 text

Normalcy bias

Slide 190

Slide 190 text

Confirmation bias

Slide 191

Slide 191 text

Hindsight bias

Slide 192

Slide 192 text

No content

Slide 193

Slide 193 text

How vulnerable to these biases are you?

Slide 194

Slide 194 text

– you, right now “I’m aware of my biases.”

Slide 195

Slide 195 text

– you, right now “These don’t affect me.”

Slide 196

Slide 196 text

– you, right now “I am better than average.”

Slide 197

Slide 197 text

Better-than-average effect & Illusory superiority

Slide 198

Slide 198 text

Bias blind spot

Slide 199

Slide 199 text

No content

Slide 200

Slide 200 text

• Positive attributes

Slide 201

Slide 201 text

• Positive attributes • Above average

Slide 202

Slide 202 text

No content

Slide 203

Slide 203 text

• Negative attributes

Slide 204

Slide 204 text

• Negative attributes • Below average

Slide 205

Slide 205 text

Why?

Slide 206

Slide 206 text

Self-esteem

Slide 207

Slide 207 text

Control

Slide 208

Slide 208 text

No content

Slide 209

Slide 209 text

Normalcy bias has your head in the sand. Drill to react when disaster is at hand.

Slide 210

Slide 210 text

Confirmation reinforces, You ignore other sources

Slide 211

Slide 211 text

Hindsight blinds, Foresight finds

Slide 212

Slide 212 text

Rhyme-as-reason effect

Slide 213

Slide 213 text

Aesthetics affect truth

Slide 214

Slide 214 text

No content

Slide 215

Slide 215 text

• Fluent, Fast, Smooth

Slide 216

Slide 216 text

• Fluent, Fast, Smooth • Higher value

Slide 217

Slide 217 text

This is a test

Slide 218

Slide 218 text

No content

Slide 219

Slide 219 text

1. Read the statement once

Slide 220

Slide 220 text

1. Read the statement once 2. Count the letter F

Slide 221

Slide 221 text

No content

Slide 222

Slide 222 text

FINAL FOLIOS SEEM TO RESULT FROM YEARS OF DUTIFUL STUDY OF TEXTS ALONG WITH YEARS OF SCIENTIFIC EXPERIENCE.

Slide 223

Slide 223 text

No content

Slide 224

Slide 224 text

How many did you see?

Slide 225

Slide 225 text

How many did you see? The answer is 8

Slide 226

Slide 226 text

Fluency heuristic

Slide 227

Slide 227 text

FINAL FOLIOS SEEM TO RESULT FROM YEARS OF DUTIFUL STUDY OF TEXTS ALONG WITH YEARS OF SCIENTIFIC EXPERIENCE.

Slide 228

Slide 228 text

Brain expects pattern to continue

Slide 229

Slide 229 text

Brain skips other information

Slide 230

Slide 230 text

Harness this behaviour

Slide 231

Slide 231 text

Rhyme your mantras

Slide 232

Slide 232 text

No content

Slide 233

Slide 233 text

Have you learnt anything?

Slide 234

Slide 234 text

https://www.youtube.com/watch?v=IGQmdoK_ZfY

Slide 235

Slide 235 text

How many passes?

Slide 236

Slide 236 text

What did the gorilla do?

Slide 237

Slide 237 text

Did you see the curtains change colour?

Slide 238

Slide 238 text

Or one of the players leave?

Slide 239

Slide 239 text

https://www.youtube.com/watch?v=IGQmdoK_ZfY

Slide 240

Slide 240 text

– Mark Twain “It ain’t what you don’t know that gets you into trouble. It’s what you know for sure that just ain’t so.”

Slide 241

Slide 241 text

Culture is made from people.

Slide 242

Slide 242 text

Everyone has biases.

Slide 243

Slide 243 text

Understand how you think.

Slide 244

Slide 244 text

Become more rational.

Slide 245

Slide 245 text

Become less rationalising.

Slide 246

Slide 246 text

Be aware of bias.

Slide 247

Slide 247 text

Improve ourselves.

Slide 248

Slide 248 text

Culture will flow.

Slide 249

Slide 249 text

I’m Lindsay @auxesis

Slide 250

Slide 250 text

Thank you!

Slide 251

Slide 251 text

Thank you! Liked the talk? Let @auxesis know.

Slide 252

Slide 252 text

No content

Slide 253

Slide 253 text

• Further reading • You Are Not So Smart – David McRaney • The field guide to understanding 
 human error – Sidney Dekker • Sway: The irresistible pull of irrational behavior – Ori Brafman • Thinking, Fast and Slow – Daniel Kahneman