Open lesson

Mission: stop the report leaving too soon

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

Order collection, validation, and reporting; schedule a start; and react to failure without publishing unchecked results.

In the investigation room, Voss waits for a new chart to repeat his accusation. Mara prepared an event copy and Imani watches validation. You organize the work. The scene has a fictional deadline, but this exercise has no real timer. Your decision should stop a wrong statement from reaching the team.

Your mission

  1. Write the three steps in order and explain the arrow between Check and Report.
  2. Explain tasks, triggers, cron 0 6 *, and timezone UTC in the YAML.
  3. Decide what happens if Check finds two conflicting TRANSFER-7 versions.
  4. State the minimum conditions for a safe rerun after failure.

How to check your work

  • Collect → Check → Report; Report waits for Check to succeed.
  • tasks are steps, triggers starts the flow, the cron means 06:00 daily in UTC.
  • The confirmed report waits; preserve both versions and alert Imani.
  • Rerun is checked, idempotent, and tied to the period, source, and execution.

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.

# Write the three steps in order and explain the arrow between Check and Report.
# Explain tasks, triggers, cron 0 6 * * *, and timezone UTC in the YAML.
# Decide what happens if Check finds two conflicting TRANSFER-7 versions.
# State the minimum conditions for a safe rerun after failure.