Skip to content
KALANBLON
Show contents

Chapter 5 of 7 · 20 min

Risks and communication

By the end of this chapter, you'll be able to

  • Keep a risk register with probability, impact and response
  • Prioritise risks by their criticality
  • Organise a team's rituals: daily check-in, review, retrospective
  • Write a useful bug report

The risk register

A risk is an uncertain event that, if it happens, would harm the project. It is recorded in a register, with two estimates, from 1 to 5:

  • its probability: how likely is it to happen?
  • its impact: how serious would it be?

Their product gives the criticality, which helps decide where to put your energy. For each risk, a response is chosen: avoid it (change the plan), reduce it (act now), transfer it (contract, insurance) or accept it (while monitoring it).

risks = [
    ("The mobile payment provider is slow to grant access", 4, 4, "reduce: request access this week"),
    ("A power cut on launch day", 2, 3, "reduce: plan a UPS and a morning launch"),
    ("The lead developer goes on maternity leave", 5, 3, "reduce: document and train a partner"),
    ("The server cannot handle the start-of-year load", 3, 5, "reduce: load test before term starts"),
    ("The logo is not approved in time", 2, 1, "accept: a temporary logo will do"),
]

for name, proba, impact, response in sorted(risks, key=lambda r: r[1] * r[2], reverse=True):
    criticality = proba * impact
    level = "HIGH" if criticality >= 15 else "medium" if criticality >= 8 else "low"
    print(f"{criticality:>2} {level:<6} {name}")
    print(f"           → {response}")
16 HIGH   The mobile payment provider is slow to grant access
           → reduce: request access this week
15 HIGH   The lead developer goes on maternity leave
           → reduce: document and train a partner
15 HIGH   The server cannot handle the start-of-year load
           → reduce: load test before term starts
 6 low    A power cut on launch day
           → reduce: plan a UPS and a morning launch
 2 low    The logo is not approved in time
           → accept: a temporary logo will do

A register is only worth something if it is reviewed regularly: at each iteration, estimates are updated, past risks removed and new ones added. The maternity leave, for example, is not a “bad surprise”: it is a known event, prepared for so that the team and the person concerned approach it calmly.

A team's rituals

A few regular meetings, short and useful, avoid most misunderstandings:

  • the daily check-in (15 minutes at most): what did I finish, what will I do, what is blocking me? It is for spotting blockers, not for reporting;
  • the iteration review: you show the working software to users and sponsors, and gather their reactions;
  • the retrospective: the team examines its own way of working. What worked well? What should change? It ends with one or two concrete actions, not a wish list.

The cycle starts again, with a slightly better product and team.

Step 5 of 5
Text description of the animation
  1. The team chooses what it can really finish, by priority.
  2. Every day, blockers are flagged: someone takes care of them the same day.
  3. Users see the working product and react.
  4. The team decides on a concrete change in how it works.
  5. The cycle starts again, with a slightly better product and team.

The useful bug report

“It doesn't work” forces the developer to ask for everything again, and wastes hours. A good bug report lets you reproduce the problem at the first attempt. It contains: a precise title, the steps to reproduce, the expected result, the actual result, and the environment (device, browser, version).

FIELDS = ["title", "steps", "expected", "actual", "environment"]

def check_report(report):
    missing = [f for f in FIELDS if not report.get(f)]
    if len(report.get("title", "")) < 15:
        missing.append("title too vague")
    return missing or ["complete report"]

vague = {"title": "broken"}
useful = {
    "title": "The form refuses 2020 dates of birth",
    "steps": "1. Open /registration  2. Enter 15/03/2020  3. Submit",
    "expected": "Registration is accepted (6-year-old child)",
    "actual": "Message “invalid date”",
    "environment": "Android 13, Chrome, app version 1.2.0",
}
print(check_report(vague))
print(check_report(useful))
['steps', 'expected', 'actual', 'environment', 'title too vague']
['complete report']

With the second report, the developer reproduces the bug in a minute. They may even already suspect the cause: a validation rule requiring a minimum age, badly set.

Mini-lab: your risk registerPython 3.13

Output

Click “Run”: Python will load in your browser (about 10 MB the first time).

Your code runs in your browser, isolated from the page. · Ctrl/⌘ + Enter to run · Esc then Tab to leave the editor

Your turn

Worked exercise

Worked exercise: the risk matrix

Sort the register's risks into a 3-zone matrix by criticality (probability × impact): "red" from 15, "orange" from 8 to 14, "green" below. Return a dictionary {zone: [names]} and print how many risks are in the red zone.

risks = [("Payment", 4, 4), ("Power", 2, 3), ("Leave", 5, 3), ("Load", 3, 5), ("Logo", 2, 1)]
Hint 1
A zone(criticality) function returning the colour simplifies the main loop.
Hint 2
setdefault(zone, []) creates a zone's list the first time.
Show the solution and common mistakes
risks = [("Payment", 4, 4), ("Power", 2, 3), ("Leave", 5, 3), ("Load", 3, 5), ("Logo", 2, 1)]

def zone(criticality):
    if criticality >= 15:
        return "red"
    if criticality >= 8:
        return "orange"
    return "green"

matrix = {}
for name, proba, impact in risks:
    matrix.setdefault(zone(proba * impact), []).append(name)

print(matrix)
print(len(matrix.get("red", [])), "risks in the red zone")
{'red': ['Payment', 'Leave', 'Load'], 'green': ['Power', 'Logo']}
3 risks in the red zone

Three risks out of five in the red zone: that is a lot, and it is precisely the information to bring to the iteration review. Each one deserves an action and an owner, with a date.

Common mistakes:

  • Adding probability and impact instead of multiplying them: a very likely risk with no consequence (5 + 1 = 6) would end up level with a risk that is medium on both counts (3 + 3), whereas the product tells them apart (5 against 9).
  • Rating a risk once and for all: its probability changes over the project, and the matrix must be reviewed at each iteration.

Summary

  1. 1A risk register records for each risk its probability, impact, criticality (their product) and response.
  2. 2The possible responses: avoid, reduce, transfer or accept while monitoring.
  3. 3Daily check-in, review and retrospective: short rituals to unblock, show and improve.
  4. 4A good bug report lets you reproduce the problem: steps, expected, actual, environment.
  5. 5Bad news announced early leaves options; announced late, it becomes a crisis.

Your progress is saved on this device. Create a free account to keep your progress on all your devices.