Part 13 / Stage 4
Discovery and scoping
Goal: Understand the real problem before building: run discovery, map the people and the workflow, quantify the value with honest assumptions, rank the asks, and write a scope both sides can sign. Time: ~3 hours · Needs: Python 3.14+, the course venv
What you will learn
- Running a discovery call
- Stakeholder mapping: sponsor, users, IT, security, blockers and champions
- Mapping the current workflow
- Quantifying value: baselines and estimates with stated assumptions
- Prioritising with RICE
- Writing the scope: goals, non-goals, success criteria, risks
Topics in this part
Practice
Work in the course venv. The discovery notes are fdelab.DISCOVERY_NOTES. Check each answer by running it; compare with solutions/ only after trying.
Exercise 1: Mine the notes
Parse DISCOVERY_NOTES with code: extract every number mentioned (12 dispatchers, 2 hours, 150 emails, 4 minutes, 6 weeks) into a dict and print it. Crude regex is fine — the point is that discovery numbers become data.
Show the solution to Exercise 1
# Exercise 1: discovery numbers become data
import re
from fdelab import DISCOVERY_NOTES
patterns = {
"dispatchers": r"(\d+) dispatchers",
"manual_hours_per_day": r"(\d+) hours a day",
"emails_per_day": r"About (\d+) emails a day",
"minutes_per_email": r"~(\d+) minutes to answer",
"pilot_weeks": r"pilot in (\d+) weeks",
}
found = {}
for name, pattern in patterns.items():
m = re.search(pattern, DISCOVERY_NOTES)
if m:
found[name] = int(m.group(1))
print(found)
Exercise 2: Sensitivity analysis
Take the value estimate and vary hours_saved_share over 0.5/0.75/0.9 and emails_automated_share over 0.3/0.5/0.7. Print a small table of total hours/year and name which assumption moves the result more.
Show the solution to Exercise 2
# Exercise 2: which assumption moves the number most?
def total_hours(hours_saved_share, emails_automated_share):
dispatch = 12 * 2.0 * hours_saved_share * 250
email = 150 * 4 / 60 * emails_automated_share * 250
return dispatch + email
print("hours_saved_share sweep (emails at 0.5):")
for s in (0.5, 0.75, 0.9):
print(f" {s:.2f} -> {total_hours(s, 0.5):7,.0f} h/yr")
print("emails_automated_share sweep (dispatch at 0.75):")
for s in (0.3, 0.5, 0.7):
print(f" {s:.2f} -> {total_hours(0.75, s):7,.0f} h/yr")
spread_dispatch = total_hours(0.9, 0.5) - total_hours(0.5, 0.5)
spread_email = total_hours(0.75, 0.7) - total_hours(0.75, 0.3)
print(f"dispatch assumption spread {spread_dispatch:,.0f} h vs email spread {spread_email:,.0f} h")
print("-> hours_saved_share moves the result most; confirm it first")
Exercise 3: RICE with a new entrant
Add "Slack alerts when a shipment is delayed" (reach 12, impact 1, confidence 0.9, effort 1) to the RICE list. Where does it land? Print the new ranking and one sentence (as a comment) on whether the pilot scope should change.
Show the solution to Exercise 3
# Exercise 3: a cheap, confident request climbs the ranking
requests = [
("Auto-sync shipments from old system", 12, 3, 0.8, 3),
("Answer 'where is my shipment' emails", 12, 2, 0.5, 4),
("Custom PDF reports for Priya", 1, 1, 1.0, 2),
("Mobile app for drivers", 40, 2, 0.3, 12),
("Slack alerts when a shipment is delayed", 12, 1, 0.9, 1),
]
scored = sorted(((r * i * c / e, n) for n, r, i, c, e in requests), reverse=True)
for score, name in scored:
print(f"{score:6.1f} {name}")
# The alert lands second at 10.8: cheap + confident beats big + uncertain.
# It fits the pilot only if it does not touch the critical path - likely yes, 1 week.
Exercise 4: Non-goals with reasons
Write non_goals(requests, scored, cutoff) that returns every request scoring under the cutoff as a formatted non-goal line including its score. Print the section for cutoff 3.5.
Show the solution to Exercise 4
# Exercise 4: non-goals, with the score that put them there
def non_goals(requests, cutoff):
lines = []
for name, r, i, c, e in requests:
score = r * i * c / e
if score < cutoff:
lines.append(f" NON-GOAL: {name} (RICE {score:.1f} < {cutoff}) - revisit after the pilot")
return lines
requests = [
("Auto-sync shipments from old system", 12, 3, 0.8, 3),
("Answer 'where is my shipment' emails", 12, 2, 0.5, 4),
("Custom PDF reports for Priya", 1, 1, 1.0, 2),
("Mobile app for drivers", 40, 2, 0.3, 12),
]
print("Non-goals (cutoff 3.5):")
for line in non_goals(requests, 3.5):
print(line)
Mini-project: The Acme scope document
One script that prints the two-page scope: problem (from the notes), stakeholders, current workflow with minutes, value estimate with assumptions, RICE-ranked requests split into goals and non-goals, success criteria, and risks.
A solution is in solutions/mini_acme_scope_document.py.
Stretch: turn the value estimate into a sensitivity table showing which assumption moves the result most.
Common mistakes
| Mistake | Why it hurts | Fix |
|---|---|---|
| Generic discovery questions | Generic answers; the real workflow stays hidden | "Walk me through yesterday", chase the numbers |
| Mapping only the org chart | The blocker is never on the org chart | Sponsor, users, owners, blockers, champions |
| Value claims without assumptions | The first challenged input sinks the number | State assumptions; invite corrections |
| Reach in mixed units | RICE becomes numerology | One unit across all requests |
| No non-goals section | Every "quick addition" is arguable | Name what is out, with scores |
| Scope written solo | It is your document, not a shared one | Review line-by-line with sponsor + IT |
Quick recap
- Discovery hunts for the workflow, the data, the systems and the constraints — in specifics, with numbers.
- Map the sponsor, the users, IT, the blockers and the champions, and address worries like Ravi's early.
- Draw today's workflow with minutes on each step, then find the step to delete.
- A value estimate is the discovery numbers multiplied through stated assumptions; confirm the shares you assumed.
- Score requests with RICE using one reach unit, and let the sponsor's pet request lose politely when the numbers say so.
- A scope document states the problem, the goals, the non-goals, the plan, the risks and the assumptions.
Checklist
- I can name the four discovery targets and one specific question for each.
- I mapped Acme's stakeholders and both readings of Ravi.
- I reproduced the 5,750 hours/year estimate and can name its weakest assumption.
- I ranked the four requests and can defend the loser's score.
- I drafted goals, non-goals and risks for the Acme pilot.
Read more: RICE scoring (Intercom)