Where do the automatic tuning values in metropolis.py come from?

Thanks, but then does the scaling value at the last step of the burn-in remains in use, or does it get back to the default 1, or to the scaling value passed to pm.sample(Metropolis)?
And does the scaling value passed to pm.sample(Metropolis) gets used immediately at the beginning of the burn-in or not?