Sub topic 2
Reading variance: planned versus actual
This chapter assumes you know what a baseline is, can read a task list or sprint board, and are comfortable with ratios and simple formulas.
Variance is the gap between what you planned and what happened. Schedule variance (SV) compares earned value with planned value: SV = EV - PV. Cost variance (CV) compares earned value with actual cost: CV = EV - AC. A negative number means the project is behind schedule or over budget.
Burndown and burnup charts
A burndown chart plots remaining work over time against an ideal line. A growing gap above the ideal line means the sprint is falling behind. A burnup chart plots completed work against total scope, which makes scope growth visible as the total line rises.
total_points = 40
sprint_days = 10
actual_remaining = [40, 38, 35, 33, 30]
for day, remaining in enumerate(actual_remaining):
ideal = total_points - (total_points / sprint_days) * day
gap = remaining - ideal
print(f"day {day}: remaining={remaining}, ideal={ideal:.0f}, gap={gap:+.0f}")Earned value: PV, EV, AC, CPI, and SPI
Earned value management combines the plan and the actuals into one view. Planned value (PV) is the budget scheduled for work up to today. Earned value (EV) is the budget of work actually completed. Actual cost (AC) is what you spent. Two ratios summarize performance:
- Cost performance index: CPI = EV / AC. Below 1 means you get less value than you pay for.
- Schedule performance index: SPI = EV / PV. Below 1 means you are behind plan.
def evm(bac, pv, ev, ac):
cpi = ev / ac
spi = ev / pv
eac = bac / cpi
return {
"CV": ev - ac,
"SV": ev - pv,
"CPI": round(cpi, 2),
"SPI": round(spi, 2),
"EAC": round(eac),
"ETC": round(eac - ac),
"VAC": round(bac - eac),
}
print(evm(bac=100000, pv=50000, ev=40000, ac=45000))Forecasting with EAC and ETC
Estimate at completion (EAC) predicts the final cost if current efficiency continues: EAC = BAC / CPI, where BAC is the budget at completion. Estimate to complete (ETC) is the money still needed: ETC = EAC - AC. Variance at completion (VAC) is BAC - EAC, and a negative value signals an overrun.
Exercise
A project has BAC = 100000, EV = 40000, and AC = 45000. What is the EAC, and is the project forecast to overrun?
Show answer
CPI = 40000 / 45000 = 0.89. EAC = 100000 / 0.89, which is about 112500. VAC = 100000 - 112500 = -12500, so the project is forecast to overrun by about 12500.