Open lesson

Mission: rescue the battery log

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

Recognize a complete piece of data and tell zero, missing information, and unreadable information apart.

Mara needs a reception report for Noctis 01. Coffee has stained the logbook. She gives you four notes: A — “3 batteries received, Thursday 09:00, Lina”; B — “0 batteries rejected, Thursday 09:10, Lina”; C — “batteries installed: [blank]”; D — “batteries tested: [unreadable].” The workshop is waiting for your summary.

Your mission

  1. For A, name the value, unit, date, and source.
  2. Explain exactly what the zero in B means.
  3. Give C and D two different labels: missing or unreadable.
  4. Write one sentence saying what is known and what needs checking.

How to check your work

  • You keep received, rejected, installed, and tested apart.
  • You keep B's zero without copying it to C or D.
  • You name Lina as the source of A and B without inventing a source for C or D.
  • You clearly flag both facts that still need confirmation.

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.

# For A, name the value, unit, date, and source.
# Explain exactly what the zero in B means.
# Give C and D two different labels: missing or unreadable.
# Write one sentence saying what is known and what needs checking.