Sub topic 4
Choosing Units and Granularity
Assume you know basic project terms such as task, milestone, deliverable, and schedule. You should also be comfortable with averages and with the difference between effort and duration. This chapter focuses on choosing measurement units and deciding how small a task should be before estimating it.
Choose a unit that matches the decision
An estimate is useful only when its unit matches the question being asked.
- Person-hours or person-days measure effort. They describe how much focused work one person would provide.
- Working days or calendar days measure duration. They describe how long the task occupies the schedule.
- Story points measure relative size. They compare work with other work instead of representing a fixed amount of time.
- Items per hour or another rate supports parametric estimates. A rate is an estimate based on a measurable unit of output.
| Planning question | Useful unit | Reason |
|---|---|---|
| How much work is required? | Person-hours | Represents effort |
| When can one person finish? | Working days | Represents available work time |
| How large is this backlog item compared with others? | Story points | Supports relative comparison |
| How long will processing 500 records take? | Records per hour | Uses a measurable production rate |
Do not silently mix units. A task estimated at 16 person-hours does not automatically take two calendar days. Interruptions, meetings, reviews, waiting, and other assignments reduce the time available for the task.
from math import ceil
def schedule_days(effort_person_days, people, focus_factor):
"""Return working days needed for a task."""
if effort_person_days < 0 or people <= 0 or not 0 < focus_factor <= 1:
raise ValueError("Use positive effort and people, with focus_factor from 0 to 1.")
return ceil(effort_person_days / (people * focus_factor))
effort = 20
print(schedule_days(effort, people=2, focus_factor=0.7))The example returns 15 working days. Two people provide 1.4 focused person-days per working day, so capacity is lower than two full person-days because of other responsibilities.
Select useful granularity
Granularity is the level of detail in a work breakdown. A task is small enough to estimate when its result, owner, and completion condition are clear.
Break down a task when:
- its estimate is larger than the team's normal planning window;
- several people may perform different parts;
- it contains different kinds of work, such as design, implementation, and testing;
- it has uncertain steps that should be investigated separately;
- a dependency may delay only one part.
Avoid breaking work down merely to create more entries. Excessive detail increases tracking effort and creates false precision. A practical starting point is to make tasks fit within a few working days for near-term planning. Use a larger unit when the work is still exploratory, then refine it as you learn more.
Test the estimate's usefulness
Ask whether the chosen unit supports a decision. If a team needs to order backlog items, relative points may be more reliable than hours. If a manager needs a release window, convert the team's effort estimate into a schedule range. If the team has stable historical throughput, a rate may be appropriate.
Exercise
A task is estimated at 12 person-days. Two people can each spend 60% of their working time on it. What is the minimum whole number of working days to schedule?
Show answer
Divide 12 by 2 × 0.6: 12 ÷ 1.2 = 10 working days.