Found this page with Random page function. Although the idea is simple, and the implementation doesn't work that well as expected, I see some potential in this idea, for anti pattern matching, and maybe some advanced flattener.