Habits & Streaks / The 10% Rule & Streak Repairs
Habits & Streaks
6 min read

The 10% Rule & Streak Repairs

In-depth guide to Mudawim's calibrated 10% Rule, missed gap calculation formulas, coin repair costs, and 0-day display rules.

The 10% Rule Explained#

A common flaw in gamified habit apps is that missing one day permanently wipes out a 100-day streak with zero recourse, causing frustration. Conversely, allowing unlimited retroactive repairs destroys the psychological value of the streak.

Mudawim solves this with the 10% Streak Repair Rule:

Important Notice

You are eligible to repair missed days **up to ceil(10% of your continuous streak) built prior to the gap**.

This rule guarantees:

  • A user with a 5-day streak can repair up to 1 missed day.
  • A user with a 20-day streak can repair up to 2 missed days.
  • A user with a 50-day streak can repair up to 5 missed days.
  • A user who has only a 1-day streak cannot skip 3 days and pretend they have an active streak.

Mathematical Formula & Ceiling Rule#

text
Max Fixable Days = max(1, ceil(Previous Streak × 10%))   [if Previous Streak > 0]
Max Fixable Days = 0                                      [if Previous Streak = 0]

Examples:#

Previous Streak10% CalculationCeil ResultMax Fixable Days
1 – 10 days1 × 10% = 0.10ceil(0.10) = 11 Day
11 – 20 days15 × 10% = 1.50ceil(1.50) = 22 Days
21 – 30 days25 × 10% = 2.50ceil(2.50) = 33 Days
31 – 40 days38 × 10% = 3.80ceil(3.80) = 44 Days
41 – 50 days45 × 10% = 4.50ceil(4.50) = 55 Days

Repair Cost Pricing Table#

Repairing missed study days consumes Streak Coins earned from dedicated study sessions:

Missed GapCoin CostCost Rationale
1 Day Missed🪙 80 CoinsStandard 1-day missed buffer
2 Days Missed🪙 200 CoinsMulti-day gap recovery
3 Days Missed🪙 500 CoinsSignificant gap recovery
4+ Days Missed500 + 350 / dayScaled investment for extended absences

Unfixable Streaks & The 0-Day Display Rule#

If your missed gap exceeds your maximum fixable allowance (e.g. you missed 2 days with an 8-day streak, where Max Fixable = 1 day):

  1. Streak is Lost: The streak is mathematically broken and cannot be repaired.
  2. 0-Day Display: The Streak Page and Dashboard immediately show `0 days` for Current Streak (with subtitle *"Streak ended (10% rule)"*) to avoid misleading you.
  3. Danger Alert Banner: A destructive alert banner is displayed on the Streak and Rewards pages explaining the 10% rule limit.
  4. Fresh Start: Click "Start Fresh Today" to begin your next unbroken chain!

How to Repair a Missed Streak#

  1. When you open Mudawim after a missed day (within your 10% limit), the Streak Recovery Dialog or Streak Page Alert Banner will appear.
  2. Check the required coin cost against your balance.
  3. Click Fix Streak (X Coins).
  4. Mudawim backfills the missed dates, recalculates your streak, deducts the coins from your ledger, and restores your unbroken streak!