← Complete program

Chapter 15 · Course 4 c15-m04

How can we learn from an incident?

Your goal Write an evidence-based incident report with impact, contributing conditions, and tracked corrective actions.

The lesson, the vocabulary, the worked example and the mission are separate blocks. You can follow them in order or return to the one you need.

Video explanation

This English explanation has English subtitles. Its examples may use a separate practice dataset; use the data stated in the written mission for your answers.

01

Story · optional context

The story so far

You are Aster Motors' new data recruit. Luca was hurt when a car resembling Noctis 01 crashed; the prototype is missing, and Voss accuses you. Data lead Mara Sol and investigator Imani restored an older log backup: it contains TRANSFER-7, missing from the published report. An investigation of run R42 shows that two rows entered, one was quarantined for missing operator_id, and only one was published. You must now tell the incident story in a way others can verify, without turning a technical lead into an accusation.

This lesson stands alone. An incident report explains what happened, how people were affected, what was observed, what remains unknown, and which changes the team decided to make. You will order a timeline, measure minimum impact, distinguish an immediate mechanism from an unknown deeper cause, and assign fixes whose results can be checked.

02

Before the lesson

Purpose of this course

Write an evidence-based incident report with impact, contributing conditions, and tracked corrective actions.

Topics covered

Order timestamped events and name the source of each fact.; Measure a minimum impact duration without inventing a resolution time.; Separate an observed mechanism from an unproven human cause.; Propose corrective actions with an owner, due date, and proof of completion.

What you will learn

  • Order timestamped events and name the source of each fact.
  • Measure a minimum impact duration without inventing a resolution time.
  • Separate an observed mechanism from an unproven human cause.
  • Propose corrective actions with an owner, due date, and proof of completion.

PART 1 · THE LESSON

Understand step by step

1

Lesson · explanation

An incident report begins with checkable evidence

Imani must tell colleagues what happened to the Noctis 01 report. A backup contains R1 and TRANSFER-7; the published report shows only R1. Voss wants an immediate accusation, but a difference between documents does not identify who caused it. A data engineer reconstructs known events, measures impact, and follows repairs. Every factual sentence in the report should point to a preserved item, log entry, counter, or dated observation that another person can inspect.

Imagine investigating a school blackout. You record when someone saw the lights go out, which breaker was checked, and when the lights returned. You cannot write 'Paul cut the power' merely because Paul was in the building. Data incidents follow the same rule. The backup tells us what one saved copy contained. The service log describes availability. A run counter describes how many rows went to quarantine. None of these alone identifies a guilty person.

The practice copy supplies five time markers: 20:50, 21:20, 21:35, 21:36, and 22:10. The 20:50 backup contains both events. At 21:20 the service becomes unavailable. At 21:35 run R42 quarantines one row. At 21:36 a one-row report is published. At 22:10 a laboratory restore is verified, while the original published report remains incomplete. A table with time, observation, and source makes this story auditable.

Saying 'the row disappeared' would hide a distinction: TRANSFER-7 is in the backup but absent from the report. The team still needs to link the quarantined row's identifier to its source page. The exact moment when operator_id became missing, if it changed along the way, is not supplied. Mark that point unknown rather than inventing a time between the known events. A reliable timeline displays gaps as honestly as its confirmed entries.

Pause and think

Why connect each time on the timeline to a source?

See the explanation

So another person can verify the observation and distinguish it from a guess.

2

Lesson · explanation

Sorting times is not enough: name what happened

The order is 20:50, 21:20, 21:35, 21:36, and 22:10, but a useful report says what each time means. At 20:50 an archived backup contains R1 and TRANSFER-7. At 21:20 a service log records unavailability. At 21:35 R42 records a quarantined row. At 21:36 the displayed report has one row. At 22:10 the restored laboratory copy has been checked. That last step is a verification of evidence, not a corrected publication.

Think of photographs of a race. A picture at 21:36 shows the scoreboard the audience saw. A picture at 22:10 shows someone opening an archive box. The second picture cannot prove the scoreboard was corrected. In the Noctis case, verifying a restore helps investigators retrieve TRANSFER-7, but does not update the report colleagues already received. Report state must be checked separately from backup state. Confusing them would create a false incident ending.

