Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008....

32
Scheduling and Rationality Peter Dolog dolog [at] cs [dot] aau [dot] dk 5.2.47 Information Systems March 27, 2008

Transcript of Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008....

Page 1: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

Scheduling and Rationality

Peter Dologdolog [at] cs [dot] aau [dot] dk5.2.47Information SystemsMarch 27, 2008

Page 2: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

2Peter Dolog, SOE, Scheduling and Rationality

Learning Goals

To apply additional techniques for plannig:• Network diagram• Pert chart• Gantt chart• Other metrics and with tool support

To discuss rationality in software engineering

Page 3: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

3Peter Dolog, SOE, Scheduling and Rationality

Why Are Projects Late?An unrealistic deadline established by outsiders

Changing customer requirements not reflected in schedule changes

An honest underestimate of the effort required to do the job

Predictable and/or unpredictable risks that were not considered at project start

Technical difficulties that were not foreseen

Human difficulties that were not foreseen

Miscommunication among project staff

A failure by project management to recognize that the project is falling behind schedule and a lack of action to correct the problem

Pressman 2000

Page 4: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

4Peter Dolog, SOE, Scheduling and Rationality

Scheduling Principles

Compartmentalization—define distinct tasks

Interdependency—indicate task interrelationships

Effort validation—be sure resources are available

Defined responsibilities—people must be assigned

Defined outcomes—each task must have an output

Defined milestones—review for quality

Pressman 2000

Page 5: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

5Peter Dolog, SOE, Scheduling and Rationality

Effort Allocation “front end” activities

customer communication

analysis

design

review and modification

construction activities

coding or code generation

testing and installation

unit, integration

white-box, black box

regression

40-50%

30-40%

15-20%

Pressman 2000

Page 6: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

6Peter Dolog, SOE, Scheduling and Rationality

Questions Addressed by Scheduling

Completion date?On Schedule?Within Budget?Critical Activities?How can the project be finished early at the least cost?

Page 7: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

7Peter Dolog, SOE, Scheduling and Rationality

PERT Project Network

Page 8: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

8Peter Dolog, SOE, Scheduling and Rationality

Pert Chart with Milestone Time Label

Page 9: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

9Peter Dolog, SOE, Scheduling and Rationality

Activity SchedulingEarliest start timeEarliest finish timeLatest start timeLatest finish time

Page 10: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

10Peter Dolog, SOE, Scheduling and Rationality

Network diagram - iTaskX

Milestone

ActivityStep

Page 11: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

11Peter Dolog, SOE, Scheduling and Rationality

Gantt Chart - iTaskX

Page 12: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

12Peter Dolog, SOE, Scheduling and Rationality

Critical Path

Longest path through a networkMinimum project completion time

Page 13: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

13Peter Dolog, SOE, Scheduling and Rationality

Critical Path - iTaskX

Page 14: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

14Peter Dolog, SOE, Scheduling and Rationality

Activity Slack

Definition: Slack is the amount of time an activity can be delayed without delaying the project

Page 15: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

15Peter Dolog, SOE, Scheduling and Rationality

Task Sheet - iTaskX

Page 16: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

16Peter Dolog, SOE, Scheduling and Rationality

Task Usage - iTaskX

Page 17: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

17Peter Dolog, SOE, Scheduling and Rationality

Resource Usage - iTaskX

Page 18: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

18Peter Dolog, SOE, Scheduling and Rationality

Cost Table - iTaskX

Page 19: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

19Peter Dolog, SOE, Scheduling and Rationality

Scheduling Methods: Strengths

These methods are useful prior to and during a project

They are straightforward in concept and are supported by software

Graphical representation of the project's tasks help to show the task interrelationships

Highlighting the project's critical path and task slack time allows to focus on critical aspects of project-time, costs and people

Project management software usually provides excellent project tracking documentation

These methods are applicable in a wide variety of projects.

Pressman 2001

Page 20: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

20Peter Dolog, SOE, Scheduling and Rationality

Scheduling Methods: Weaknesses

Project tasks have to be clearly defined as well as their relationships to each other

Do not deal very well with task overlap. They assume the following tasks begin after their preceding tasks end

They are only as good as the time estimates

By design, the project manager will normally focus more attention on the critical path tasks than other tasks, which could be problematic for near-critical path tasks if overlooked

Pressman 2001

Page 21: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

21Peter Dolog, SOE, Scheduling and Rationality

Tracking: Elementary Metrics

Page 22: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

22Peter Dolog, SOE, Scheduling and Rationality

Tracking - Manpower & Effort

Steen Andersen, Peter Stegenborg Larsen, Carsten Lindholst: Evaluation and Evolution of Navi - a Web Based Tool for Project Planning and Tracking, Masters Thesis, Computer Science, Aalborg University, 1998.

Page 23: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

23Peter Dolog, SOE, Scheduling and Rationality

Tracking - Lines of Code & Defects

Steen Andersen, Peter Stegenborg Larsen, Carsten Lindholst: Evaluation and Evolution of Navi - a Web Based Tool for Project Planning and Tracking, Masters Thesis, Computer Science, Aalborg University, 1998.

Page 24: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

24Peter Dolog, SOE, Scheduling and Rationality

XPlanner - www.xplanner.org/

Page 25: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

25Peter Dolog, SOE, Scheduling and Rationality

Page 26: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

26Peter Dolog, SOE, Scheduling and Rationality

Page 27: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

27Peter Dolog, SOE, Scheduling and Rationality

Page 28: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

28Peter Dolog, SOE, Scheduling and Rationality

Page 29: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

29Peter Dolog, SOE, Scheduling and Rationality

Page 30: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

30Peter Dolog, SOE, Scheduling and Rationality

Page 31: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

31Peter Dolog, SOE, Scheduling and Rationality

Page 32: Scheduling and Rationality - AAUpeople.cs.aau.dk/~dolog/courses/sweng2008/lecture9_1.pdf · 2008. 3. 26. · Scheduling Methods: Strengths These methods are useful prior to and during

32Peter Dolog, SOE, Scheduling and Rationality

xPlanner features

Simple planning model

Virtual note cards

Support for recording and tracking projects, iterations, user stories, and tasks

Smart continuation of unfinished stories (unfinished tasks copied)

Online time tracking and time sheet generation at individual/team level

Metrics generation (team velocity, individual hours, ...)

Charts for iteration velocity, distribution of task types, dispositions, and more

Ability to attach notes to stories and tasks (with attachments)

Iteration estimate accuracy view