mhabit icon indicating copy to clipboard operation
mhabit copied to clipboard

Inert habits: normal status is 0 (zero)

Open serrq opened this issue 1 year ago β€’ 1 comments

Today while I was adding a supplement (the psyllium husk), I realized in reality that I have to take it only in case of dysentery, as needed.

This involves a kind of monitoring of the specific habit.

Particular because the normality would be not taking it, therefore 0, while if I take it, how many days I take it determines the beginning of the negative/positive habitual state (it depends by habit or by goal).

So I basically ask a habit that is initialized as inert, except to understand later how many times the event repeats over time and have an estimate of its use/consumption starting from the fact that if I’m taking it is something wrong (or right in other cases).

Normal status is 0.

The difference between inert and negative habits is this:

While if I do not smoke cigarettes (0 cigarettes a day) I produce a positive trend, the status of zero in inert habits produces neither a positive nor a negative trend.

In fact, if I don’t take psyllium husks I have neither an advantage nor a disadvantage.

serrq avatar Jun 06 '23 20:06 serrq

IIUC, default status for negative habits should be zero, while for positive habits, it should be a value greater than 0 (as the current default value is 1).

Negative habits is indeed a good suggestion, and I plan to design and develop them in the future.

FriesI23 avatar Jun 07 '23 02:06 FriesI23