The other day I stumbled upon a youtube video from Bad Internet series: Which of The “Friends” Are You? and it made me remember a previous occurrence of an idea that people are sorted into their roles by some algorithm:

The second one refers to the Futurama series, where people appear to be forced into their jobs.

The problem: Both worlds are a joke. I would like the same, but serious.

Is there a way to get to a situation where everybody (i.e. more than 65% of the population) is selected to do their job, while there is no magic?

  • The sorting algorithm should be explainable to some extent and it should be non-magical. (No sorting hat please.)
  • However, deep learning algorithms or quantum computers are allowed.
  • Society itself should be believable and be able to deal with common problems of a country (including military defense).

Other than this, I set your arms free.

I already have a guess that such a society has to start with an apocalypse and/or long war. I also guess that such a society will be a form of dictatorship. You cannot have democracy in this setup.

I even play with the idea of a theocracy, where such a system will appear to be magical on the outside (You have been selected by God!), but will have some strong computer running somewhere in the background.

  • 17
    $\begingroup$ In the late (Western) Roman Empire sons were compelled to follow the profession of their fathers. In some of the former socialist countries of central and eastern Europe (and the USSR) everybody was assigned a job at graduation from high-school or university. $\endgroup$ – AlexP Apr 18 '17 at 11:17
  • 14
    $\begingroup$ Go read Brave New World by Aldus Huxley. It'll give you a great picture of a utopian/dystopian future society organized by caste where people are programmed into the accepting and being happy with the roles that they're given. $\endgroup$ – Simba Apr 18 '17 at 14:10
  • $\begingroup$ you can read "La Zone du Dehors", not sure if it is translated in english, where people get sorted based on something, and then their names a just letters, (from A to ZZZZZ..), and then A becomes president, and so on. Every once in a while, people get re-sorted, change name, and change position. $\endgroup$ – njzk2 Apr 18 '17 at 14:13
  • 4
    $\begingroup$ Must they literally be forced into those roles, or would it be sufficient for the "sorting" process to be so good at matching people up to the careers they'll do the best at that most people follow the recommendations it generates, and those who refuse tend to come back to the recommended field after failing at others? There could be stories told to children about these odd Refusers and how they wasted years of their lives trying to do jobs for which they weren't suited before finding fulfillment by Doing As They're Told. (The More You Know ---*) $\endgroup$ – Monty Harder Apr 18 '17 at 18:05
  • 1
    $\begingroup$ Also read The Giver--people aren't sorted algorithmically; rather, they're sorted based on the society's needs and a subjective assessment of their aptitudes, and then trained to be good at that role. $\endgroup$ – MissMonicaE Apr 19 '17 at 12:10

14 Answers 14


The society where each person should work according its role is called the caste system. This worked in India for ages (from 1,000 BCE until the modern era). Most people accepted this system. Although today this is redundant, but it happens especially in villages. I suppose it works mainly because of religious reasons.

It's real, although the role of the people is defined by their birth, not by their personal characteristics.

In the fantasty genre there are many worlds where the system defines which people are the best and assigns their work/role/social rank according to it. One of them is Gattaca with a

society that is driven by eugenics.

What the society needs to establish sorting is just some kind of danger, possibly in the past. We should act in this manner, because if we don't we'll die. This works with any idea.

  • $\begingroup$ Can you extend your answer so the link is optional in answering the question? If you just want to share the link please make it a comment instead. $\endgroup$ – Mormacil Apr 18 '17 at 11:36
  • 1
    $\begingroup$ This answer is a bit short at the moment. Could you please edit it to provide more information? Links should only contain additional information, as they can get outdated. So please try to provide a summary of the most important things from the linked article, such as: "Where is this system used?", "What castes are there?", "How many people are in a caste?". $\endgroup$ – Sec SE - clear Monica's name Apr 18 '17 at 11:36
  • $\begingroup$ @Mormacil updated $\endgroup$ – ADS Apr 18 '17 at 12:01
  • 1
    $\begingroup$ Fun fact, the caste system worked so well it left a genetic imprint. $\endgroup$ – Mormacil Apr 18 '17 at 12:13
  • $\begingroup$ I was going to edit cast to caste but then it occurred to me it might be a pun. If so, +! $\endgroup$ – Willk Apr 18 '17 at 12:55

TLDR: Track information of generations who had any choice, see where the indicators were that someone would be good at their job. Then apply those rules to new generations, offering incentives to take the job they're predicted to be best at.

