Hierarchical Workflow and progress bar improvement with State Monad
Logs of Todays meeting
cgenie: if we stretch accounting procedures, we could implement them with current joblog structure
09:40 < anoe> yes, it sounds good
09:40 < cgenie[m]> the monad would keep number of steps and adjust numbers in such a way (when reporting how much is remaining in each step) that the
progress is displayed nicely
09:40 < cgenie[m]> suppose you report 2 steps to the monad, then report that 1st step is 1000 tasks, then it shoudl automatically assume 1000 for second
step
09:41 < cgenie[m]> and if second step is updated, it should adjust the counts in such a way that each step is 50%
09:41 < cgenie[m]> if second step is 2000 tasks and 1st is 1000 tasks then it should recalculate values so that 1st and 2nd step are 50%, say
09:42 < cgenie[m]> then each function would just start with calling the monad and saying `add 1 step, with 1000 tasks and i'll mark them as they're done`
and the monad takes care of making the numbers right