A formula to track consistency
To improve, we need a metric to show us progress.
Just a heatmap or my next target doesn't give me a holistic view.
So I decided to add a metric that tracks consistency across all habits.
This is the first version I have deployed.
Overall Consistency % = (Σ completed days across all active habits)
÷ (Σ elapsed days across all active habits)
× 100
This obviously is oversimplified, but for now I think it will do.

Things to think about for future iterations.
How to handle habits that dont need to be done everyday?
The formula uses all elapsed days irrespective of the habit type.
So if a habit to workout needs to only be done thrice a week, that's going to skew the percentage.
How do we or do we need to consider inputs for each? eg inputs as in (10mins /2 reps/20 times )