wowsims / cata

World of Warcraft Cataclysm Classic simulations.
https://wowsims.github.io/cata/
MIT License
20 stars 44 forks source link

[Batch Sim] Calculate combinations/iterations from the back-end's real calculations #781

Closed kayla-glick closed 3 weeks ago

kayla-glick commented 3 weeks ago

Creates a new RPC BulkSimCombos that runs the Batch sim's valid combination generation and returns the number of combos and iterations that a real bulk sim would run. I extracted the logic for the combination/iteration calculation into a shared function to be able to do it without running a full bulk sim. When users make changes that would affect the numbers of combinations/iterations, the UI makes a request to the back-end to get updated numbers