Question: In the salculate matrics function, the Earned Value ( EV ) is calculated by multiplying the number of completed taska by the planned effort per
In the salculate matrics function, the Earned Value EV is calculated by multiplying the number of completed taska by the planned effort per task assuming equal effort for all tasks
# EVM Calculation Functions
def calculate metricsfplanned effort, planned completion percentage, completed tasks,
stualeffortgpent:
gx clanesdeffort plannegcompletionRercentareg
cpl gy actualeffortapent if actuolfffortapent elac
aieygy if pu elsc
swevpv
ov gy actual effort spent
return y ## cpi, spi, ycv
#Example Data
planned effort # Total planned effort persondaya
planned completion percentagle # Planned completion tasks completed, total
completed tasks # Tasks completed by this point
artual, effortspent ## Actual effort spent persondays
Calculate Metrics
sctualffortagent
# Display Resulta
printfPlanned Value PV: metrics
printfEarned Value EV: metrics
printflCost Performance Index CPI; metrics
printfSchesdule Performance Index SPI; metrics
printfSchedule Variance SV: metrica
printfCost Variance CV: metrics
True
False
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
