Uplink036 / PickleTestSuite

PickleTestSuite is a rigorous test suite for evaluating the stability and correctness of Python's pickle module across diverse environments, for consistent serialization outcomes for identical inputs.
MIT License
0 stars 0 forks source link

Scope Limitation #10

Closed Uplink036 closed 5 months ago

Uplink036 commented 5 months ago

We need to limit the scope of this assignment. The description gave,

Possible options are different operating systems, different Python (but not pickle) versions, floating point accuracy, and recursive data structures. Please keep your mind open to other options.

After some disccusion we came up that we wanted to try out the following.

We also need to be aware if we are going to a higher version to a lower one, or vice versa. As the results might differ.

Uplink036 commented 5 months ago

There appears to be 7 types that pickle is supposed to handle. Making sure that we can fuzz these is a good idea. https://docs.python.org/3/library/pickle.html#what-can-be-pickled-and-unpickled

Though a part of this a class / objects, which are hard to fuzz. This means we prolly need to unit test them, sadly.

Uplink036 commented 5 months ago

Protocols are an interesting thing that one might want to set and therefore we might want to test. However, this prolly returns incomprehensible results. Since we can't figure out a good way or even if it its a good idea, we shall instead take note of it and make sure we use the same protocol for the testing we do.