In a back street in San Francisco’s start-up dominated SoMa district, a rapidly growing business is busy studying how millions of employees behave each day. Its computers know in real time why a worker was hired, how productive they are and can even follow them as they move to a new job.