In a way I think we do have something like this (though perhaps in a more general way and with the impression that we do have choices). Education pushes people along certain paths and if you choose one path rather than another the general impression is that the other careers are shut off to you now (enough that more than 65% of people stick to the career path their education indicated).

Now I suppose it depends on at what age you want to make the choice of which job someone gets.

  • Do you want to decide from birth? You could send someone to a school that promotes that job type, introduce them to hobbies which compliment it etc.
  • Do you want to decide after schooling? You could measure their performance in different areas and, using past experience, predict where they would work best. It could even be incentivised but not forced. You finish your education and for a larger salary you could take an automatic offer from the one where you're predicted to be more successful...or go and search for another without the salary boost. (I think this would be enough to make 65% or more take the route they were predicted to be best suited to)
  • Maybe you want them to start later: You could have a period of a few years where they try out different jobs and then, based on their performance, they get offered a larger salary at a job they are deemed suited for.

You don't want to take away the choice...but you want it to be much easier for them to follow that path. I think people are less likely to choose differently if they think there is an option than if they're told they don't.

I'm not 100% sure what the algorithm would measure...performance in school subjects, attention span, activity, hobbies. It really depends on what information you have on them. Maybe the population is chipped and their vitals are monitored (for health reasons, obviously), we can then track that maybe they're happier doing math than their grades would suggest and, comparing to generations before, we find that actually those people are a lot more efficient workers than those who breeze through exams but couldn't care less for the actual subject.

  • $\begingroup$ See, The Giver, which does an "After schooling" selection. After basic schooling, people are given their job for life based on testing, and observation. Testing is both physical and mental (some people are chosen to be mothers based on having high estrogen and wide hips!) After they are selected, those who need more schooling go to special schools, some go to trade apprenticeships, and others go to menial jobs. Note that if the government is good at sorting, they will take some level of interest into account, which will allow most people to accept their fate. $\endgroup$ – EvSunWoodard Apr 18 '17 at 15:49

There are plenty of ways to do this. As AlexP mentions in his answer under Emperor Constantine fathers had to be succeeded by their sons under harsh punishment. Of course such a sorting is at best ineffective. While there is some hereditary favor for certain professions it's small. For example families with surgeons also tend to have a history of butchers. But not the majority, just enough to make an anomaly.

Regardless, it's a poor way of sorting your people for professions. It's much better to take a individual approach. The most basic way would be (personality) tests. Capacity tests could show strength and weaknesses. This could be manditory in highschool. An easy compulsive filter.

If you want to take it further you get to genetic testing or even engineering. With the right tests you can see who's physically adept to what. Olympic athletes tend to deviate from the average human in a way that allows them to excel in their sport. A similar approach could work on a genetic level for professions.

Filter on things like short term memory, eye sight, upper body strength and spatial awareness. Combine that with required roles in your state controlled economy and you should have an idea of what to do.

If you want to go even further you could add another step of genetic engineering. When pregnant the system determines what's needed and will edit the baby's genome where required to be the perfect fit. This is, of course, completely dystopian.

  • 1
    $\begingroup$ Dystopian or Utopian? Food for thought $\endgroup$ – Xandar The Zenon Apr 18 '17 at 19:07
  • $\begingroup$ The profession succession was not really about hereditary skills, but more about the fact that kids worked the same profession as soon as they could - by the time the father was starting to lose his edge, the son was ready to take over the business. They were trained for years in all aspects of the profession, on the run. Remember, people didn't spend their youth in schools - they worked (even the ones who actually attended a school - schooling wasn't a "full-time job" like it is today). You can still see this today, though it's a lot more rare (and often illegal, especially in Europe). $\endgroup$ – Luaan Apr 19 '17 at 13:07
  • 1
    $\begingroup$ It's still an ineffective system to not take in account the skills and talents of the son. I couldn't do what my brother does, I tried. But he can't do what I can do. We both lack the feeling required for the field. You don't let a severe introvert be a salesman. $\endgroup$ – Mormacil Apr 19 '17 at 13:43
  • $\begingroup$ @XandarTheZenon One man's dystopia is another's man utopia... $\endgroup$ – xDaizu Apr 20 '17 at 8:26

I am outright shocked that no one has mentioned the Chinese in history with their Imperial examinations and their Rank system that formed the basis for the Chinese Meritocracy that roughly lasted for about 2200 years or so.

