According to rr_node_types.h:Direction, IPIN and OPIN nodes should have Direction::NONE as their direction. However there are some IPIN/OPIN nodes that are Direction:BIDIR.
Making an issue to track this for myself. Should look into pin node building code and add an assertion to enforce this throughout the code.