Sub topic 11
Track progress against a baseline
This chapter assumes you can run the forward pass and name the critical path from the earlier chapters. It also assumes you can run a short Python script. Here you will freeze a plan as a baseline, record progress against it, and show the difference on a chart.
Why a chart needs a baseline
A Gantt chart that you only edit forward shows where the project is now. It does not show how far the plan has moved. When Mockups takes two days longer, you move the bars, and the original promise disappears. Nobody can say later whether the project is late or was always planned for that date.
A baseline is a saved copy of the schedule at the moment the stakeholders agreed to it. It records, for every task, the start, finish and duration as planned. You never edit it during normal status updates. You compare the live schedule against it.
Three sets of numbers are involved, and mixing them up is a common cause of confusing status reports.
| Set | What it holds | Does it change? |
|---|---|---|
| Baseline | Planned start, finish and duration, frozen at approval | No, until a formal rebaseline |
| Current plan | Revised estimates and dates after a forward pass on today's information | Every status update |
| Actuals | What really happened: real start dates, real finish dates, percent complete | Every status update |
The chart should be able to show all three at once. The gap between the baseline and the current plan is the variance, and variance is the thing you report.
The update cycle
Each status update follows the same steps. Doing them in this order keeps the baseline untouched and the current plan consistent with the dependencies.
The decision at the end depends on the critical path from the previous chapters. A slip on a task with slack may change nothing. A slip on a critical task moves the project finish by the same number of days.
Record progress honestly
You have two common ways to record how far along a task is.
- Percent complete. Easy to collect, but easy to get wrong. People report 90% and stay there for a week.
- Remaining duration. Ask "how many working days are left?" The answer feeds directly into the forward pass, because the task's new finish is the status date plus the remaining time.
Use remaining duration to recalculate dates. Use percent complete to draw the progress fill on the bar. If you must use percent complete for scheduling, derive remaining time as duration * (1 - percent / 100), and be suspicious of any task reported above 80% that has been there for more than one update.
Two rules prevent most disputes:
- A task with no actual start has 0% complete, even if it was supposed to begin last week. Late starts are a variance, and they are not progress.
- A finished task is 100% complete and keeps its real finish date. Do not move it back to the planned date to make the chart look tidy.
Worked example: baseline, current plan and status
Use the five tasks from the forward-pass chapter. The project was baselined at 26 days. At day 10, Mockups is re-estimated at 9 days instead of 7, and the team reports percent complete for each task. The script freezes the baseline, reruns the forward pass on the revised estimates, and compares the two.
def forward_pass(tasks):
start, finish = {}, {}
for name, (duration, preds) in tasks.items():
start[name] = max((finish[p] for p in preds), default=0)
finish[name] = start[name] + duration
return start, finish
tasks = {
"Wireframes": (5, []),
"Mockups": (7, ["Wireframes"]),
"Backend": (12, ["Wireframes"]),
"Frontend": (10, ["Mockups"]),
"Integration": (4, ["Frontend", "Backend"]),
}
# Freeze the baseline. These dictionaries are never modified again.
base_start, base_finish = forward_pass(tasks)
# Revised estimates at the status date.
current_tasks = {**tasks, "Mockups": (9, ["Wireframes"])}
cur_start, cur_finish = forward_pass(current_tasks)
status_day = 10
percent = {
"Wireframes": 100,
"Mockups": 55,
"Backend": 40,
"Frontend": 0,
"Integration": 0,
}
for name in tasks:
slip = cur_finish[name] - base_finish[name]
print(f"{name}: baseline {base_start[name]}-{base_finish[name]}, "
f"current {cur_start[name]}-{cur_finish[name]}, finish slip {slip}d")
print(f"Project finish: baseline day {max(base_finish.values())}, "
f"current day {max(cur_finish.values())}")
print()
for name in tasks:
planned = (status_day - base_start[name]) / (base_finish[name] - base_start[name])
planned = max(0, min(1, planned)) * 100
behind = planned - percent[name] > 10
flag = "BEHIND" if behind else "on track"
print(f"{name}: planned {planned:.0f}%, actual {percent[name]}%, {flag}")Running it prints:
Wireframes: baseline 0-5, current 0-5, finish slip 0d
Mockups: baseline 5-12, current 5-14, finish slip 2d
Backend: baseline 5-17, current 5-17, finish slip 0d
Frontend: baseline 12-22, current 14-24, finish slip 2d
Integration: baseline 22-26, current 24-28, finish slip 2d
Project finish: baseline day 26, current day 28
Wireframes: planned 100%, actual 100%, on track
Mockups: planned 71%, actual 55%, BEHIND
Backend: planned 42%, actual 40%, on track
Frontend: planned 0%, actual 0%, on track
Integration: planned 0%, actual 0%, on trackReading the result
The Mockups slip travels down the chain Mockups, Frontend, Integration. Each of those tasks finishes two days late, and the project finish moves from day 26 to day 28. That chain is the critical path, so the slip passes straight to the end date.
Backend did not slip, and its float grew. In the baseline, Integration could not start before day 22 and Backend finished at day 17, so Backend had 5 days of slack. Now Integration starts at day 24, so Backend has 7 days. A delay on the critical path gives the other branch more room.
The second table compares progress at the status date. The planned percentage comes from the baseline: how much of the task's duration should have elapsed by day 10. The 10-point threshold is a policy choice. Set it to whatever your team agrees to treat as worth a conversation.
Show the baseline on the chart
Mermaid's Gantt syntax has no baseline feature. You can still show the comparison by placing the baseline and the current plan in separate sections of one chart. The done tag marks finished work, active marks work in progress, and crit marks the critical path.
This works for small charts, but the two sections are far apart for long schedules, so the eye has to jump between them. For a closer comparison, draw the baseline as a thin bar directly under each current bar. Mermaid cannot do that, but matplotlib can.
The following code continues the worked example. Add it to the end of the same file, since it uses tasks, base_start, base_finish, cur_start, cur_finish, percent and status_day.
import matplotlib.pyplot as plt
names = list(tasks)
fig, ax = plt.subplots(figsize=(9, 3.5))
for row, name in enumerate(names):
duration = cur_finish[name] - cur_start[name]
# Current plan: light bar, with a darker fill for completed work.
ax.barh(row - 0.12, duration, left=cur_start[name],
height=0.28, color="lightsteelblue")
ax.barh(row - 0.12, duration * percent[name] / 100, left=cur_start[name],
height=0.28, color="steelblue")
# Baseline: thin grey bar just below.
ax.barh(row + 0.18, base_finish[name] - base_start[name],
left=base_start[name], height=0.12, color="grey")
ax.axvline(status_day, color="red", linestyle="--", label="Status date")
ax.set_yticks(range(len(names)))
ax.set_yticklabels(names)
ax.invert_yaxis()
ax.set_xlabel("Day")
ax.legend(loc="lower right")
plt.tight_layout()
plt.show()Where the thin grey bar ends before the blue bar, the task is late. The dashed line shows the status date, so a bar whose dark fill stops left of that line is behind. The chart works as a status report because the reader sees both questions at once: whether the plan moved, and whether the work is keeping up with it.
Edge cases to handle
- Work started early or late. A task that started before its baseline date keeps its real start. Successors do not move earlier unless the dependency logic allows it. A task that has not started when it should have is late, even if its percent complete is 0 and its bar looks ordinary.
- Out-of-sequence progress. If Frontend starts before Mockups finishes, either the dependency was wrong or work is being done at risk. Fix the logic, or record the overlap as a lead on the link. Do not leave a chart that contradicts itself.
- Scope change. Adding a task is not slippage. Record it as a change, and decide with the stakeholders whether it goes into a new baseline.
- Working days. The forward pass here counts plain days. In a real schedule, convert durations through the project calendar before comparing dates, or a two-day slip over a weekend will look like four.
- Status date drift. Always draw the status line at the date of the data, not at today's date. Otherwise a stale update looks like a disaster.
When to rebaseline
Rebaseline only when the original plan is no longer a meaningful yardstick. Typical triggers are an approved scope change, a change in the delivery date by agreement, or a re-plan after a major event. Follow this practice:
- Save the old baseline under a name, such as Baseline 0, rather than overwriting it.
- Create the new one from the current plan, on a date everyone records.
- Report variance against the latest baseline, but keep the earlier one for the project review.
Common mistakes
| Mistake | Effect | Fix |
|---|---|---|
| Editing baseline dates during updates | Variance is always zero | Store the baseline separately and read it only |
| Reporting percent complete without remaining time | Dates never move, even when work is stuck | Ask for remaining duration and rerun the forward pass |
| Moving finished tasks to their planned dates | Actuals are lost | Keep real start and finish dates |
| Treating every slip as a project delay | Needless escalation | Check whether the task is on the critical path |
| Drawing the status line at today's date | Stale data looks current | Use the status date of the update |
Exercise
Using the worked example, suppose that at day 10 the team also re-estimates Backend at 20 days instead of 12, while Mockups stays at 9 days. What are the current project finish day, the slip against the baseline, and the critical path?
Show answer
Backend starts at day 5 and finishes at day 25. Mockups finishes at day 14 and Frontend at day 24. Integration waits for the later of the two, so it starts at day 25 and finishes at day 29. The slip against the 26-day baseline is 3 days. The critical path is now Wireframes, Backend, Integration, because the Backend branch (5 + 20 = 25) is longer than the Frontend branch (24).
Exercise
A manager asks you to rebaseline the schedule because the project is two days late and the chart looks bad. What do you do, and what would count as a valid reason to rebaseline?
Show answer
Do not overwrite the baseline. Report the two-day slip, show which tasks caused it, and check whether slack or recovery work can absorb it. A rebaseline is valid only after an approved change, such as a scope change or an agreed new delivery date. Even then, keep the old baseline under its own name and record the date and reason for the new one.