Closed mturilli closed 9 years ago
Hi Matteo,
I think what you meant to do is Task_Length = gauss [1800, 60]
But in any case, there is always a chance of negative task lengths with any distribution (though it will be amazingly small with the 1800, 60 version). What do you think the correct behavior should be?
Dan
Hi Dan,
The arguments of gauss were indeed specified in the wrong order, thank you and apologies.
I think negative values for task length makes little sense but I have to agree that there is no way out of getting negative numbers with a gaussian distribution. Looking at the probability of negative numbers for properly specified (average, stdev), I would go for option 1. We would be introducing a minimal - irrelevant? - relative error but we would keep consistent the semantic of 'task.length'.
Matteo
Mike, when you do the merge of this branch into the master branch, can you also add code that turns any negative task lengths into zero task lengths? Thanks, Dan
fixed in commit a8b9729b0962174510c57d389d63aea23fe70ba2
Example. In the file skeleton.conf I have:
Here a snipped of the length returned by task.length: