UniGen is an almost-uniform sampler for CNF formulas: it returns satisfying assignments such that each solution is picked with nearly the same probability, with formal guarantees. It supports a sampling set, so that solutions are drawn uniformly over a chosen subset of the variables.

The current version is based on Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and Sampling (CAV 2020). It builds on a series of papers on the hashing-based approach, published over 2012–2020 and co-authored by Supratik Chakraborty, Daniel Fremont, Stephan Gocht, Kuldeep S. Meel, Sanjit A. Seshia, Mate Soos and Moshe Y. Vardi.