TwoDim is an open-source code for generating two-dimensional twisted simplicial distributions. Relevant papers:
Mermin polytopes in quantum computation and foundations
On the rank of two-dimensional simplicial distributions
Twisted simplicial distributions
ClassicalLambda is an open-source code that accompanies the paper
The degenerate vertices of the 2-qubit Λ-polytope and their update rules