By 2020, everyone in China will be enrolled in a vast national database that compiles fiscal and government information, including minor traffic violations, and distils it into a single number ranking each citizen.

That system isn't in place yet. For now, the government is watching how eight Chinese companies issue their own "social credit" scores under state-approved pilot projects.

One of the most high-profile projects is by Sesame Credit, the financial wing of Alibaba. With 400 million users, Alibaba is the world's biggest online shopping platform. It's using its unique database of consumer information to compile individual "social credit" scores.

More and more of Baihe's 90 million clients are displaying their credit scores in their dating profiles, doing away with the idea that a credit score is a private matter.
However, Sesame Credit will not divulge exactly how it calculates its credit scores, explaining that it is a "complex algorithm".

A lengthy planning document from China's elite State Council explains that social credit will "forge a public opinion environment that trust-keeping is glorious", warning that the "new system will reward those who report acts of breach of trust".

A reputation system computes and publishes reputation scores for a set of objects within a community or domain, based on a collection of opinions that other entities hold about the objects. The opinions are typically passed as ratings to a central place where all perceptions, opinions and ratings can be accumulated. A reputation center uses a specific reputation algorithm to dynamically compute the reputation scores based on the received ratings. Reputation is a sign of trustworthiness manifested as testimony by other people.

Fortunately any government reputation system will be far less than the cultural revolution or the One child policy

The Cultural Revolution was launched in May 1966, after Mao alleged that bourgeois elements had infiltrated the government and society at large, aiming to restore capitalism. He insisted that these "revisionists" be removed through violent class struggle. China's youth responded to Mao's appeal by forming Red Guard groups around the country. The movement spread into the military, urban workers, and the Communist Party leadership itself. It resulted in widespread factional struggles in all walks of life.

Millions of people were persecuted in the violent struggles that ensued across the country, and suffered a wide range of abuses including public humiliation, arbitrary imprisonment, torture, sustained harassment, and seizure of property.