I have some old tuning script that used a function to check the restrictions. When the way restrictions are handled was updated (I don't know when, it seems the changelog hasn't been updated in a while?), this stopped working. Was it intended to still work with legacy restrictions?
The issue is that a restrictions function used to receive a dict with the tuning parameters as keys, but now it only receive the tuning parameter values.