I worked on the peering_filters script today, mostly to try and understand how it works and to make some tiny improvements while I was at it. However, understanding how the script works is quite difficult because it is not well-documented. There are also many nested loops and if statements.