Open lesson

Mission: numbers after release

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

Measure real dossier use with useful signals and respect for privacy.

Mara shows a visit chart while Imani prepares new evidence about the recovered prototype. Voss claims the opens prove everyone accepts the report. Luca says he finally understands the difference between the two cars but wants his activity kept private. The fictional meeting is near; the exercise has no timer.

Your mission

  1. Count opens, replays, and understanding feedback in the copy.
  2. Explain what each measure can and cannot conclude.
  3. Suggest minimal log fields and a retention rule.
  4. Describe what to do if opens rise but replays fail.

How to check your work

  • 4 opens, 2 replays, 1 understood feedback.
  • Open does not mean understanding; feedback does not prove fraud.
  • Action type and broad role, with approved access and retention.
  • Inspect links, rights, and clarity, fix, and test again.

Course example

events=[
 {"kind":"open","role":"investigator"},
 {"kind":"open","role":"investigator"},
 {"kind":"replay","role":"investigator"},
 {"kind":"open","role":"participant"},
 {"kind":"open","role":"investigator"},
 {"kind":"replay","role":"investigator"},
 {"kind":"feedback_understood","role":"participant"},
]
counts={kind:sum(e["kind"]==kind for e in events)
        for kind in ("open","replay","feedback_understood")}
print("opens",counts["open"])
print("replays",counts["replay"])
print("understood_feedback",counts["feedback_understood"])
print("opens_prove_understanding",False)
print("personal_names_stored",False)

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.

# Count opens, replays, and understanding feedback in the copy.
# Explain what each measure can and cannot conclude.
# Suggest minimal log fields and a retention rule.
# Describe what to do if opens rise but replays fail.

exemple.py

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

events=[
 {"kind":"open","role":"investigator"},
 {"kind":"open","role":"investigator"},
 {"kind":"replay","role":"investigator"},
 {"kind":"open","role":"participant"},
 {"kind":"open","role":"investigator"},
 {"kind":"replay","role":"investigator"},
 {"kind":"feedback_understood","role":"participant"},
]
counts={kind:sum(e["kind"]==kind for e in events)
        for kind in ("open","replay","feedback_understood")}
print("opens",counts["open"])
print("replays",counts["replay"])
print("understood_feedback",counts["feedback_understood"])
print("opens_prove_understanding",False)
print("personal_names_stored",False)