Sub topic 12
Avoid Common Mistakes
This chapter assumes you have worked through the earlier chapters. You should be able to write a work breakdown structure (WBS), give tasks durations and finish-to-start dependencies, run a forward pass, and name the critical path. It also assumes you can read short Python and Mermaid examples. Here you will learn the errors that most often make a Gantt chart wrong or misleading, how to spot each one, and how to catch several of them automatically.
Most of these errors do not look like errors. The chart renders, the bars line up, and the finish date looks plausible. The damage appears weeks later, when the plan stops matching reality.
Mistakes in the task list
Tasks that are too large or too vague
A task such as "Build the backend" cannot be tracked. It sits at 60% for three weeks and then finishes late, with no warning in between. A schedulable task has a clear deliverable, one owner, and a duration you can estimate with some confidence.
Useful checks:
- Name each task with a verb and an output, such as "Implement login API" instead of "Backend work".
- Split any task that runs longer than your reporting period. If you report weekly, tasks longer than about two weeks hide problems.
- Do not split below the point where you spend more time updating the chart than doing the work.
Missing work
A WBS that leaves out work produces a schedule that is short from the start. The commonly forgotten items are review and approval cycles, testing and rework, environment setup, handover, and waiting time such as procurement or vendor lead times. Waiting time is a task with a duration even though nobody is working on it.
A check that helps: for each deliverable, ask what has to happen between "the work is done" and "someone accepts it". Each answer is usually a missing task.
Mistakes in durations
Confusing effort with duration
Effort is the total work, measured in person-days. Duration is the elapsed time on the calendar. A task needing 10 person-days takes 10 working days for one person, 5 for two people working in parallel (if the work splits cleanly), and longer if the person works on it half-time. The Gantt bar shows duration, so convert before you enter it.
Single-point estimates and hidden padding
A single number such as "10 days" hides how uncertain it is. Two habits make this worse:
- Each person quietly adds a buffer to their own tasks. The padding is invisible, and the work expands to fill it.
- Nobody adds any buffer, so one slipped task moves the final date.
A better habit is to estimate honestly, keep a range (for example 8 to 14 days) in your notes, and put the contingency in one visible place, such as a buffer task before the final milestone. Then the chart shows how much margin remains.
Treating bars as precise
A bar that ends on a specific day suggests precision the estimate does not have. When you present a chart, show finish dates as the plan's current expectation and label the buffer. Do not present them as promises.
Mistakes in dependencies
Missing dependencies
If a task depends on another but the link is absent, the forward pass lets it start too early. The chart looks better than reality, and the finish date is too optimistic. This is the most dangerous error in this chapter because it moves the result in the pleasing direction.
Over-linking
The opposite error is chaining everything in a line "to be safe". Tasks that could run in parallel are forced into sequence, and the total duration grows. Link a task only to the tasks it truly needs output from. If "Backend" does not need the mockups, it should depend on "Wireframes" and not on "Mockups".
Typing dates instead of linking
If you enter a start date for every task by hand, the chart is a drawing and not a schedule. When one task slips, nothing else moves. Enter dates only for the project start and for real external constraints, such as a fixed event. Everything else should be driven by dependencies, as in Mermaid's after keyword.
Cycles and dangling references
A cycle means task A waits for B and B waits for A, so no valid start date exists. A dangling reference points to a task that does not exist, often because of a typo or a renamed task. Tools handle these differently. Some fail loudly, and others silently draw the task in the wrong place. The script below catches both before you draw anything.
Mistakes with calendars and milestones
Mixing calendar days and working days
A 5-day task starting on a Friday finishes the following Thursday if weekends are non-working days, but on Tuesday if they count. Pick one rule for the whole chart and apply it everywhere. In Mermaid, add excludes weekends so durations count only working days:
gantt
title Website Launch
dateFormat YYYY-MM-DD
excludes weekends
section Design
Wireframes :done, des1, 2026-01-05, 5d
Mockups :active, des2, after des1, 7d
section Build
Frontend :crit, dev1, after des2, 10d
Launch :milestone, m1, after dev1, 0dPublic holidays and team leave are separate. Mermaid's excludes also accepts specific dates written in the chart's date format, such as excludes 2026-01-19. Add holidays that fall inside the project window, or the plan will schedule work on days nobody works.
Giving milestones a duration or an owner
A milestone is a point in time that marks a result, such as "Design approved". It has zero duration and consumes no effort. If you give a milestone a duration of 3 days, you have created a task and hidden work inside it. If an approval takes three days, make "Review design" a task and put a milestone after it.
Mistakes in the critical path and slack
Treating the critical path as fixed
The critical path is a result of the current durations and links. It changes. If a task with slack slips by more than its slack, it becomes critical. In the example from earlier chapters, Backend has 5 days of slack. If it grows from 12 days to 17, a second path becomes critical. If it grows to 20, the critical path moves to run through Backend.
Recalculate after every meaningful change. Also watch near-critical paths, meaning tasks with only one or two days of slack. They are critical in practice, because normal estimate error will use up that slack.
Marking critical tasks by hand
Mermaid's crit tag only colors a task. It does not calculate anything. If you tag tasks by hand, the tags go stale as soon as durations change. Compute the critical path with a script, as in the next section, then update the tags, or accept that the colors are a snapshot.
Spending slack without recording it
Slack is a shared resource along a path. If two tasks in sequence each have 5 days of slack on the same path, they do not have 10 days between them. Using the slack on the first task reduces the second task's slack to zero. Record when slack is used.
Mistakes with resources and baselines
Ignoring resource overload
A Gantt chart built from dependencies alone assumes unlimited people. If "Frontend" and "Backend" both need the same developer during the same weeks, the chart shows them in parallel while one of them cannot actually run. Check each person's load by week. When a conflict exists, either add a dependency (making the sequence explicit) or add people.
Overwriting the plan
If you edit dates in place as the project slips, the chart always looks on schedule and you lose the evidence of what changed. Save a baseline, which is a frozen copy of the approved plan. Then show the baseline next to the current plan and report the variance per task.
Reporting percent complete
"80% done" is a feeling, and teams often report it for weeks. Prefer measurable status: not started, in progress with an estimated remaining duration, or done. Update the remaining duration and let the chart recompute the finish.
Catch errors with a script
The following script checks a task table for non-positive durations, unknown predecessors and cycles. It then computes earliest start and finish, latest finish and slack. It uses the same task format as the forward-pass example and runs on Python 3.9 or later.
from graphlib import TopologicalSorter, CycleError
tasks = {
"Wireframes": (5, []),
"Mockups": (7, ["Wireframes"]),
"Backend": (12, ["Wireframes"]),
"Frontend": (10, ["Mockups"]),
"Integration": (4, ["Frontend", "Backend"]),
}
def check(tasks):
problems = []
for name, (duration, preds) in tasks.items():
if duration <= 0:
problems.append(f"{name}: duration must be positive")
for p in preds:
if p not in tasks:
problems.append(f"{name}: unknown predecessor {p!r}")
if problems:
return problems
graph = {n: set(preds) for n, (_, preds) in tasks.items()}
try:
list(TopologicalSorter(graph).static_order())
except CycleError as err:
problems.append("cycle: " + " -> ".join(err.args[1]))
return problems
def schedule(tasks):
graph = {n: set(preds) for n, (_, preds) in tasks.items()}
order = list(TopologicalSorter(graph).static_order())
start, finish = {}, {}
for n in order:
duration, preds = tasks[n]
start[n] = max((finish[p] for p in preds), default=0)
finish[n] = start[n] + duration
end = max(finish.values())
successors = {n: [] for n in tasks}
for n, (_, preds) in tasks.items():
for p in preds:
successors[p].append(n)
late_finish = {}
for n in reversed(order):
late_finish[n] = min(
(late_finish[s] - tasks[s][0] for s in successors[n]),
default=end,
)
slack = {n: late_finish[n] - finish[n] for n in tasks}
return start, finish, slack
problems = check(tasks)
if problems:
print("\n".join(problems))
else:
start, finish, slack = schedule(tasks)
for n in tasks:
flag = "critical" if slack[n] == 0 else f"slack {slack[n]}"
print(f"{n:12} {start[n]:3} -> {finish[n]:3} {flag}")Running it prints the following:
Wireframes 0 -> 5 critical
Mockups 5 -> 12 critical
Backend 5 -> 17 slack 5
Frontend 12 -> 22 critical
Integration 22 -> 26 criticalThe backward pass works from the project end. Each task's latest finish is the earliest of its successors' latest starts, and slack is the latest finish minus the earliest finish. A task with zero slack is on the critical path, and the result matches the 26-day total from the forward-pass chapter.
Now break the input on purpose. Change "Mockups" in the Frontend predecessor list to "Mockup", and check returns Frontend: unknown predecessor 'Mockup'. Add "Wireframes" to the predecessors of "Integration" and make "Wireframes" depend on "Integration", and it reports a cycle. Both would otherwise have produced a chart with no warning.
Mistakes in the chart itself
Even with a correct schedule, the drawing can mislead:
- Unsorted rows. Order tasks by section and then by start date, so the chart reads as a staircase. Random order hides the flow of work.
- No "today" line. Without a marker for the current date, readers cannot see what should already be finished.
- Axis in day numbers. The Python chart in the drawing chapter uses day offsets. Convert them to dates before sharing it, or readers cannot relate bars to deadlines.
- Too many tasks. A chart with 200 bars is unreadable. Show a summary chart with sections and milestones for stakeholders, and keep the detailed chart for the team.
- Colors without a legend. If red means critical and gray means done, say so.
A review checklist
The table summarizes the mistakes and their usual symptoms.
| Mistake | Symptom | Fix |
|---|---|---|
| Task too large | Stuck at "60%" for weeks | Split into tasks shorter than the reporting period |
| Effort used as duration | Bars too short or too long | Convert person-days to elapsed days |
| Missing dependency | Task starts before its input exists | Add the link, rerun the forward pass |
| Over-linking | Finish date later than necessary | Remove links that carry no real input |
| Hand-typed dates | Nothing moves when a task slips | Use dependencies, keep dates for fixed constraints |
| Calendar mix-up | Work lands on weekends or holidays | Use one day rule, exclude holidays |
| Milestone with duration | Hidden work, unclear approvals | Make the work a task, keep the milestone at zero |
| Stale critical path | Wrong tasks watched | Recalculate after each change |
| No baseline | Cannot show what slipped | Freeze the approved plan and compare |
Exercise
A teammate's chart shows "Backend" starting on day 0, in parallel with "Wireframes", even though the backend design uses the wireframes. The total comes out 5 days shorter than expected. Which mistake is this, and how do you fix it in the task table from this chapter?
Show answer
It is a missing dependency. The task table lists Backend with no predecessors, so the forward pass starts it on day 0. Add "Wireframes" to its predecessor list, as in "Backend": (12, ["Wireframes"]). Backend then starts on day 5, and check and schedule give the correct 26-day total.
Exercise
In the script's output, Backend has 5 days of slack. Backend's estimate rises from 12 to 20 days. Without running the code, what is the new project duration, and which tasks are critical?
Show answer
Backend would start on day 5 and finish on day 25, which is later than Frontend's finish on day 22. Integration then starts on day 25 and ends on day 29, so the project takes 29 days. The critical path becomes Wireframes, Backend, Integration. Mockups and Frontend gain 3 days of slack, because the latest finish of Frontend is 25 and its earliest finish is 22.
Exercise
A project plan has a milestone called "Client sign-off" with a 4-day duration and a hand-typed start date. List two problems and how to correct them.
Show answer
First, a milestone has zero duration, so the 4 days are hidden work, probably a review. Make "Client review" a 4-day task and place a zero-duration "Client sign-off" milestone after it. Second, the hand-typed start date means the milestone will not move when earlier tasks slip. Replace it with a dependency on the review task, so its date comes from the forward pass.