|
QDpy
|
Compare portable runs and project independent archive measurements. More...
Go to the source code of this file.
Classes | |
| class | qdpy.reporting.ArchiveComparison |
Namespaces | |
| namespace | qdpy |
Functions | |
| qdpy.reporting.audit_archive (archive, evaluate, reporting, *, samples=32, seed=0, estimator="median", executor=None) | |
| Measure once per requested repeat and project the aggregates into several geometries. | |
| qdpy.reporting.compare_runs (groups, seeds, *, reporting_grid=None) | |
| Verify manifest and archive pairs and compare matching seeds. | |
| qdpy.reporting.make_retry_plan (groups, seeds, configurations) | |
| Plan retries for missing, failed, and incomplete seeds without submitting jobs. | |
| qdpy.reporting.main (argv=None) | |
Compare portable runs and project independent archive measurements.
Definition in file reporting.py.
| qdpy.reporting.audit_archive | ( | archive, | |
| evaluate, | |||
| reporting, | |||
| * | , | ||
| samples = 32, | |||
| seed = 0, | |||
| estimator = "median", | |||
| executor = None ) |
Measure once per requested repeat and project the aggregates into several geometries.
Reevaluate one best elite per occupied source cell in a scalar-objective archive. ``evaluate(candidate, seed)`` is the native noisy-QD evaluation interface. ``reporting`` maps names to Grid or CVTGrid templates. Each template contributes its geometry and fitness bounds. Its existing elites are ignored. All targets share one set of fresh measurements and keep one elite per cell. The source archive and reporting templates are read-only for the operation.
Definition at line 93 of file reporting.py.
| qdpy.reporting.compare_runs | ( | groups, | |
| seeds, | |||
| * | , | ||
| reporting_grid = None ) |
Verify manifest and archive pairs and compare matching seeds.
Return run status and paired metric differences for named directories. Each directory is scanned for ``run.json`` and ``run_*.json`` files. Missing, incomplete, duplicate, and invalid runs receive explicit statuses. Successful pairs must have matching grid geometry and objective scale. Two-objective Pareto grids report hypervolume using the worst raw bound of each objective as the common reference when both bounds are finite. A common Grid or CVTGrid reporting template reprojects source archives to one representative per reporting cell.
Definition at line 153 of file reporting.py.
| qdpy.reporting.main | ( | argv = None | ) |
Run the portable comparison from the command line.
Definition at line 299 of file reporting.py.
| qdpy.reporting.make_retry_plan | ( | groups, | |
| seeds, | |||
| configurations ) |
Plan retries for missing, failed, and incomplete seeds without submitting jobs.
| groups | Mapping from study group names to result directories. |
| seeds | Expected distinct nonnegative seeds in every group. |
| configurations | Mapping from group names to resolved YAML configuration files. |
Return a JSON-ready retry plan for one resolved configuration per group. Each run is identified by its group, configuration fingerprint, and seed. Successful runs are omitted. Duplicate seeds, configuration mismatches, and full-budget runs that cannot export an archive are reported separately. An incomplete or failed run with a checkpoint and journal next to its manifest gets a resume action. Paths are resolved on the planning machine.
Definition at line 285 of file reporting.py.