let authCount = getStartingIndex ( ) ; const authLevels = [ 'Anonymous' , 'Function' , 'Admin' ] ; export function getRotatingAuthLevel ( ) { authCount += 1 ; return authLevels [ authCount % authLevels . length ] ; } let locationCount = getStartingIndex ( ) ; const locations = [ 'Australia East' , 'East Asia' , 'East US' , 'North Europe' , 'South Central US' , 'Southeast Asia' , 'UK South' , 'West Europe' ] ; export function getRotatingLocation ( ) { locationCount += 1 ; return locations [ locationCount % locations . length ] ; } let nodeVersionCount = getStartingIndex ( ) ; const nodeVersions = [ /node.*12/i , /node.*14/i ] ; export function getRotatingNodeVersion ( ) { nodeVersionCount += 1 ; return nodeVersions [ nodeVersionCount % nodeVersions . length ] ; } let pyVersionCount = getStartingIndex ( ) ; const pyVersions = [ /python.*3\.7/i , /python.*3\.8/i , /python.*3\.9/i ] ; export function getRotatingPythonVersion ( ) { pyVersionCount += 1 ; return pyVersions [ pyVersionCount % pyVersions . length ] ; } /**
 * Adds a little more spice to the rotation
 */ function getStartingIndex ( ) { if ( process . platform === 'darwin' ) { return 0 ; } else if ( process . platform === 'win32' ) { return 1 ; } else { return 2 ; } }