BEIJING — China’s vibrant technology scene is searching for people like Shen Yue. Qualifications: Must be attractive, know how to charm socially awkward programmers and give relaxing massages.

Ms. Shen is a “programmer motivator,” as they are known in China. Part psychologist, part cheerleader, the women are hired to chat up and calm stressed-out coders. The jobs are proliferating in a society that largely adheres to gender stereotypes and believes that male programmers are “zhai,” or nerds who have no social lives.

“They really need someone to talk to them from time to time and to organize activities for them to ease some of the pressure,” said Ms. Shen, a 25-year-old who has a degree in civil engineering from a university in Beijing.

Chinese women have made great strides in the workplace. The country has the world’s largest number of self-made female billionaires, while many start-ups have women in senior roles. But at a time when the United States and other countries are directly confronting the #MeToo movement, the inequalities and biases in China are rarely discussed openly and remain firmly entrenched.

The country’s laws against gender discrimination are not often enforced. Many companies are direct in their job ads. Males preferred. Only good-looking women need apply. With programmer motivators, it’s more explicit, putting women in subservient positions to men.

[For more coverage of women and gender issues, subscribe to Gender Letter, a new newsletter.]

While China’s tech scene has produced companies that rival Facebook, Google and Amazon in power and wealth, the work culture in many ways trails even bro-dominated Silicon Valley.

Image

Ms. Shen getting ready for work while her boyfriend stayed in bed. Her job mostly involves tending the front desk, organizing social events, ordering snacks and chatting with programmers.CreditGiulia Marchi for The New York Times

In tech, men dominate the top ranks. Just one woman sits on the 11-member board of Alibaba, the e-commerce giant. At Baidu, a search company, none of its five board members is a woman. At Tencent, a games and social media conglomerate, there are none. By comparison, Twitter has three women on its nine-person board. At Facebook, two of its nine directors are women.

Like many other businesses, China’s tech companies are blunt about gender bias in their job ads. Baidu, Alibaba and Tencent have repeatedly published recruitment ads boasting that there are “beautiful girls” working for the companies, according to Human Rights Watch, a New York-based rights watchdog.

In January, Alibaba said it was seeking a sales manager for Taobao, its e-commerce platform. Women were preferred, ages 28 to 35, “with a good personal image and class.”

In November, Baidu advertised for a marketing position. Men were preferred “because of business travel” and other reasons.

Both companies have since removed the references to specific genders in those ads.

Alibaba said that the company has clear guidelines on providing equal opportunity regardless of gender and “will conduct stricter reviews of the recruiting advertisements to ensure compliance with our policy.” It also said that one-third of the 18 founders of Alibaba are women and that female leaders account for one-third of the company’s management positions.

Baidu said that 45 percent of the company’s 40,000 employees are female, which is reflected in midlevel and senior positions. “We value the important work that our female employees do across the organization,” the company said in an emailed statement.

Image

Morning preparations include hair and makeup. “I think women should be independent, self-reliant and have self-respect,” Ms. Shen said. “And that’s enough.”CreditGiulia Marchi for The New York Times

In a statement, Tencent said it values diverse backgrounds and apologized for the ads.

It is unclear how many companies employ programmer motivators. According to Baidu Baipin, a job search website run by Baidu, just seven companies are currently advertising for these jobs, mostly at smaller start-ups. There used to be more. Alibaba advertised for a programmer motivator with “recognizably good looks” in 2015 but deleted the ad after being criticized by Chinese internet users.

Ms. Shen started work at Chainfin.com, a consumer finance company, in October. She declined to disclose her salary, but Zhang Jing, a human resources executive who hired Ms. Shen, said it was around $950 a month.

Ms. Shen came to Beijing from the northeastern province of Heilongjiang. She has long black hair and pale skin and wears red eye shadow to the office, where she always has a ready smile for her colleagues. They call her by her nickname, Yueyue, which translates to Joy.

At Chainfin.com, the bulk of her work is tending the front desk, organizing social events, ordering snacks for tea breaks and chatting with the programmers. She may call a programmer to a conference room and ask him, “Did you have to work overtime?” before listening to his various frustrations.

“I thought it was really novel,” Ms. Shen said, “because I had never seen such a job before.”

On a recent Friday, she approached Guo Zhenjie, 28, who has a foldout bed next to his desk. Ms. Shen asked whether his waist was still hurting from the long hours at his desk. He said, yes, he had been working till 10 or 11 for the past few nights.

“The company’s intention is for me to give you a massage, though my technique might not be great,” Ms. Shen told Mr. Guo.

Image

Applicants for the job that Ms. Shen holds are expected to be taller than 5-foot-2. “Her position is at the front desk, isn’t it?” a human resources executive who hired Ms. Shen said. “It may be that people won’t be able to see her if they walk in.”CreditGiulia Marchi for The New York Times

Both of them broke out in giggles.

Ms. Shen stood over a seated Mr. Guo and started kneading his shoulders.

“It really does feel good,” Mr. Guo said, as Ms. Shen gently whacked his back with a massage clapper device.

For some start-ups, having a programmer motivator on staff is one of the many perks to attract male coders, a job that is in high demand in China’s booming tech scene.

Feng Zhiyi, 31, who works in research and development at Chainfin.com, said he was envious when photos of female programmer motivators fanning male employees appeared on the internet.

“And now we have one, too,” Mr. Feng said.

Mr. Feng said Ms. Shen had improved the work environment by organizing birthday parties and getting the programmers active with games such as tug of war or sack races.

He said he was open to the idea of male programmer motivators but somewhat skeptical. “A man chatting with another man, it’s like going out on a date with a guy,” Mr. Feng said. “A little awkward, isn’t it?”

Image

“I thought it was really novel,” said Ms. Shen, who may call programmers to a conference room to listen to their work frustrations, “because I had never seen such a job before.”CreditGiulia Marchi for The New York Times

Ms. Zhang, the human resources executive who was part of the panel that hired Ms. Shen, stressed that it is important for a programmer motivator to look good. She said the applicants needed to have “five facial features that must definitely be in their proper order” and speak in a gentle way.

They should also have a contagious laugh, be able to apply simple makeup and be taller than 5 feet 2 inches.

“Her position is at the front desk, isn’t it?” Ms. Zhang said. “It may be that people won’t be able to see her if they walk in.”

Ms. Shen said that she does not consider her job to be sexist.

“Many feminist ideas are too extreme now,” she said. “I think women should be independent, self-reliant and have self-respect. And that’s enough.”

Xu Jiaolong, one of Chainfin.com’s few female programmers, who gets massages from Ms. Shen, did not see anything wrong with the job. The way she saw it, it was a mere “division of labor.” But, with a smile, she said the company could consider hiring a man to motivate female programmers, too.

China’s tech industry is beginning to question such practices. Wang Jie, 40, the chief executive of Shanbay.com, an app that helps people learn English, has been vocal about the “objectification” of women by other start-ups.

He was so disturbed that some tech companies were using “beautiful women” to draw male programmers to their companies that he wrote a post last October on Zhihu, China’s version of Quora, the question and answer site, saying that Western companies would be sued back home if they posted similar ads.

But Mr. Wang has found that attitudes are difficult to change. Several people responded to his post, saying he was making a mountain out of a molehill.

“The men said: ‘If there are more beautiful women, I’ll be happier in my job. What’s the issue?’” Mr. Wang said. “And some women said: ‘As a woman, I don’t think this is a problem at all.’”

A version of this article appears in print on , on Page A1 of the New York edition with the headline: Perk for Some Chinese Coders: Women to Relieve Their Stress. Order Reprints | Today’s Paper | Subscribe