Skip to content

Instantly share code, notes, and snippets.

@thorntonrose
Last active April 21, 2018 16:32
Show Gist options
  • Save thorntonrose/aa754b405e53764db456b4c402e83b2f to your computer and use it in GitHub Desktop.
Save thorntonrose/aa754b405e53764db456b4c402e83b2f to your computer and use it in GitHub Desktop.
Convert velocity to hours
// calculate hoursPerPoint based on velocity
println "Base:"
daysPerSprint = 10
println "daysPerSprint = $daysPerSprint"
teamSize = 10 // not incl. ben, otis, adrian, support person
println "teamSize = $teamSize"
hoursPerDay = 7
println "hoursPerDay = $hoursPerDay"
sprintCapacity = teamSize * hoursPerDay * daysPerSprint // sprint capacity in hours
println "sprintCapacity = teamSize * hoursPerDay * daysPerSprint = $sprintCapacity"
velocity = 30 // avg pts for last 3 sprints
println "velocity = $velocity"
hoursPerPoint = sprintCapacity / velocity
println "hoursPerPoint = sprintCapacity / velocity = $hoursPerPoint"
// estimate hours based on points and current capacity
println "\nSprint Planning:"
teamSize = 9 // not incl. ben, otis, adrian, support person; one person on vacation
println "teamSize = $teamSize"
sprintCapacity = teamSize * hoursPerDay * daysPerSprint // sprint capacity in hours
println "sprintCapacity = teamSize * hoursPerDay * daysPerSprint = $sprintCapacity"
points = 32
println "points = $points"
estimate = points * hoursPerPoint
println "estimate = points * hoursPerPoint = $estimate"
delta = sprintCapacity - estimate
println "delta = sprintCapacity - estimate = $delta"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment