polar_modified.py is a modification of Henry Pfister's implementation (https://github.com/henrypfister/polar_intro) to perform channel simulation. The added routine polar_decode_with_cr serves as the channel simulation encoder (Algorithm 1 from the paper). The rate is calculated using the returned Delta string as described in the paper. 

The script regenerate_data.py can be used to rerun the simulations and rate calculations.

The script GPRS_BSC_New.py implements GPRS for simulating a BSC.

The folder "All_Paper_Plots" contains individual scripts for reproducing each of the plots in the main body of the paper.


