Python's pickle format is a known security risk - arbitrary code execution during deserialization. As ML models are increasingly shared via pickle-based formats (.pt, .pth, .pkl), attackers exploit ...
I think this test does not need to run locally on laptops but could be done in a CI installing two versions of python and generating with one + reading with the other. That would remove the need to ...