Open lesson

Mission: answer the alibi without overclaiming

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

Build a reproducible link between a signed request and scheduled work while separating that link from physical presence.

Before Imani, Voss points to his travel ticket. Mara gives you REQ-27, the P0/42 log, and register versions. Present the comparison while leaving official attribution to investigators. The countdown belongs to the story; the exercise has no timer.

Your mission

  1. List sources and versions needed to repeat the calculation.
  2. Show REQ-27 ↔ REPLAY-6 and timestamp order.
  3. Give a counterexample to the presence alibi.
  4. Name two checks and a limit of the conclusion.

How to check your work

  • Request, log, snapshots, and code version identified.
  • Same job and key; request before departure, run after.
  • A scheduled job can run while its requester is absent.
  • Signature/log and parameter history to verify; total guilt not asserted.

Course example

from datetime import datetime
request={"id":"REQ-27","signed_by":"Voss",
         "signed_at":"2026-04-12T20:40:00Z",
         "job_id":"REPLAY-6","identity":"SUPPLIER-SVC"}
departure="2026-04-12T22:00:00Z"
run={"job_id":"REPLAY-6","ran_at":"2026-04-13T03:10:00Z",
     "source_position":"P0/42","identity":"SUPPLIER-SVC"}
def instant(value): return datetime.fromisoformat(value.replace("Z","+00:00"))
print("same_job",request["job_id"]==run["job_id"])
print("same_identity",request["identity"]==run["identity"])
print("request_before_departure",instant(request["signed_at"])<instant(departure))
print("run_after_departure",instant(run["ran_at"])>instant(departure))
print("signed_request",request["id"],request["signed_by"])
print("human_at_console","unknown")

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.

# List sources and versions needed to repeat the calculation.
# Show REQ-27 ↔ REPLAY-6 and timestamp order.
# Give a counterexample to the presence alibi.
# Name two checks and a limit of the conclusion.

exemple.py

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

from datetime import datetime
request={"id":"REQ-27","signed_by":"Voss",
         "signed_at":"2026-04-12T20:40:00Z",
         "job_id":"REPLAY-6","identity":"SUPPLIER-SVC"}
departure="2026-04-12T22:00:00Z"
run={"job_id":"REPLAY-6","ran_at":"2026-04-13T03:10:00Z",
     "source_position":"P0/42","identity":"SUPPLIER-SVC"}
def instant(value): return datetime.fromisoformat(value.replace("Z","+00:00"))
print("same_job",request["job_id"]==run["job_id"])
print("same_identity",request["identity"]==run["identity"])
print("request_before_departure",instant(request["signed_at"])<instant(departure))
print("run_after_departure",instant(run["ran_at"])>instant(departure))
print("signed_request",request["id"],request["signed_by"])
print("human_at_console","unknown")