Open lesson

Mission: the evidence link fails

Command palette

This mission workspace keeps code and notes in this browser tab. Export them before closing it. Running code is practice, not an automatic grade for the mission.

Brief

Organize monitoring and incident response so the dossier remains readable and verifiable.

Imani clicks a decisive document and gets an error. Voss suggests leaving the graph without its source. Mara hands you the check results and the on-call contact: protect the dossier's trust before Luca's next visit. The fictional scene is urgent; the exercise has no timer.

Your mission

  1. Calculate success rate and whether the 99% SLO holds.
  2. Write essential fields of the incident log.
  3. Say whom to alert and when to escalate.
  4. Describe checks needed to close the incident.

How to check your work

  • 98%; objective missed.
  • Impact, time, version, owner, action, and result recorded.
  • On-call, Imani/Mara, and relevant owners by severity.
  • Links retested, access and beneficiary views checked.

Course example

checks=[True]*98+[False]*2
success_rate=sum(checks)/len(checks)
target=0.99
print("successful",sum(checks),"of",len(checks))
print("success_percent",round(success_rate*100))
print("target_percent",round(target*100))
print("breach",success_rate<target)
print("escalate_to","on_call_owner" if success_rate<target else "routine_review")

Code

Use Tab to leave the editor. Ctrl+Enter runs the source. The lines beginning with # are task reminders. Python ignores them. Write your code beneath them.

Python console

Loading laboratory…

Explore Python or SQL here; this is not an operating-system shell.

This is a disposable browser experiment. The code run here is not recorded as a completed mission.

Each command starts a fresh disposable worker: it runs a captured copy of your current source, then your command with the lesson fixtures. Changes are discarded afterward. Commands never save source or award XP. Ctrl+Enter executes the command.

Virtual workspace files

Source and declarative assets are readable here without JavaScript. Python input files are created at runtime; SQL setup initializes the disposable database.

source.py

Current editor source. Inspection shows your current edits.

# Calculate success rate and whether the 99% SLO holds.
# Write essential fields of the incident log.
# Say whom to alert and when to escalate.
# Describe checks needed to close the incident.

exemple.py

Declarative lesson asset; this is not a file created in the Python filesystem.

checks=[True]*98+[False]*2
success_rate=sum(checks)/len(checks)
target=0.99
print("successful",sum(checks),"of",len(checks))
print("success_percent",round(success_rate*100))
print("target_percent",round(target*100))
print("breach",success_rate<target)
print("escalate_to","on_call_owner" if success_rate<target else "routine_review")