So yeah, it has been done and can easily be considered to be one of the most successful systems that humanity has tried. Having it be done in an algorithmic fashion with a computer and being even more all encompassing (if that is even possible) than what the Chinese used to do could go a long way in preventing some amount of corruption and having a better functioning system.


The main thing you'll need for such a society is for there to be nowhere else that disaffected citizens can realistically go if they don't like their assigned role. It needs to be a closed society. Otherwise, it will fall apart.

  • 6
    $\begingroup$ In the west, people are free to choose a career, but very few actually do what they would like to do. Still, I do not see a mass emigration of garbage collectors. It does not have to be a closed society, as long as there are no better alternatives. $\endgroup$ – Michael Vehrs Apr 18 '17 at 13:44
  • $\begingroup$ I wonder if the gap of intelligence, strength, or other qualities could be very wide in the future, making one cannot work in a certain job if he's not from parents with certain quality, i.e. intelligent parents and quantum scientists $\endgroup$ – Vylix Apr 18 '17 at 14:00
  • $\begingroup$ @MichaelVehrs people in bad jobs in the west do not have anywhere else they can realistically go. $\endgroup$ – Please stop being evil Apr 18 '17 at 22:49
  • 1
    $\begingroup$ @AdiNugroho Given how many extremely poorly skilled "professionals" I've met in my career, it'd be quite surprising to see a society where this kind of division would really exist. It may sound a bit pessimistic, but just because you don't have the skills for a job apparently doesn't mean you can't be employed in that job position. You'd need a lot better managers than we have today to change that, or just get rid of the huge, rigid, high-margin corporations :P $\endgroup$ – Luaan Apr 19 '17 at 13:11
  • 1
    $\begingroup$ @AdiNugroho in the book "Brave New World" by Aldous Huxley, the citizens are sorted into roles of Alpha, Beta, Delta and Epsilon, and depending on your role practically determined your intelligence, appearance, personality. They are also forced into drugs that help the lesser class be happier, even though they all take part in soma. You can see in the book that Epsilons are preforming jobs that rely on servitude, while Deltas better than Epsilons are in jobs similar to that of garbage collectors. The gap of intelligence, appearance and physique definitely play a role in separating the castes. $\endgroup$ – knocked loose Apr 19 '17 at 19:57

Allowing quantum computers, I'm surprised no one mentioned genetic sorting.

When the algorithm is first conceived, there will only be "predictions" on newborn babies, based solely on the genes. The research is secretly carried out, and soon a database of combination genes affecting personalities are created (based on "right and wrong predictions").

Based on this personality database, new step: tests on newborn babies are planned, that is predicting the behavior, job, and success of these babies. The results are, again, processed by the quantum computer, and its algorithm refined.

Soon, the precision increases to 80% and rising, and the news are spread, and people are asking for job advice to this computer, and the algorithm is refined once more, from the people unsatisfied with their current jobs.

As soon as the precision strikes 95%, the government decided it's better for people to be told what they will work when they become an adult. There are resistances, but the plan continues. The government and an independent organization perform secret eugenic operation throughout the world to eliminate potential rebels (by examining the rebellious personality genes).

Then people will just follow what they are told to do, because they believe what the computer say is best for them, according to their personality.

Note: I know the story has not taken many factors affecting the course of history into consideration, but I just want to give example how a society with predetermined job can develop and also how the algorithm is believable.

  • 1
    $\begingroup$ That wouldn't even need quantum computers; it's probably a classic machine-based learning problem. You wouldn't even need to start with newborn babies; start datasets by genetic testing existing people and polling them for job satisfaction and preferences. Over time, comprehensive genetic testing and continuous tracking of job satisfaction and performance would likely increase the accuracy of predictions. (I'm setting aside the whole debate over whether an approach like this would work.) $\endgroup$ – Adam Miller Apr 18 '17 at 21:43
  • $\begingroup$ Based on so many genes contained in human genome, and the variations, and the available personalities and variations, it's impossible to figure out the relation between gene and personality without quantum computers. And have I mentioned the size needed for the data storage? $\endgroup$ – Vylix Apr 19 '17 at 1:51

Isaac Asimov tackles this exact subject in his short story Profession.

Assume there's a computer capable of analyzing and reconnecting neurons in the brain. It's main use is to teach children to read, test which profession suits well with a brain of an adult, and teach that profession in minutes.

There's a catch: using the machine to learn is expensive.

In Asimov's story, there are multiple inhabited planets, and the Earth is the only place where there are learning machines. People on Earth learn to read at 8 and to perform a job at 18. The other planets then hire skilled workers from Earth.

