> actually, as long as you are rolling more than 2 dice it should be optimal to reroll all dice if you only get blanks and focuses right? That should be straightforward enough
If you're only considering the lock + 1 calculate case, that sounds correct but you can double check any of the assumptions on the dice calculator since it works out the optimal strategy by searching all possible options and picking the order/choices with the highest expected outcomes.
Note that the Dice Calculator is open source, so feel free to use it directly to script this kind of thing
Or if there's a feature you are looking for that would make sense to implement more broadly, let me know! Totally get if you want to do it in python though or on paper or similar. Ultimately it just comes down to being specific about the question you are asking and ensuring the data you get is actionable.