Really not sure what the problem is, logs aren't helping

Hi! I'm currently trying to get this datapack to work for 1.21. It was working for 1.20: it allows double doors to open together. latest.log does not show any errors at all, nor does debug.log. That "init_system" function is currently not being called at all (it should be called on clicking on any door), I know because I've added a say command to the init_system function and I get no message. So something is wrong with this advancement and I have no idea what. Any help would be appreciated, thanks!
Continue to help post