A source column might reference the backup identifier, the service availability log, the R42 run log, the published report version, and the human verification note for the restore. Those references should lead to preserved evidence. If a time comes from an undated screenshot, say that its origin is weaker. In a real incident, clocks may use different time zones; the team should normalize timestamps before combining them on one timeline. The exercise gives a consistent practice set.

For the mission, put the exact observation beside each time and indicate how sure you are. The five observations above belong to the practice copy; it supplies no time for a later corrected report. That missing endpoint matters when measuring impact. Explain R42 as a processing run and quarantine as setting a problematic row aside. A reader who sees only this lesson should understand the documents compared, the technical terms, and the remaining gap.

Pause and think

What does the 22:10 verification establish, and what does it not establish?

See the explanation

A restored laboratory copy was verified; it does not establish that the published report was fixed.

3

Lesson · explanation

Minimum impact duration is a calculation with a boundary

The incomplete report was published at 21:36 and was still incomplete at the 22:10 observation. From 21:36 to 22:00 is 24 minutes, plus 10 more minutes to 22:10: 34 minutes altogether. You may therefore write 'confirmed impact for at least 34 minutes.' The time when a corrected report was published is not known. Writing 'incident resolved at 22:10' would turn a backup check into an imagined report repair.

Imagine a door seen open at 21:36 and still open at 22:10. You know it remained open across those 34 minutes. You do not know when someone finally closed it. 'At least' is an essential piece of information, not an apology. It tells colleagues exactly how far the observations reach. A later observation or publication record could extend or end the interval, but it is not part of the present exercise.

The previous service outage has its own interval: from 21:20 until a verified return at 22:10 is 50 minutes. Service unavailability and an incomplete published report are different effects. One concerns access to a service; the other concerns content that colleagues could read. Mixing 50 minutes with 34 minutes would suggest both effects started and ended together, contrary to the timeline. Give each duration a label and its two supporting times.

The business impact is that colleagues could see a report missing TRANSFER-7. The practice files do not say how many people read it or which decisions, if any, they made. Flag the version as incomplete under the team's process and notify potentially affected readers, but do not invent a reader count or decisions. A careful impact statement combines a confirmed interval, a plausible exposure, and explicit unknowns for the next investigation step.

Pause and think

What duration can be claimed at 22:10 for the report published at 21:36?

See the explanation

At least 34 minutes of confirmed incompleteness; its true ending time is unknown.

4

Lesson · explanation

The observed mechanism is not a human cause

The immediate known mechanism is a sequence: R42 quarantines one row because operator_id is missing, and then a one-row report is published without a visible incompleteness warning. This explains how one expected row could be absent from that report. It does not show where the field first became missing. Supplier input might already have been incomplete, a transformation could have dropped it, or someone might have changed it. Those are hypotheses to test, not conclusions to publish.

Picture a parcel arriving at a sorting office without a label. The sorter sets it aside and the delivery van leaves without it. We know why the van did not deliver that parcel: it was set aside. We do not yet know whether the sender forgot the label, it fell off in transit, or someone removed it. In the Noctis report, quarantine explains the missing published row but does not assign the missing field to Voss, the supplier, or the recruit.

Excessive rights on a supplier service account are a separate risk condition. Such rights might allow an unsuitable modification, but the ability to act is not evidence that this account made this particular change. Put the rights issue under 'risk or contributing condition to investigate' and identify access logs to examine. Do not convert a weak control into a personal accusation. Imani's explanation stays credible because it separates possibility, observation, and proof.

To advance, link the quarantined row to its event_id, compare the input message with the 20:50 backup, and inspect transformation and access logs. Each comparison can support or eliminate a hypothesis. Record its outcome when evidence arrives; do not fill the root-cause field with an unverified name today. The team can already recommend a visible quarantine warning even while the origin of the missing operator_id remains unresolved.

Pause and think

Which mechanism is known, and which question remains open?

See the explanation

R42 quarantined a row and a one-row report was published; the origin of the missing operator_id is still unknown.

5

Lesson · explanation

A corrective action needs an owner and evidence

Writing 'improve data quality' says nothing about who acts, when they act, or how success is checked. A useful action has an owner, a deadline, and a closure test. Before the next publication, Mara can show received, published, and quarantined row counts, and label the report incomplete when an expected row is missing. A concrete test gives the system two received rows, one quarantined, and expects 2 received, 1 published, 1 quarantined, plus a visible incomplete status.

