Skip to content

Debt Triage Sorter

Run the Debt Triage Sorter MicroSim Fullscreen

About This MicroSim

A debt register only helps if every row gets a decision. This MicroSim gives you twelve debt items from the dating-safety app used as the running example in this book. Each card shows three facts: whether it touches a must-be-right part, how big the fix is, and how much interest it charges.

Sort each card by asking three questions in order and stopping at the first yes:

  1. Does it touch a must-be-right part? Then pay now.
  2. Is the fix under half an hour? Then pay now.
  3. Is the interest medium or high? Then log it with a trigger.

Anything left is accepted, and it keeps its row in the register. Two cards are the biggest fixes in the stack and still go in Pay now. Fix sizes and interest ratings are illustrative estimates, and cards 8 and 9 are illustrative items.

How to Use

  1. Click a card in the Stack column to select it. Its full text and facts appear in the panel above.
  2. Press Pay now, Log with a trigger or Accept to place it. The next card in the stack is selected for you.
  3. To move a placed card, click it and press a different bin button.
  4. Press Show hint at any time to see the three questions.
  5. When all twelve are placed, press Check. Each card shows ✓ or ✗. Hover or click a card to read why.
  6. Press Try again for a fresh shuffle. Your first-attempt score stays on screen.

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/debt-triage-sorter/main.html"
        height="704px"
        width="100%"
        scrolling="no"></iframe>

Lesson Plan

Grade Level

Adult professional (Good Enough Engineering)

Duration

10-15 minutes

Learning Objective

The learner will apply the three debt triage questions, in order, to twelve debt items and sort each one into pay now, log with a trigger, or accept, with at least ten of twelve correct.

Prerequisites

  • Technical debt
  • Debt interest
  • Debt register
  • Debt triage
  • Must-be-right parts (Chapter 1)
  • Pay now or log

Activities

  1. Sort (5 min): Place all twelve cards and press Check once.
  2. Review (5 min): Read the feedback on every ✗. Look at cards 6 and 7 and say why their size doesn't matter.
  3. Apply (5 min): Take three rows from your own debt register and run them through the same three questions.

Assessment

Mastery is 10 of 12 cards in the correct bin on the first attempt. Opening the hint is exploration, not evidence.

References

  1. Chapter 15: Technical Debt — the chapter this MicroSim belongs to.
  2. Martin Fowler, Refactoring: Improving the Design of Existing Code (Addison-Wesley, 1999).