The object of this script is to estimate the deadline for a task (or a project) with trivariate input:
- "O" for most optimistic case
- "M" for most likely case
- "P" for most pessimisitic case
#the input lengths for "o", "m", and "p" should be same
go run estimate_deadline.go -o 1,2,3 -m 2,5,7 -p 4,9,12
mean and standard deviation for individual tasks & all tasks
mu = (O + 4 * M + P) / 6
std = (P - O) / 6
total_mu = sum(mu)
total_std = math.sqrt(sum(std ** 2))
Beta distribution is presumed in this formula which makes sense because the minimum duration is often more certain than the maximum.
This project is one of personal practices for Test-Driven Development.
Author: Hyunbin Kim ([email protected])
Last edited: 2020-07-24 09:23:58