Per the rule book, red numbers (6s and 8s) must not be next to each other.
Catanatron strives to be a "purist" of the game in the sense that it should try to follow the rules as closely as possible.
This issue calls to revisit the implementation of the board creation to implement the same algorithm described in the Catan Almanac (attached).
Unfortunately, this might change the how the random number generator is used and there are some tests that depended on this to study some specific boards (see tests that do random.seed(123)). It is ok, to update these tests so that they still test what they are trying to test.

Per the rule book, red numbers (6s and 8s) must not be next to each other.
Catanatron strives to be a "purist" of the game in the sense that it should try to follow the rules as closely as possible.
This issue calls to revisit the implementation of the board creation to implement the same algorithm described in the Catan Almanac (attached).
Unfortunately, this might change the how the random number generator is used and there are some tests that depended on this to study some specific boards (see tests that do random.seed(123)). It is ok, to update these tests so that they still test what they are trying to test.