I am unsure if I have anything to do with the current difficulty and the next difficulty.
But the source you provided has explained what is difficulty and how it is calculated.
There was an interesting bug report and fun fact as well.
Thanks for the source, BTW.