Open lesson

Mission: show value without overpromising

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

Compare before and after delivery, consider costs, and explain limits of a causal conclusion.

Management asks for a number before funding maintenance. Voss insists, 'If the page helped, it proves my story.' Mara asks for a review separating tool value from case evidence. Imani wants small sample sizes visible. The fictional meeting is near; the exercise has no timer.

Your mission

  1. Calculate replayable cases before and after and the median difference.
  2. State practice cost and two real costs to collect later.
  3. Name two plausible confounders.
  4. Write a limited conclusion that does not identify Voss.

How to check your work

  • 7/12 vs 11/12; 42 vs 24, difference 18 minutes.
  • Six fictional units and maintenance/storage or human effort mentioned.
  • Training and case difficulty, or similar, acknowledged.
  • Observed improvement without claiming sole cause or fraud attribution.

Course example

before={"cases":12,"replayable":7,"median_minutes":42}
after={"cases":12,"replayable":11,"median_minutes":24}
print("before_replayable",before["replayable"],"/",before["cases"])
print("after_replayable",after["replayable"],"/",after["cases"])
print("median_minutes_saved",before["median_minutes"]-after["median_minutes"])
print("estimated_practice_cost_units",6)
print("causation_proven",False)
print("possible_confounders",["new training","different case difficulty"])

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.

# Calculate replayable cases before and after and the median difference.
# State practice cost and two real costs to collect later.
# Name two plausible confounders.
# Write a limited conclusion that does not identify Voss.

exemple.py

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

before={"cases":12,"replayable":7,"median_minutes":42}
after={"cases":12,"replayable":11,"median_minutes":24}
print("before_replayable",before["replayable"],"/",before["cases"])
print("after_replayable",after["replayable"],"/",after["cases"])
print("median_minutes_saved",before["median_minutes"]-after["median_minutes"])
print("estimated_practice_cost_units",6)
print("causation_proven",False)
print("possible_confounders",["new training","different case difficulty"])