KatInterview

Project Selection with Resource Constraints and Quality Factors

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsoptimizationcost-benefit-analysisrisk-analysis

Last updated

Choose between two fixed-price software projects, modeling costs, capacity, rework, and schedule risk to maximize profit.

You're evaluating two software development contracts, both starting October 1st and due October 31st. Only one can be accepted.

Your team:

  • 3 full-time engineers available for the month
  • Each engineer works standard 40-hour weeks (8 hours/day)
  • Optional: up to 20 hours/week overtime per engineer (paid at 1.5× base rate)
  • Optional: hire one external contractor starting October 7th

Cost structure:

  • Engineer base rate: $70/hour with 25% overhead multiplier
  • Overtime: engineers produce code 20% slower during overtime hours
  • Contractor: $110/hour plus 10% agency fee; requires 10 hours onboarding at half normal speed; no overtime available

Productivity rates:

  • Engineers (regular hours): 25 lines/hour
  • Engineers (overtime): 20 lines/hour
  • Contractor (after onboarding): 22 lines/hour
  • Contractor (during 10-hour onboarding): 11 lines/hour

Quality factor: 8% of all code written requires rework at the same productivity rates. Rework must finish by month-end to earn the bonus.

Contract options:

Option X: 1,000 lines at $45/line
On-time bonus: $5,000
Late penalty: $3,000 per week (or partial week) past deadline

Option Y: 2,000 lines at $40/line
On-time bonus: $12,000
Same late penalty structure

October 2025 has 23 working days.

Questions:

a) Calculate completion time and total profit for each project using only your existing team, both with and without overtime. State your allocation approach.

b) Recalculate if you add the contractor from October 7th. Include all associated costs.

c) Which option gives the highest expected profit with at least 95% confidence if productivity varies by ±10%?

d) At what price per line would Option Y become equally profitable to Option X under optimal staffing?

e) How does profit sensitivity change as the rework rate ranges from 0% to 15%?

Show calculations and provide a clear recommendation.

Hints

Hint 1

Calculate the effective cost per line delivered for each resource type, accounting for overhead and productivity differences

Hint 2

Both projects are much smaller than your monthly capacity—check whether the deadline actually constrains your decision

Hint 3

The contractor arrives after most scenarios would already be complete; evaluate whether hiring adds value