People are so used to learn instantly that they won't learn from studying. They see it as wasting time, and they can't afford to learn another profession. Therefore once they learn a job, they stay doing that job.

  • $\begingroup$ "People on (that) Earth learn to read at 8" 8?! That caught my curiosity. Why do they learn to read so late? $\endgroup$ – xDaizu Apr 19 '17 at 8:46
  • $\begingroup$ @xDaizu "Profession" is a dystopic novel. The context is very much the typical social engineering plans (which people still have today), and the result of this is that almost everyone is mostly rigid, predetermined by the central plan. The people don't learn to read, because there's almost no point in reading - it's not like they read books, they only learn it to be able to carry out their sorting and jobs (so they read tests in "school", and labels on buttons at work, to put it simply). They just get their tape-learning, and carry out their life based on the central plan. They're programmed. $\endgroup$ – Luaan Apr 19 '17 at 13:19
  • $\begingroup$ @Luaan. Interesting take. I did not see this as a particularly dystopian future. I just thought that it was a reflection of modern times, and that Asimov is merely pointing out that the percentage of people that are truly creative and can think for themselves is very small and always will be. While some of the idea presented there are somewhat different from what we see day yo day, I actually noticed that the society portrayed in the novella was extremely humane. $\endgroup$ – Mad Physicist Apr 19 '17 at 15:31
  • $\begingroup$ @Luaan I see... but the answer states: "There's a catch: using the machine to learn is expensive.". Is, despite of this, machine-learning the default way to go? $\endgroup$ – xDaizu Apr 19 '17 at 15:45
  • 1
    $\begingroup$ @xDaizu The missing point is that Earth is basically the center of an empire, and noöne else can either afford or is allowed to train their own specialists. I don't remember all the details (It's been a while since I've read that story), but just consider the cost of paying for a few seconds of tape learning compared to years of training and practice to get a decent professional. Consider how much time you've wasted in school over your life - how much opportunity cost does it sum up to? Even if the tape-learning is very expensive, it's likely much cheaper than traditional learning. $\endgroup$ – Luaan Apr 20 '17 at 8:20

It is actually fairly likely. Professional mobility allows the economy and society to deal with economic and technological disruptions by reallocating "human resources" dynamically. A strong future government might simply avoid such disruptions thru other means.

The first thought for most is probably some sort of centralized planned economy, but a free market economy that is large and diverse enough with strong regulations keeping the markets free and fair could be quite stable. Economies do tend to be self-stabilizing over time, the issues tend to come as consequences of technological disruptions or external factors such as epidemics or colonialism.

If we assume that your empire has reached some sort of technological plateau where disruptions from technology are manageable (and upgrading the skills of employees to keep up with progress is already normal) and the empire is secure otherwise and only expands organically (no colonialism or crusades), we could reasonably assume an economy and society that would be stable, even stagnant from our own viewpoint.

In such society there would be no particular need for people to ever change jobs. You could simply assign jobs by lottery or profession of parent at birth and then reassign if the person turns out unsuited for the job or shows particular talent or interest for something else. Since your people would all be trained for their assigned job from birth, they would be well qualified for it, familiar with it, comfortable with it, and predisposed to find it valuable and rewarding (unless the training is incompetent due to corruption or decadence, if you want a falling empire story).

This should easily keep more than 65% percent in their assigned jobs, even without particular legal or social pressure. People with the drive to start their own business or with special talents that make reassigning them necessary do not make up 35% of population. Similarly, normal jobs for normal people do not have stringent requirements that would make large portion of population unsuited for them. And with future science most such issues could and probably would be fixed.

This obviously assumes that the system works properly. Even without external disruptions from technology or expansion the system will fail eventually if quality of training and education collapses, if the assigned jobs cease to be meaningful and rewarding, or if the system becomes too strict to allow the amount of social mobility that is actually necessary. These will eventually lead to increasing inefficiency and collapse. But the failure would have to start from the political side of the society becoming too corrupt to upkeep the system.


The teens of your world will get a general recommendation for their future after their 10th year of education. Afterwards they will rotate apprenticeship in 12 different jobs in their recommended field for a year (one job per month). Should society have a heightened need in certain field, the bias to get sorted into that field will (surprise!) rise accordingly.

The masters (if thinking medieval) will then select between them, who they will take on as a real apprentice for training. In more modern times your bosses will give recommendations which will decide your future (training on the job, university education, ... in the given field).