Before the evidence review, Imani can preserve both source-page versions and connect the quarantined event_id to the file that produced it. Her verification note should record identifiers, times, available hashes or references, and differences found. Before the follow-up meeting, the supplier contact can investigate where operator_id was lost. If no evidence has been produced yet, that action stays open. Writing 'done' in a tracker is not the same as demonstrating a repaired process.

Imagine a group assignment. 'We will tidy the room' cannot be checked easily. 'Mara will count the chairs by Friday and photograph the tidy room' gives a person, a time, and evidence. In a data incident, these three parts let the next team verify whether a repair reduced the risk. They also stop Voss from presenting a verbal promise as a completed correction of the already published report.

A later review must check that the new counter exists and that it actually prevents silent publication of an incomplete result. The team can replay a laboratory case with TRANSFER-7 lacking an operator. It should also check that older source files and report versions were not overwritten. A technical action may be closed while the investigation into how the field disappeared remains open. Track those two statuses separately.

Pause and think

What exact test could verify Mara's action?

See the explanation

For 2 received rows with 1 quarantined, show 2 received, 1 published, 1 quarantined and visibly mark the report incomplete.

6

Lesson · explanation

Write one page that others can defend

Imani's one-page report can have four blocks: timeline and sources, confirmed impact, mechanism and hypotheses, and tracked actions. In the timeline place the five times beside their evidence. In impact state 'at least 34 minutes' for the incomplete report and leave the ending unknown. In mechanism separate observed quarantine from the possible origins of the missing field. Give every action an owner, date, and closure check. This structure explains the incident to someone who has read no other lesson.

The draft 'Voss erased TRANSFER-7; the problem was fixed at 22:10' contains two unsupported conclusions. Replace the first with 'R42 quarantined a row for missing operator_id; we are checking its identifier and where the absence began.' Replace the second with 'At 22:10 the laboratory restore was verified, while the published report remained incomplete.' Add the preserved evidence references. These sentences are less dramatic but can be defended when colleagues ask how you know.

The story's urgent meeting keeps the plot moving; it imposes no timer on the learner. Take time to distinguish what is known, what is suspected, and what the team will do. A rushed accusation could obscure the actual path of the data, whereas a precise report guides the next checks. The mystery remains: TRANSFER-7 is absent from the published report, the origin of the missing field is unsettled, and the team must join versions to logs.

Finish the mission with a short, checkable account for Mara: a two-event backup, an outage, a quarantine, an incomplete publication, and a verified restore; at least 34 minutes of report impact; an observed immediate mechanism with an unknown deeper cause; and actions with owners and evidence. If someone asks who caused this, answer that the evidence in this lesson cannot yet establish it. That limit does not prevent protecting the next publication now.

Pause and think

How should you correct 'the problem was fixed at 22:10'?

See the explanation

Say that the laboratory restore was verified at 22:10 while the published report remained incomplete; its actual repair time is unknown.

Visual guide

From fact to action

  1. 1Sourced timeline
  2. 2Confirmed impact: at least 34 min of incomplete report
  3. 3Observed mechanism: 1 row quarantined
  4. 4Reason for missing field: still unknown
  5. 5Assigned and verified actions

The report preserves unknowns and tracks concrete fixes.

Code · read each line

Order facts and calculate a minimum

from datetime import datetime

events = [
    ("22:10", "restored copy verified; report still incomplete"),
    ("20:50", "backup contains R1 and TRANSFER-7"),
    ("21:36", "report publishes R1 only"),
    ("21:20", "service failure begins"),
    ("21:35", "run R42 quarantines one row"),
]
events.sort(key=lambda item: datetime.strptime(item[0], "%H:%M"))
for time, description in events:
    print(time, description)
published = datetime.strptime("21:36", "%H:%M")
last_observation = datetime.strptime("22:10", "%H:%M")
print("minimum_incomplete_report_minutes", int((last_observation - published).total_seconds() / 60))

The script sorts five fictional events and finds 34 minutes between publication of the incomplete report and the last observation at 22:10. It prints a minimum because no correction of the report is confirmed at that time.

PART 2 · WATCH IT WORK

A complete worked example

Follow each step, then the result

Worked example: repair a misleading sentence

