Set each party to vote Yes, No or abstain in each House, add cross-voters, and watch the two-thirds test update.
How the count works
In each House the bill needs a majority of the full strength (272 of 543 in the Lok Sabha, 123 of 245 in the Rajya Sabha) and more than two-thirds of members present and voting. The two-thirds test is the one that decides it here. It must clear both Houses.
The two-thirds threshold is the next whole number above two-thirds of those voting. If two-thirds is already a whole number, one more is added, so Yes votes must be more than double the No votes.
Abstaining members are not counted as present and voting, so abstentions lower the threshold.
Lok Sabha: 3 seats are vacant (Basirhat, Shillong, Srinagar), the Speaker does not vote, and 3 members cannot attend (one AD(WPD) and one JKAIP MP in jail, one MAITC MP suspended). That leaves 536 who can vote. Strengths are as supplied: NDA 319, other opposition 37, INDIA bloc 183 including three independents.
Rajya Sabha: 1 seat is vacant, so 244 members can vote. The Deputy Chairman, Harivansh Narayan Singh, is counted as a member who can vote. The Chairman is not a member and is not counted. Government: 152 (including 3 independents and 7 nominated members, each counted separately); official opposition: 64; other opposition: 28.
Default Rajya Sabha stances copy each party's Lok Sabha stance. A party with no Lok Sabha seat votes Yes if it is in the NDA, No if it is in the INDIA bloc, and abstains if it is other opposition.
Any further steps, such as ratification by state legislatures if applicable, are not modelled.