Online new extinction
Files
3- Comment on lines +102 to +109
maybe @rebecca.ewing can clarify, but I believe the way this retry is implemented now is to go through sane bins as quickly as possible and come back to bad bins at the end, instead of potentially being stuck for some bad bins at the beginning (e.g. first 100 bins might take 3 retries). This way might save time as leaving those bad bins to the end might give those bins some time to recover connection.
I confess taht I don't understand all of the logic below, but it seems really complicated. Can it be simplified (along with subsequent code) to make it easier to understand and maintain? There are a lot of auxiliary variables and broken up control flow statements that make it a bit challenging...
Why not do
and delete the extra tries variable?