Validation for recommended methods¶
These checks cover the methods in the first-search chooser and the introductory recommendations in the full catalog. Each entry describes the fixture and the behavior it checks. The source links are pinned to the 0.3.0 release commit. The installed-package walkthroughs also run in the wheel test suite.
MAP-Elites¶
A seeded search compares each saved grid elite with the best of all measured candidates in that cell. A separate test replays the saved manifest and checks the archive bytes and evaluation count. The tests cover a scalar objective and fixed rectangular cells. Cell winners · Manifest replay
CVT-MAP-Elites¶
The CVT archive assigns the same cells as scalar distance calculations at boundaries and distance ties. The fixture covers single- and double-precision NumPy arrays and checks assignment to fixed centroids. Scalar distance comparison
CMA-MAE¶
A fixture checks threshold updates and the distinction between the search archive and result elites. An optional pyribs comparison checks archive thresholds and feedback gains for a supplied batch. Validation here covers archive feedback on fixed inputs. Threshold fixture · Optional pyribs comparison
NSLC¶
Regression fixtures check replacement when a nearest neighbour appears in parent history and verify that a resumed Euclidean NSLC run preserves novelty decisions and parent identity. The checkpoint test exercises both indexed and scan-based search. Parent-history fixture · Checkpoint replay
MOME¶
A two-objective fixture compares the Pareto sweep with pairwise dominance. Another test exercises feedback with failed evaluation slots and a partial batch. An optional QDax fixture compares untruncated cell fronts. Pareto sweep · Batch feedback · Optional QDax comparison
Uncertain MAP-Elites¶
Scripted evaluations check the repeat allocation and raw rollout accounting of six sampling policies. An independent audit fixture verifies that elites can move between cells and resolve collisions while the source measurements stay intact. Rollout accounting · Audit reassignment
Constrained MAP-Elites¶
A synthetic mixed-variable fixture checks that zero residual is feasible, infeasible designs stay outside the result grid, and fitness orders candidates when violations tie. Another fixture compares packed and sequential evaluation in a partial generation on a CVT archive. Feasibility and ranking · Packed CVT search
BOP-Elites¶
Tests compare niche probabilities and expected improvement with Gaussian formulas on a batch of inputs. A separate fixture checks accounting for failed evaluations and descriptors outside the grid. Acquisition formulas · Evaluation accounting
Neural MAP-Elites¶
Small Gymnasium fixtures compare the archives produced by sequential and batched evaluation on complete episodes. A budget test checks the treatment of a lane interrupted before it completes. These checks use the rl extra and cover rollout accounting and archive updates on the test environments. Batched episode comparison · Step budget