Sub topic 7
Track Misses Without Turning Them Into Guilt
This chapter assumes you know the never miss twice rule and have a minimum version of your habit. It also assumes you can read short Python functions. The earlier chapters covered the all-or-nothing reaction, the minimum version, and the if-then recovery plan. This chapter covers the record you keep, because the rule only works if you know what happened yesterday.
Why the rule needs a record
"Never miss twice" depends on one fact: whether yesterday was a miss. Memory is a poor source for that fact. After a bad day, people tend to remember it as worse than it was ("I basically fell off") or to skip over it ("I think I did something"). Both distortions change what you do next. A vague, pessimistic memory pushes you toward the all-or-nothing reaction. A vague, optimistic memory lets a second miss slip in unnoticed.
A written log replaces memory with a lookup. On the morning after a bad day, you open the log, read yesterday's entry, and follow the plan. No judgment is required.
The log has two jobs:
- Decide today. Is today a normal day or a recovery day?
- Feed the review. Later you will want to look for patterns in why you missed. The log is the raw material for that.
A log that does these two jobs and nothing else is enough. Most tracking problems come from asking the log to do a third job: measuring your worth.
What to record
Record one mark per day. Four marks cover almost every case.
| Mark | Meaning | Counts as a miss? |
|---|---|---|
| full | You did the habit as planned | No |
| minimum | You did the minimum version | No |
| rest | A planned rest day you chose in advance | No |
| miss | You did neither version and it was not a planned rest day | Yes |
Two choices in this table matter.
First, the minimum version is a success, not a partial failure. If it gets logged as "half done", it will feel like a small defeat every time, and you will avoid using it. The minimum version exists so that the day after a miss has a way to succeed.
Second, a planned rest day is a different mark from a miss. A rest day is a decision made earlier, with a reason. A miss is something that happened to the plan. If you log both as the same blank, your data will show rest days as failures, and you will see a pattern of "misses" that is really just your schedule. The chapter on where the rule stops working covers rest days in more detail. Here, you only need to give them their own mark.
Record facts, not verdicts
The entry for a missed day should say what happened. It should not say what the day says about you. Compare these pairs.
| Verdict (guilt) | Fact (neutral) |
|---|---|
| "Failed again. No discipline." | "Miss. Late meeting, got home at 22:00." |
| "Ruined the streak." | "Miss. Streak counter not used." |
| "Lazy weekend." | "Miss Sat and Sun. No plan for travel." |
| "Finally did something, barely." | "Minimum. One sentence." |
The factual version has three advantages. It is shorter. It contains a cause you can act on later, such as "late meeting" or "no plan for travel". And it does not give the all-or-nothing reaction anything to grab. A sentence like "failed again" is the exact thought that turns a lapse into quitting. A sentence like "late meeting" is just a note.
You do not need to write a reason every time. A mark alone is fine on most days. Add a few words only on misses, and only when you know the cause. If you do not know, write nothing. Inventing a reason to fill the field is a form of self-blame.
A simple tracker in code
If you keep your log in a script, spreadsheet, or notes file, the structure is the same. The following Python example uses the four marks above. It treats an unlogged past day as a miss, which is a design choice discussed below.
from collections import Counter
from collections.abc import Iterator
from datetime import date, timedelta
from enum import Enum
class Mark(Enum):
FULL = "full"
MINIMUM = "minimum"
REST = "rest"
MISS = "miss"
def days_between(start: date, end: date) -> Iterator[date]:
"""Yield every date from start to end, inclusive."""
day = start
while day <= end:
yield day
day += timedelta(days=1)
def mark_for(log: dict[date, Mark], day: date) -> Mark:
"""An unlogged day counts as a miss."""
return log.get(day, Mark.MISS)
def counts(log: dict[date, Mark], start: date, end: date) -> dict[str, int]:
tally = Counter(mark_for(log, d) for d in days_between(start, end))
return {m.value: tally[m] for m in Mark}
def recovery(log: dict[date, Mark], start: date, end: date) -> tuple[int, int]:
"""Return (recovered, first_misses).
A first miss is a miss whose previous day was not a miss.
It is recovered if the next day was not a miss.
"""
first_misses = 0
recovered = 0
one_day = timedelta(days=1)
for day in days_between(start + one_day, end - one_day):
if mark_for(log, day) is Mark.MISS and mark_for(log, day - one_day) is not Mark.MISS:
first_misses += 1
if mark_for(log, day + one_day) is not Mark.MISS:
recovered += 1
return recovered, first_misses
log = {
date(2026, 11, 14): Mark.FULL,
date(2026, 11, 15): Mark.REST,
date(2026, 11, 16): Mark.FULL,
date(2026, 11, 17): Mark.FULL,
# Nov 18 not logged: a miss
date(2026, 11, 19): Mark.MINIMUM,
date(2026, 11, 20): Mark.FULL,
date(2026, 11, 21): Mark.FULL,
date(2026, 11, 22): Mark.REST,
# Nov 23 and Nov 24 not logged: two misses in a row
date(2026, 11, 25): Mark.MINIMUM,
date(2026, 11, 26): Mark.FULL,
}
start, end = date(2026, 11, 14), date(2026, 11, 26)
print(counts(log, start, end))
recovered, first_misses = recovery(log, start, end)
print(f"Recovered {recovered} of {first_misses} first misses")Running it prints:
{'full': 6, 'minimum': 2, 'rest': 2, 'miss': 3}
Recovered 1 of 2 first missesRead the output as information. Over 13 days there were 11 days that counted as showing up (full, minimum, or rest) and 3 misses. The first miss, on the 18th, was followed by a minimum day on the 19th. The second first miss, on the 23rd, was followed by another miss. That is the one case where the rule did not hold, and it is the day worth looking at during a review.
Why unlogged days count as misses
The code treats a missing entry as MISS. This is deliberate. If a blank day were "unknown", you could avoid facing a miss by simply not writing it down, and the log would drift toward flattering you. With this rule, the only way to get a non-miss is to record one.
The cost is that forgetting to log looks like a miss. To limit this, log at a fixed point in the day, such as right after the habit or just before bed. If you realize the next morning that you did the habit and forgot to log it, add the entry then. Do not backdate entries from several days earlier, because your memory of those days is no longer reliable.
Measure recovery, not streaks
The most common tracking tool is the streak counter: a number of consecutive days that resets to zero on a miss. It conflicts with the never miss twice rule.
A streak counter treats a single miss as total loss. After a miss, the number reads zero, which tells you that everything you built is gone. That message is the all-or-nothing reaction in numeric form. A person who has done 40 days out of the last 42 sees "0" on screen and may feel they have nothing to protect.
Better measures keep the history visible after a miss.
| Measure | What it shows | Effect after one miss |
|---|---|---|
| Streak length | Days since the last miss | Drops to 0 |
| Days showing up in the last 30 | Total consistency, with rest days counted as showing up | Drops by 1 |
| Recovery rate | Share of first misses followed by a non-miss day | Rises or falls based on what you do next |
| Longest run of misses | How bad your worst slide was | Unchanged by a single miss |
Recovery rate is the measure that matches the rule. It does not punish a first miss at all. It only changes based on the next day. That points your attention at the one decision you control: what you do the day after.
With small numbers, the rate is noisy. "Recovered 1 of 2" is 50%, but two events say little. Use the rate once you have around 8 to 10 first misses. Until then, read the individual cases instead.
The end-of-day flow
The following diagram shows how a single day's logging connects to the rule.
The point of the flow is that no step requires a feeling. Each step is a question with a fixed answer, and the output of the log is the input to the recovery plan.
Common errors
Logging only the good days. A log with only successes cannot show a pattern of misses, and it cannot trigger a recovery day. Log the misses with the same effort as the rest.
Editing history. Changing a miss to a minimum because "I thought about it" makes the log useless for review. The log is only worth keeping if it is accurate. If you did nothing, the mark is a miss.
Tracking too many details. Time of day, mood, energy, weather, and sleep all feel useful. Recording all of them turns a ten-second entry into a chore, and the chore itself becomes the thing you miss. Start with the mark and an optional few words. Add a field only when you have a specific question that field would answer.
Letting the tracker become the habit. If you spend more time logging than doing, the log has become the goal. It should take well under a minute.
Using the log as a weapon. Scrolling back through a run of misses at midnight to feel bad about it is not review. It adds guilt and no information. A real review has a question, such as "what was happening on the days I missed?", and a time limit.
Counting minimum days as misses in your head. Even if the log says "minimum", you may still feel that only the full version counts. If that is happening, check whether the minimum version is too easy to take seriously or whether the full habit is too large. Both are design problems, not character problems.
Edge cases
- Illness or travel. If you know in advance, log these as rest days with a note. If they come as a surprise, log a miss with the fact ("fever"). Either way, the day after still follows the rule.
- Late-night habits. If you sometimes finish after midnight, decide which calendar day gets the mark. A simple rule is that a session counts for the day on which you started it. Pick one rule and keep it so your log does not contradict itself.
- Forgotten days in a long gap. If you stop logging for a week, do not try to reconstruct it. Mark the gap with a single note ("not logged, Nov 3 to Nov 9") and start again today. The code above would count those days as misses. If you want to exclude a gap from your statistics, shrink the
startandenddates of your report to avoid it. - Very new habits. In the first two weeks, many days will be misses simply because the routine does not exist yet. Recovery rate is not meaningful yet. Use the log mainly to apply the rule each morning.
How this connects to review
A log is only the first half of the work. It tells you what happened, and the next chapter asks why. The facts you wrote on misses ("late meeting", "no plan for travel") are the starting points for that review. When two or three misses share a cause, you have found something you can change in the plan, such as moving the habit to a different time, or adding a rule for travel days. Without the record, you would be guessing.
Exercise
A friend tracks a daily reading habit with a streak counter. After 35 days she misses one day, sees "0", and stops logging for two weeks. Name two changes to her tracking that fit the never miss twice rule, and say what each one fixes.
Show answer
Possible changes: (1) Replace the streak counter with "days showing up in the last 30", so one miss lowers the number by 1 instead of erasing it. This removes the "0" that triggers the all-or-nothing reaction. (2) Add a minimum mark and a recovery-rate measure, so the day after the miss has a way to succeed and the log rewards recovering rather than never missing. A third acceptable change is to log misses as short facts instead of leaving them blank, which keeps the record usable for review.
Exercise
Using the tracker code in this chapter, a log for Nov 1 to Nov 10 has these marks: full on 1, 2, 3; miss on 4; minimum on 5; full on 6; miss on 7, 8, 9; full on 10. What does counts return for that range, and what does recovery return? Assume every day is logged except 4, 7, 8, and 9, which are left out.
Show answer
counts returns {'full': 5, 'minimum': 1, 'rest': 0, 'miss': 4}. The full days are 1, 2, 3, 6, and 10. recovery looks at days 2 through 9. Day 4 is a first miss (day 3 was full) and day 5 was not a miss, so it is recovered. Day 7 is a first miss (day 6 was full) and day 8 is a miss, so it is not recovered. Days 8 and 9 are not first misses because the previous day was a miss. The result is (1, 2), meaning 1 recovered out of 2 first misses.
Exercise
Why does the code treat an unlogged past day as a miss instead of as unknown, and what is the downside?
Show answer
If unlogged days were unknown, you could avoid seeing a miss by not writing it down, so the log would drift toward flattering you. Treating them as misses means the only way to get credit is to record it. The downside is that forgetting to log looks like a miss, which you can reduce by logging at a fixed time each day and adding a missed entry the next morning if you realize you forgot.