# Place the attached generate.py in the working directory.
from generate import MatroidKazhdanLusztig, uniform_kl, braid_kl
uniform_kl(8, 12)
braid_kl(8)
# Reproduce the table in its displayed order.
generator = MatroidKazhdanLusztig()
[(p["matroid"], generator.value(p, 100)) for p in generator.enumerate()]All 22 entries are exact polynomials in $\mathbb Z[t]$. The generator uses the characteristic-polynomial recursion in [1], grouping uniform flats by cardinality and braid flats by block sizes. The named examples use the actual ranked flat lattices and their interval Möbius functions.
A separate implementation checks every coefficient using palindromicity of $Z_M(t)=\sum_{F\in L(M)}t^{\operatorname{rk}F}P_{M/F}(t)$ from [2], Proposition 2.3 and Corollary 2.5. It uses no characteristic-polynomial calculation; for the named objects it independently enumerates flats by testing every ground-set subset. Four known-value controls precede these comparisons. Fifteen entries also agree with the published tables in [1], Appendix A. All entries satisfy the degree bound, constant term, linear-coefficient identity and coefficient nonnegativity. The attached argument-selection.md records the family choices and finite bounds.