Skip to content

title: Where Should You Try This First? description: Sort twelve tasks from a dating-safety app into the cheapest environment that can test each one truthfully: local, staging or production. image: /sims/environment-choice-sorter/environment-choice-sorter.png og:image: /sims/environment-choice-sorter/environment-choice-sorter.png twitter:image: /sims/environment-choice-sorter/environment-choice-sorter.png social: cards: false quality_score: 0 status: built


Where Should You Try This First?

Run the Where Should You Try This First? MicroSim Fullscreen

Where Should You Try This First? screenshot

About This MicroSim

Every change has a cheapest place where it can be tested truthfully. A color change needs only your laptop. A Stripe webhook needs a server Stripe can reach, with test keys. How members react to a new layout can only be learned from members.

This MicroSim gives you twelve task cards and three bins: Local, Staging and Production. Put each card in the cheapest environment that can show the result truthfully, in the order local, then staging, then production.

Tasks 2, 4, 5 and 10 come from the chapter. Task 12 relates to the vendor failures in Chapter 9. The other seven are illustrative and are marked that way on the card.

How to Use

  1. The top card of the stack shows in the panel. Drag it into a bin, or press Local, Staging or Production.
  2. Press Show hint at any time for the question to ask yourself.
  3. Click a placed card to read it in full. Drag it, or press a bin button, to move it. You can move cards until you press Check.
  4. When all twelve are placed, press Check. Each card gets a check mark or a cross. Hover over or click any card to read why it belongs where it does.

Ten of twelve correct on the first try shows mastery. Notice that tasks 3 and 8 are both about a results-page redesign and land in different bins.

Iframe Embed Code

You can add this MicroSim to any web page by adding this to your HTML:

<iframe src="https://arunbatchu.github.io/good-enough-engineering/sims/environment-choice-sorter/main.html"
        height="644px"
        width="100%"
        scrolling="no"></iframe>

Lesson Plan

Learning Objective

The learner will classify twelve tasks from the dating-safety app by the cheapest environment that can test each one truthfully (local, staging or production), with at least ten of twelve correct.

Grade Level

Adult professional (Good Enough Engineering)

Duration

10-15 minutes

Prerequisites

  • Environment
  • Local environment
  • Staging environment
  • Production environment
  • Environment parity
  • Platform secret store
  • Feature flag

Activities

  1. Sorting (6 min): Place all twelve cards without checking. For each one, say what it needs: a server others can reach, production's setup, or real members.
  2. Feedback (4 min): Press Check. Read the reason on every card you missed.
  3. Discussion (4 min): Pick one task from your own app for each bin. Which ones are you testing in a more expensive place than they need?

Assessment

  • At least 10 of 12 cards in the right bin on the first attempt.
  • Tasks 3 and 8 in different bins.
  • The learner can state the rule: the cheapest environment that can show the result truthfully.

References

  1. Stripe docs: Testing - test mode keys and test cards for trying payments without real money.
  2. Martin Fowler: Feature Toggles - how feature flags let you show code to a few users.
  3. p5.js reference - the library used to draw this activity.