Open lesson

Mission: a new clue without a new trap

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

Prepare a reviewed, tested, backed-up, gradual, reversible change.

Imani brings a payment trace. Voss says it proves everything, but Mara wants careful wording. Luca still opens his previous summary. Add the clue without breaking the page, with a route back if its link fails. The fictional report is due soon; the exercise has no timer.

Your mission

  1. Describe what a peer should review about the record and wording.
  2. List five gates and proof that the backup is useful.
  3. Plan a staged rollout with a check at each stage.
  4. Explain return to v2.1 if the new link fails.

How to check your work

  • Source, meaning, time, access, and attribution limit reviewed.
  • Review, CI, links, privacy, backup/restore verified.
  • Practice 10–50–100 with criterion checks.
  • Rollout stopped, v2.1 restored, incident recorded.

Course example

gates={"peer_review":True,"ci_tests":True,"source_links":True,
       "privacy_check":True,"backup_verified":True}
print("gates_pass",all(gates.values()))
rollout=[10,50,100] if all(gates.values()) else []
print("planned_rollout_percent",rollout)
active="timeline_v2.2" if rollout else "timeline_v2.1"
print("active_candidate",active)
broken_source_detected=True
if broken_source_detected:
    active="timeline_v2.1"
print("after_rollback",active)
print("backup_kept",gates["backup_verified"])

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.

# Describe what a peer should review about the record and wording.
# List five gates and proof that the backup is useful.
# Plan a staged rollout with a check at each stage.
# Explain return to v2.1 if the new link fails.

exemple.py

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

gates={"peer_review":True,"ci_tests":True,"source_links":True,
       "privacy_check":True,"backup_verified":True}
print("gates_pass",all(gates.values()))
rollout=[10,50,100] if all(gates.values()) else []
print("planned_rollout_percent",rollout)
active="timeline_v2.2" if rollout else "timeline_v2.1"
print("active_candidate",active)
broken_source_detected=True
if broken_source_detected:
    active="timeline_v2.1"
print("after_rollback",active)
print("backup_kept",gates["backup_verified"])