The Panic Monster
Procrastination is rarely a time-management problem; it is almost always an emotion-management problem. You aren't avoiding the task; you are avoiding the *negative feeling* (boredom, fear of failure, anxiety) associated with the task.
The Brain's Battle
Tim Urban famously models this as a battle in the brain: 1. The Rational Decision-Maker: Wants to do productive work. 2. The Instant Gratification Monkey: Only cares about fun and easy things *right now*. 3. The Panic Monster: Sleeps until a deadline approaches, then wakes up and scares the monkey away.
The problem with modern life (e.g., getting in shape, building a business) is that there are no hard deadlines. So the Panic Monster never wakes up, and the Monkey steers the ship forever.
How the Math Works
The tool models procrastination as a compounded delay algorithm. You input your task's total required hours and the deadline. The script divides the remaining time into discrete "distraction windows."
By mapping your self-reported distraction level against the countdown, it plots an exponential decay curve. The "Panic Monster Baseline" triggers exactly when the remaining hours drop below $1.2 \times \text{Task Hours}$, outputting the literal date and time when your stress levels will biologically force you to begin working.