You cannot study something if you were not pre-selected for eligibility. You could still try something in an entirely self-taught way, but the majority won't take this risk. Especially, since you cannot prove your worth in the given field without the papers you received after proper training/education. Who would trust you except some risk-takers or people with dire need?

=> More than 65% would stay in their chosen job.

The way to be sorted into your general field would be part educated guessing by your teachers, supported by (if modern times) some kind of artificial intelligence working in the big data field. I don't necessarily mean a self-aware AI, the contemporary AIs of Google, IBM, Wolfram, ... should already be enough if trained properly.

The initial part of this answer was in part inspired by the Riftwar Saga by Raymond E. Feist.


Expanding the Myers-Briggs Personality Test

The Myers-Briggs Type Indicator (MBTI) is an assessment that is believed to measure psychological preferences in how people perceive the world and make decisions. According to the Myers-Briggs test, there are 16 different types of personalities. The test consists of a series of questions, and your answers determine what type of personality you have and provides general assumptions about how your personality type is best suited for success in terms of careers, communication, etc.

So, in MBTI, each personality usually have a few careers choice Maybe in the future there would be a great Psychologist which expanding these 16 personalities into say, 132, maybe. And then some another great Psychologist expanding these 132 personalities into much more. And from those personalities, each one only have one career choice.

All kids at 10th or so grades would take this test to determine what their future job/role would be. From that time forward, all they study in school would be about the future job/role.


Like ADS stated earlier, the caste system sounds like it would be a good fit for your requirements. You could also throw in some deep sense of dedication to a greater cause among the population to make it more believable and/or give a reason why individuals accept that system. Plus, if your setup takes place on extended periods of time, members from different castes could have particular physical attributes due to a possible inter-caste breeding restriction.

I'd advise you to check out the Tau caste system from the Warhammer 40.000 series. Maybe you'll find interesting leads for your setup.


Coming from Anime SE, my answer would be, have a supercomputer that can identify your strength and weaknesses and the assign you or at least give you some options on what career you should have.

Your world would need to have the system start with a small population and then prove and publish the result, that the system can correctly assign people to jobs they do best based on their personality and abilites.

After continuous publicity on the system's ability to correctly do such a thing, people would start to accept the system more. Then, after the majority of the society accepts and believe in the system, start enforcing the system so that it has more power over the society by doing propaganda, i.e. people that ain't using the system are hardly successful, that they would only bring trouble to companies, etc.

After several decades, the system would have grown into the de facto and de yure guide for people's lifelong career path.

See Psycho Pass anime for an example of how such a system can work.

  • $\begingroup$ Psycho Pass is a great anime, but I think your answer should try to differentiate itself more from the existing one mentioning the continuous upgrade of an algorithm. Currently the main difference seems to be that you want to use Enforcers to enforce the use of the system, while the other answer suggests using eugenics to only allow people that would be less problematic. Could you expand on why your version of the Sibyl System would be more effective? $\endgroup$ – Sec SE - clear Monica's name Apr 19 '17 at 14:31
  • $\begingroup$ Because if I said that the supercomputer is actually a network of brains of criminally asymptomatic people, people would freak out. $\endgroup$ – 絢瀬絵里 Apr 19 '17 at 16:03
  • $\begingroup$ It might be a good idea to add that part to your answer and use the spoiler markup if you think it's an important part of differentiating your answer from the existing one. You should then delete your comment to not spoil any future readers who might not have seen Psycho Pass yet. The essence still seems to be to use a supercomputer that is evolving over time to assess the potential of people. If you could expand on the way the system monitors people throughout their entire life, instead of just their potential, and thereby allowing for adjusting predictions this could be very good. $\endgroup$ – Sec SE - clear Monica's name Apr 19 '17 at 17:23

Taking inspiration from the Qunari of Dragon Age, you could have all the children raised in one big community. The community then chooses their role when they come of age. There would probably be people with the specific job of choosing jobs for others, and through this big community, you could be sure to keep tabs on each child and their unique skills & talents.


The easiest way would be with tests e.g. a personality test to see whether someone is right brain or left brain or type A etc. and an IQ test to see whether they should be a scientist or something like a taxi driver.

  • 3
    $\begingroup$ Hey, I don't know for sure why someone downvoted your answer but I guess maybe it doesn't say as much about the process. Like we can't just stick someone with a high IQ in doing clever roles without checking other stuff too. I get that you probably know that, just think those details are in the answer people won't downvote. $\endgroup$ – FreeElk Apr 18 '17 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.