While the communist party of India (marxist) , is not in power as of now , they have had history of winning elections, however there is a fatal flaw in their ideology , when it comes to fighting against opperession , while they agree upon existence of class disparity and want to work on the goal of removing it , the oldschool communists do not recognise caste system. For those who are not aware , caste system is a problem specific to indian subcontinent , it is like a dominant class of people who are called the upper castes ( tho in minority) , had deprived the lower castes , into not allowing them to get educated or get any other work that they were assigned at birth , by the family name they were born in . That kept the lower castes poor and deprived for ages. The CPI(M) is mostly flooded with the upper caste and do not recognise this systemetic opperssion that has been in place since ages !
I once read a book called Republic of India by Anand Teltumbde. (He has been falsely labeled a Maoist and jailed without trial). He talks about caste and Marxism in it. I don't know about CPI Marxist's work against casteism so I will refrain from commenting on that specific issue. But the aforementioned book talks about casteism in a way that I haven't found anywhere else. For example:
The early communists in India were typically youth from the educated brahmin middle class, inspired by the Bolshevik Revolution in 1917 and by their diet of literature and other resources smuggled from Britain and Russia. They naturally began their activities with trade unions, which, in fact, had cropped up much before the Communist Party of India was formally founded in 1925. Their confrontation with caste was limited to organisational contradictions within trade unions that included a small minority of dalit workers. The faultline of caste was something the communist leadership wanted at all costs to avoid facing or redressing. In the textile mills of Bombay, for example, where the communists had total control over the workers, dalits were debarred from jobs in the better paid weaving section as the non-dalit workers were repulsed by the prospect of being polluted if they touched threads that had been joined by dalits: before putting the thread into the machine for the first time as well as joining the broken thread thereafter, a worker had to wet the end of the thread with saliva. Also, untouchability was practised by keeping separate pitchers of drinking water for dalit workers in the mills. Even after Ambedkar pointed out these oddities, the communists did not act for fear of displeasing the caste Hindu workers. A decade later, Ambedkar would raise this issue in 1938 delivering the presidential address to the G.I.P. Railway Depressed Classes Workmen's Conference in Nashik:
Instead of seizing the gravity of the caste question and facing it, the communists took shelter under Marx's metaphor of base and superstructure, as though it was incontrovertible. They feared that confronting the issue of caste might lead to organisational break-up, quite like how bourgeois parties fear losing Hindu votes if they speak out against the hindutva excesses of the Sangh parivar.
I think atleast CPI(M) have shown a willingness to adapt Marxism to the current Indian material conditions. One of the articles I linked in the other comment mentioned how:
In their 23rd political resolution (latest), one of their clauses mentioned Casteism specifically:
Also the mentioned clauses are technically just words from the indian constitution , that is socialist in its structure !