Sub topic 13
Tracking whether the swap is working
You have named the routine, isolated the cue, tested which reward you want, and written an if-then plan. This chapter covers the next step: finding out whether the swap is actually happening and whether it is paying off. It assumes you already have a written plan like the one built in the previous chapter, with a specific cue, a replacement routine, and the reward it is meant to deliver.
Why track at all
Memory is a poor record of habit change. A single bad day tends to feel like "it never works", and a run of good days tends to feel like "I've got this". Both impressions are often wrong. A written log gives you three things:
- Evidence about the swap. You can see how often the cue appeared and what you did when it did.
- Evidence about the reward. You can see whether the new routine satisfied the craving, or whether you drifted back to the old routine later.
- A basis for adjusting. If something is off, the log shows where: the cue, the routine, or the reward.
Tracking is also light accountability. Writing "I did the old routine" is slightly uncomfortable, and that small discomfort is useful.
What to record
The most common mistake is to track only one number, such as "days without the snack". That number hides the information you need. Because the method keeps the cue and the reward fixed, track all three parts of the loop.
| Field | Question it answers | Example |
|---|---|---|
| Cue occurred | Did the trigger happen today? | Yes, restless at 3 pm |
| Routine done | Which routine did I do: new, old, or something else? | New: walked and chatted |
| Reward check | Did the craving go away within 15 minutes? | Yes, felt settled |
| Notes | What was different about today? | Rainy, walked indoors |
The "Cue occurred" field matters more than it looks. If the cue did not happen, you cannot say the swap succeeded or failed. A day with no cue is a missing data point. It is not a win.
The "Routine done" field should have three possible values, not two: new, old, and other. "Other" catches a third behavior you did not plan, such as scrolling on your phone. If "other" shows up often, your reward test may have missed a craving.
Two measures: adherence and reward
Keep two measures separate, because they fail for different reasons.
- Adherence is the share of cue occurrences where you did the new routine. If the cue appeared on 5 days and you did the new routine on 3 of them, adherence is 3 out of 5, or 60%.
- Reward satisfaction is the share of new-routine runs after which the craving went away. If you did the new routine 3 times and the craving was gone twice, satisfaction is 2 out of 3.
The pattern of the two numbers tells you what to fix:
| Adherence | Reward satisfaction | Likely problem | What to adjust |
|---|---|---|---|
| Low | Not enough data | The plan is not triggering, or the routine is too hard | Sharpen the cue wording, shrink the routine, add environmental support |
| High | Low | The new routine does not deliver the real reward | Go back to the reward experiments and test other routines |
| High | High | The swap is working | Keep logging, then reduce effort |
| Low | High (when done) | The routine works but is hard to start | Reduce friction, such as keeping walking shoes at your desk |
Reading the log this way avoids a common error: concluding "I lack willpower" when the real problem is that the new routine does not satisfy the craving.
A small log you can compute from
A paper table works well. If you prefer code, the script below stores each day's entry and computes both measures. It reuses the 3 pm snack example.
from dataclasses import dataclass
@dataclass
class DayEntry:
day: str
cue_occurred: bool
routine: str # "new", "old", or "other"; ignored if no cue
craving_gone: bool # only meaningful when routine == "new"
note: str = ""
def summarize(entries):
cue_days = [e for e in entries if e.cue_occurred]
new_days = [e for e in cue_days if e.routine == "new"]
satisfied = [e for e in new_days if e.craving_gone]
adherence = len(new_days) / len(cue_days) if cue_days else None
satisfaction = len(satisfied) / len(new_days) if new_days else None
return adherence, satisfaction
log = [
DayEntry("Mon", True, "new", True),
DayEntry("Tue", True, "old", False, "meeting ran late, skipped walk"),
DayEntry("Wed", True, "new", True),
DayEntry("Thu", False, "none", False, "worked from home, no 3 pm slump"),
DayEntry("Fri", True, "new", False, "still restless afterwards"),
]
adherence, satisfaction = summarize(log)
print(f"Adherence: {adherence:.0%}")
print(f"Reward satisfaction: {satisfaction:.0%}")Running it prints:
Adherence: 75%
Reward satisfaction: 67%Thursday is excluded from both measures because the cue never occurred. The function returns None when there is nothing to divide by, so a week with no cue does not produce a misleading 0%.
How often and how long
Check the log at two speeds.
- Daily, in under a minute. Fill in the entry at a fixed time, ideally right after the cue window. Delayed entries are less accurate.
- Weekly, for five to ten minutes. Compute the two measures and read the notes column for patterns. This is where adjustments happen.
Avoid changing the plan after a single day. One missed day is noise. A reasonable rule is to wait for at least five cue occurrences before changing anything, unless the log shows a clear mismatch such as "other" every time.
The time frame is also individual. Research on habit formation shows wide variation in how long a new behavior takes to become automatic, from a few weeks to many months. Do not treat any fixed number of days as a deadline.
Reading the notes column
The numbers tell you that something is wrong. The notes tell you why. When you review the week, look for repeated words or conditions:
- Context. "Rainy," "at home," "with the team." A routine that only works in one setting needs a backup version.
- State. "Tired," "stressed," "rushed." The old routine often returns under load. A smaller version of the new routine can help.
- Interruptions. "Meeting ran late." The cue may need a more flexible if-then plan, such as "when I feel restless at 3 pm or right after my last meeting".
- Unexpected rewards. "Chat was more fun than the walk." This may show what the reward really was.
Each repeated note suggests one change. Make one change at a time, so you can tell what caused any improvement.
Common errors
- Tracking only the old habit. Counting snacks avoided says nothing about whether the break and social contact were delivered.
- Counting no-cue days as successes. This inflates adherence.
- Logging in batches at the end of the week. Accuracy drops, and the notes become vague.
- Treating the numbers as a grade. The log is a diagnostic tool. A low number means the design needs work.
- Changing several things at once. You lose the ability to tell which change helped.
- Ignoring "other". A third behavior that keeps appearing is a sign the craving was misidentified.
A decision flow for the weekly review
When to stop tracking
Tracking has a cost, so it should not run forever. Once the new routine fires on most cue occurrences for several weeks and the craving is regularly satisfied, move to a lighter check, such as a weekly tick mark or a monthly review. Resume full tracking if something changes in your life: a new job, a move, a different schedule. Those changes often alter the cue and can break the swap quietly.
Summary
Track the cue, the routine, and the reward check, not only the old habit. Compute adherence and reward satisfaction separately, because each points to a different fix. Wait for enough cue occurrences before adjusting, read the notes for patterns, and change one thing at a time.
Exercise
Over two weeks, your 3 pm cue occurred on 8 days. You did the new routine on 6 of them and the old routine on 2. After 5 of the 6 new-routine runs, the craving was gone. Compute adherence and reward satisfaction, and say which one, if either, needs attention.
Show answer
Adherence is 6 of 8, or 75%. Reward satisfaction is 5 of 6, or about 83%. Both are reasonably high, so the swap is largely working. The two old-routine days are the next thing to examine: read their notes for a shared context, such as a late meeting or a bad mood, and add a backup version of the routine for that situation. No change to the routine itself is needed.
Exercise
Your log shows adherence of 90% but reward satisfaction of 30%, and the notes often say "still wanted a snack later". What does this pattern suggest, and what is your next step?
Show answer
You are doing the new routine reliably, so the plan and the cue are working. The new routine is not delivering the reward the old one did, so the craving was probably misidentified. Return to the reward experiments, test other routines against the same cue (for example, a social break instead of a walk alone), and record whether the craving goes away after each one. Change the routine, not your effort.
Exercise
On Thursday you worked from home and never felt restless at 3 pm. How should you record the day, and why?
Show answer
Record it as "cue did not occur" and exclude it from both adherence and reward satisfaction. Counting it as a success would inflate adherence, and counting it as a failure would unfairly lower it. A no-cue day carries no information about the swap, though a note about why the cue was absent may help you understand the cue better.