From what I can see, the current code uses all option volume when computing the O/S predictor from Johnson and So (2012). This is not how the original paper calculated option volume.
From Page 268 of the paper "Specifically, OPVOLi,w equals the total volume in option contracts across all strikes for options expiring in the 30 trading days beginning five days after the trade date."
Johnson So OS 2012 (JFE).pdf
From what I can see, the current code uses all option volume when computing the O/S predictor from Johnson and So (2012). This is not how the original paper calculated option volume.
From Page 268 of the paper "Specifically, OPVOLi,w equals the total volume in option contracts across all strikes for options expiring in the 30 trading days beginning five days after the trade date."
Johnson So OS 2012 (JFE).pdf