I attempted to report bugs via paradoxplaza. Unfortunately forum admin or forum robot did not let me in, presumably because of my IP address geo-location. I therefore report problems here.
I did not intentionally analyze base game scripts. I found some bugs when creating my mods.