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

Compare per-case novelty, categorical linkage, and coevolving tasks on CPU. More...

Go to the source code of this file.

Functions

 linked_skills.case_trials (budget, seed)
 Compare case-wise selection on labeled training and extrapolation data.
 linked_skills._linked (bits)
 linked_skills._linked_optima ()
 linked_skills.mixing_trials (budget, seed, *, selected=("learned-linkage", "singleton-mixing", "bit-flip"))
 Measure per-cell quality against exhaustive solutions of a linked binary problem.
 linked_skills._progress (task, solver)
 linked_skills.coevolution_trials (budget, seed)
 Compare resources and solver generalization on small obstacle mazes.
 linked_skills.main ()
 Run the three base comparisons and optionally write their deterministic JSONL records.

Detailed Description

Compare per-case novelty, categorical linkage, and coevolving tasks on CPU.

Definition in file linked_skills.py.

Function Documentation

◆ _linked()

linked_skills._linked ( bits)
protected
Score four disjoint, interleaved deceptive blocks and report each half's sum.

Definition at line 44 of file linked_skills.py.

◆ _linked_optima()

linked_skills._linked_optima ( )
protected
Reuse the fixed exhaustive reference across trials in this process.

Definition at line 73 of file linked_skills.py.

◆ _progress()

linked_skills._progress ( task,
solver )
protected
Move right or down in the solver's preferred order and score goalward progress.

Definition at line 125 of file linked_skills.py.

◆ case_trials()

linked_skills.case_trials ( budget,
seed )

Compare case-wise selection on labeled training and extrapolation data.

Measure both prediction error and distinct output groups on a held-out panel.

Definition at line 23 of file linked_skills.py.

◆ coevolution_trials()

linked_skills.coevolution_trials ( budget,
seed )

Compare resources and solver generalization on small obstacle mazes.

Match pair evaluations and use the same holdout mazes for all three methods.

Definition at line 165 of file linked_skills.py.

◆ mixing_trials()

linked_skills.mixing_trials ( budget,
seed,
* ,
selected = ("learned-linkage", "singleton-mixing", "bit-flip") )

Measure per-cell quality against exhaustive solutions of a linked binary problem.

Compare linkage, single-locus mixing, and standard bit-flip MAP-Elites.

Definition at line 85 of file linked_skills.py.