This is the implementation of the SQRL framework as proposed in our ICML '23 paper "Do Machine Learning Models Learn Statistical Rules Inferred from Data?". For each of the following tasks, we provide a separate folder containing the code and instructions to reproduce the results reported in the paper: