Deciding which tasks are worth outsourcing