A draft says, 'Voss deleted TRANSFER-7; the problem was resolved at 22:10.'

  1. Replace the first claim with the observation: R42 quarantined one row for missing operator_id; its identity still needs checking.
  2. Add the verified older file: TRANSFER-7 is in the backup and absent from the report, with versions and times.
  3. Replace 'resolved at 22:10' with 'backup verified at 22:10; report still incomplete,' then calculate at least 34 minutes from 21:36.
  4. Add an assigned action: Mara will expose the quarantined row count and test the incomplete-report warning.
What this shows

A useful incident report states precisely what is known and gives observed problems a verifiable follow-up.

How this helps with your mission

The worked revision removes two misleading claims: an accusation against Voss and an invented end at 22:10. Use the same care to order 20:50, 21:20, 21:35, 21:36, and 22:10; calculate at least 34 minutes of incomplete-report impact; and separate observed quarantine from the still unknown origin of missing operator_id. Give Mara and Imani actions with deadlines and measurable closure evidence. The report helps colleagues repair publication and investigate without naming a culprit before examining the sources.

PART 3 · YOUR TURN

Use the lesson to solve the mission

Story scene · practical task

Mission: a report you can defend

Imani must present the facts to colleagues who did not follow the investigation. Voss demands a quick verdict, but a premature accusation could destroy your credibility. Mara hands you R42's times and counts. Prepare one page separating facts, impact, and decisions before the fictional meeting. The urgency belongs to the story; you can take the time needed to verify.

Your task

  1. Place 20:50, 21:20, 21:35, 21:36, and 22:10 beside their events in order.
  2. Calculate the incomplete report's minimum impact at 22:10.
  3. Name the known immediate mechanism and two possible explanations for the missing field.
  4. Propose two actions with owners and ways to verify them.

How to know you have succeeded

  • Ordered timeline with named sources.
  • At least 34 minutes of incomplete report; no claimed resolution.
  • Quarantine and silent publication known; missing field's origin unknown.
  • Actions assigned to Mara and Imani or supplier, with measurable results.
Open this mission in the browser workspace

Try code or SQL and keep a local draft. The mission questions are checked separately below.

Check the facts in your mission

Answer each factual question, then write your report in your own words. The program checks the choices; compare the report with the worked answer below.

1. Which timeline matches the incident evidence?
2. The incomplete report leaves at 21:36 and is still incomplete at 22:10. What can be measured?
3. Which mechanism is observed, and which cause remains to investigate?
4. Which explanations for the missing field can still be examined without naming a culprit?
5. Which corrective action can actually be verified?
See the worked answer
  1. 20:50 backup with R1 and TRANSFER-7; 21:20 service failure; 21:35 R42 quarantines one row; 21:36 one-row report; 22:10 restored copy verified and report still incomplete. Link each entry to its archive or log.
  2. 22:10 − 21:36 = at least 34 minutes of confirmed impact. Final duration remains unknown until a report correction is verified.
  3. R42 publishes one row after quarantining another for missing operator_id. Supplier input, a faulty transformation, and manipulation are hypotheses; none is established here.
  4. Mara, before the next publication: show received/published/quarantined counts and flag an incomplete report, verified by a test with 2 received = 1 published + 1 quarantined. Imani, before evidence review: keep both versions and link the quarantined event_id to its source page, verified by a note with IDs and times. An action without closure evidence stays open.

You can preserve an older version, explain a discrepancy, and track its correction without guessing a culprit. Next you will search many routes for a pattern linking the test shell to a hidden location.

Before you leave

Remember this

  • An incident report links every dated observation to preserved evidence or a log.
  • The 20:50 backup contains R1 and TRANSFER-7; the 21:36 published report contains one row.
  • At 22:10 the report is still incomplete, so confirmed impact is at least 34 minutes with no known end time.
  • R42 quarantined one row for missing operator_id; the origin of that absence is not established.
  • Having access or the ability to modify data is not proof that an account or person made this change.
  • Each corrective action has an owner, deadline, and evidence of success; the review preserves earlier versions.
A–Z

Part of the lesson · keep nearby

New words, explained

These are the names of ideas used in the lesson above. Return here whenever a word feels unfamiliar.

Incident
An event that disrupts a service or makes its output less trustworthy.
Timeline
Facts ordered by time and linked to their sources.
Impact
An incident's effect on users, data, or service.
Contributing condition
A condition that helped an incident happen or last longer.
Immediate mechanism
The directly observed step that produces the effect under study.
Corrective action
A change chosen to reduce the chance or impact of recurrence.
Follow-up
Checking that an action has an owner, date, and verifiable result.

Official references