QDpy
Loading...
Searching...
No Matches
reference_benchmarks.py File Reference

Run QDpy against the pyribs, Kheperax, and QDax reference scorers. More...

Go to the source code of this file.

Functions

 reference_benchmarks.run_trial (problem, method, *, budget, batch_size, bins, seed, env_seed, progress_every=0)
 Compare evaluators at a fixed candidate budget, with native archive admission.
 reference_benchmarks.main (argv=None)
 Run one or more tasks and write JSON with measured results and software versions.

Detailed Description

Run QDpy against the pyribs, Kheperax, and QDax reference scorers.

Definition in file reference_benchmarks.py.

Function Documentation

◆ run_trial()

reference_benchmarks.run_trial ( problem,
method,
* ,
budget,
batch_size,
bins,
seed,
env_seed,
progress_every = 0 )

Compare evaluators at a fixed candidate budget, with native archive admission.

Parameters
problemReference benchmark exposing sample, evaluate_batch, and geometry.
methodMethod identifier from METHODS.
budgetTotal number of evaluated genomes.
batch_sizeMaximum number of in-flight genomes.
binsBins per descriptor coordinate.
seedSeed for population initialization and variation.
env_seedSeed for reference reset sampling.
progress_everyCandidate interval for reporting search progress, or zero.
Returns
Trial counters and archive metrics.
Score in proposal order and track the best result seen per reporting cell.

Definition at line 97 of file reference_benchmarks.py.