1997 · The first algorithm
Take the man out of the decision process
Hi. I am Sanjay Singh. I was an officer of the Indian Police Service from 1992 to 2026, and this is my personal page. I did B. Tech in Electrical Engineering from the Indian Institute of Technology, Delhi in 1989 before joining the police. With my engineering background, I was able to see that many processes in policing and in general administration could be simplified and made more logical by the application of Information Technology.
For instance, back in 1997, I faced the tedious job of transferring about 700 employees between about 50 units every year in March-April. The first time that I did this, it was a pain in the neck. Basically, the rule of thumb was to transfer from "good" to "bad" postings and vice-versa. The actual strength of every unit had to be kept nearly stable by balancing the "ins" and "outs". Over and above these complications, there were pressure groups lobbying for candidates. Doing this manually took me almost two months to give final shape to a transfer order, and I had to revise it 9-10 times because of goof-ups and oversights. This was clearly a job for an algorithm!
So, I wrote a GUI programme in dBASE PLUS (MS Access was still not known to me). The logic was simple. I considered a) the last four postings of a person, b) his rewards and punishments, c) his seniority in service, and d) whether this would be his last posting. I had a meeting with all the union representatives and asked them whether we could agree on grading all 50 units in four classes based on desirability. They agreed because they also wanted justice for all, and we could arrive at a commonly agreed upon grading.
Based on this, the programme ranked every person in order of eligibility. For example, the top man could have had a combination of generally bad postings on last four occasions (not one!), good service record, seniority and eligibility to get a desired posting towards the end of his career; in varying degrees. I also managed to pass the tedium from myself to my back-office (of about 10 officers), who were tasked with the data entry and cross-checking. They were also asked to seek and enter three desired postings from all personnel.
The actual transfer process was a 10 minute job, where I dragged and dropped personnel from their parent unit to their first eligible choice, traversing the list from top to bottom. All units were eligible in the beginning because some persons would be due for a transfer at the end of their tenure. Every transfer would add one vacancy (from where the person was transferred) and reduce one (from where he was transferred to). Units would gradually become ineligible as they got filled up, be grayed out, and incapable of selection. If a person's choices couldn't be met, I posted him to the best available post among the remaining units.
This turned out to be just and highly satisfying. It also taught me a maxim.
Take the man out of the decision process. Let the outcome be predictable by a machine.