Brief
Locate a pipeline discrepancy by connecting logs, metrics, and a trace without destroying evidence.
Voss says TRANSFER-7 'never arrived.' Imani sets the R42 counts on the table, and Mara wants an answer before the fictional meeting. Follow the row like a detective following doors: intake, validation, publication. Do not change original systems. Time is short in the story; the exercise has no timer.
Your mission
- Describe what a log, metric, and trace each contribute.
- Find where the publishable count falls from two rows to one.
- Assess hypotheses A and B using the counts.
- Write a conclusion that separates an observed fact from an unknown cause.
How to check your work
- Log = dated event; metric = number; trace = R42's path.
- Break at validate, with one row quarantined.
- A contradicted; B supported by the counts.
- Why the field was missing and who caused it remain unknown.
Course example
records = [
{"run_id": "R42", "stage": "intake", "time": "21:34", "in": 2, "out": 2, "quarantine": 0},
{"run_id": "R42", "stage": "validate", "time": "21:35", "in": 2, "out": 1, "quarantine": 1},
{"run_id": "R42", "stage": "publish", "time": "21:36", "in": 1, "out": 1, "quarantine": 0},
]
for record in records:
print(record["stage"], record["in"], record["out"], record["quarantine"])
print("same_run", len({record["run_id"] for record in records}) == 1)
print("lost_at_validation", records[0]["out"] - records[1]["out"])