Skip to content

feat: add novelty and rerun the paper's arms on the final engine - #266

Merged
benmandrew merged 38 commits into
mainfrom
campaign/final-engine
Nov 23, 2026
Merged

benmandrew merged 38 commits into
mainfrom
campaign/final-engine

Conversation

@benmandrew

Copy link
Copy Markdown
Owner

Adds the diversity mechanisms and the final-engine campaigns, which reran every arm of the peredur-extension paper on one engine at one commit. The paper's scripts/import_data.py reads these runs.

Engine changes:

  • novelty (genetic.novelty), an objective that counts the accumulated repairs implying a candidate, with a novelty_tiebreak that orders members within a front. The diversity pooled pass (2026-11-19-diversity-pooled) found novelty raised net containment by +0.047 (Holm 0.001) and net subsumption by +0.185 on 17 of 18 subjects against full-k1, so it is on in the paper's full.
  • crowding = "spec", spread_init, slot_coverage, flip_tabu and climb_orders. None was adopted; each stays at its old default.
  • Maximality removal, ported onto this line.
  • A reduce phase kind in campaign.py, and confine on compare, fingerprint and pool phases.
  • The odd-against-even seed-half reach control in the pooled scripts.

Campaigns:

  • 2026-11-20-final-engine: 12 arms of sweep F on the 9 smaller specifications and rad's 10 cores, at 30 seeds, at 8948138.
  • 2026-11-20-final-engine-large: rad (12 arms) and lift-plus-cruise-full (full, base and random) at 10 seeds, and the 130 sideways seeded mutants at 5 seeds. ventilator-controller is not run and counts as a timeout for every arm.
  • 2026-11-20-final-engine-pooled and 2026-11-20-final-engine-seeded-pooled, both reduced and collected.
  • The diversity screen, pooled pass and tie-break campaigns that chose novelty.

The last seven commits confine the pooled passes, fix the spec path of seeded mutants in fingerprint_members.py (acb3231), and catalogue and log the campaigns.

Provenance tag: provenance/2026-11-20-final-engine.

Commit 04d00eb (#258) retired `[filters] climb_orders` along with `climb_order` and `p_sideways`. We now want to test whether climbing each repair under several step orders gives a more diverse output. Without the key, the climb runs one fixed order, so the study has nothing to vary.

This brings back `climb_orders` (default 1) and the SplitMix64 hash-priority step permutations (`order_steps`). The first climb runs in slot order. Each later climb runs under a fixed pseudo-random order, and every distinct result goes on to the final filters. `climb_order` and `p_sideways` stay retired.

At the default of 1 the output does not change. The determinism goldens pass untouched, and the full debug ctest run passes (68/68).

The manifest schema goes from 69 to 70. The schema 63 line moves to docs/dev/history.md, and the Config vintage table gets a new row.
…e crowding

NSGA-II orders each front by crowding distance in objective space. Two candidates with near-identical objective vectors can be very different requirements, so truncating the last front on objective crowding can keep near-duplicates and drop distinct specifications.

Add `[genetic] crowding = "objective" | "specification"`, default `objective`. Under `specification`, each front is ordered by greedy farthest-point selection under `specification_distance`, the share of slots whose requirement differs. The selection is seeded with every member of the better fronts, so truncation fills the last front farthest-point from everything already kept. It applies at both parent ordering and survivor selection, works for FRETISH only, and draws no random numbers.

`nsga2_sort` gains an `Nsga2Options` argument whose default changes nothing. The determinism goldens are therefore unchanged, and `golden_config` pins the new key.

Schema 70 adds `specification_crowding` (sorts, cut_fronts, distances) to the run report.
… a candidate

NSGA-II ranks on quality objectives alone, so a population can fill with candidates that an earlier accumulated repair already implies. Those candidates add nothing new to the repair set M.

Add `[genetic] novelty = false`. When on, it appends one objective for ranking only. The objective is minus the number of accumulator members that `spec_implies_by_rule` proves imply a realisable candidate. An unrealisable candidate scores 0, and a candidate already in M counts itself. The value is not stored, cached or written. It is recomputed at parent ordering and survivor selection. It works for FRETISH only, under nsga2-apportion, and draws no random numbers.

A run-scoped `DiversityState` is lent to each generation through the new last parameter of `evolve_generation` and `GenerationContext::m_diversity`. It caches per-spec progress through M and memoises `requirement_implies` per lowering pair. After each selection it is cut to the surviving population. The determinism goldens are unchanged, and `golden_config` pins the new key.

Schema 71 adds a `novelty` block (evaluations, checks, implied, covered) to the run report.
A finished FRETISH run records its output, but there was no way to ask what its climb would have produced under more step orders (`filters.climb_orders`). The diversity study needs that, and rerunning the whole search to get it is slow and not the same run.

`climb-replay` is a new binary, built only on request (EXCLUDE_FROM_ALL). It reads the run's config.toml, the input spec and the search-only accumulated members. It then calls finish_search to replay the output climb at `--orders K`, and writes repair_N.json and summary.json.

The run's JSON drops removed guarantee slots, so the tool rebuilds them. An alignment that matches fields and keeps their order maps the saved members back onto the input spec. Where a slot has no match, it fills the gap with the original requirement removed. This is a guess.

Validation at K=1 against 54 remove-exchange runs made at e117a76 gave 44 exact matches (5 of them empty). Of the 10 mismatches, 8 match once the rule additions of 07015dd (#263) in implication_check.cpp are reverted. These 8 are code drift since the run. The other 2 come from the removed-slot guess.

Add a new suite, driver_climb_replay, and a unit test of the slot alignment.
A rewrite draws its slot uniformly, so repairs pile onto the slots that earlier repairs already changed and the rest of the requirement is rarely touched.

Add `[mutation] slot_coverage = false`. When on, the main slot draw (after blame narrowing) and the exchange gate's weakening draw weight slot s by 1/(1+c_s). Here c_s counts the accumulated repairs whose slot s differs from the original, with tombstones and appended assumptions included. Steps towards the original keep their share, because the slot weights are rescaled to sum to the slot count. It works for FRETISH only. `remove_guarantee` still draws uniformly.

The weighted draw is one `next_real` instead of `next_index`. With equal weights, and with the key off, the draw is the unchanged `next_index`, so the determinism goldens are unchanged and `golden_config` pins the new key.

The counts are kept incrementally in `DiversityState`. They are updated once per generation before breeding and lent through `ParentContext::coverage`. `breed_offspring` now takes the `DiversityState`.

Schema 72 adds a `slot_coverage` block (draws, weighted) to the run report.
The initial population is the original specification repeated, so early generations explore from one point and the first parents add little diversity.

Add `[genetic] spread_init = false`. When on, the seed population is the original plus population_size-1 one-step weakenings. They go round-robin over the live weakenable guarantees that the original's MRS walk refused, or over all live weakenable guarantees if it refused none, then over the live weakenable assumptions. Each weakening is one `mutate_requirement` in the weakening direction with p_monotone at 1. It is kept only where `classify_move` proves it Weaker. Each seed gets up to 8 draws, and if none succeeds the seed is the original. The seeds are scored with `score_population`. It works for FRETISH only.

The draws come from the run's RandomSource before generation 1, so with the key on the random stream moves. With the key off nothing is drawn, the determinism goldens are unchanged, and `golden_config` pins the new key.

Schema 73 adds a `spread_init` block (targets, seeded, failed) to the run report.
A slot edit can turn an unrealizable parent into a realizable offspring, and a later edit of the same slot can turn it back. A lineage that keeps editing such a slot spends its offspring going back and forth over the realizability boundary, and nothing in the search records that it has done so.

`[mutation] flip_tabu` (in generations, 0 means off) gives each specification a lineage. The lineage records, for each slot, whether an edit has made a parent realizable and whether an edit has made one unrealizable. Slots are keyed by side and local index, because global indices shift when an assumption is added. When a slot has flipped both ways, it is tabu for that many generations, and its record starts again. The slot draw drops tabu slots after blame narrowing, and so does the weakening draw of the exchange gate. If every slot is tabu, the full list is kept. Steps towards the original are not affected. Offspring are held until the generation is scored, because realizability is known only then. Two lineages that reach one specification keep the first. Lineages are cut to the surviving population after each selection.

`[mutation] flip_sideways` acts only when `flip_tabu` is above 0. It keeps a flipped slot in the draw, but rewrites it with every directed arm at 0. It keeps the result only if `classify_move` finds it Incomparable with the parent, and returns the parent otherwise.

With `flip_tabu` at 0 nothing is drawn and no lineage is kept, so the golden outputs do not change. `golden_config` pins both keys. The run manifest moves to schema 74 and adds a `flip_lineage` block with `flips`, `tabu`, `skipped`, `fallbacks`, `sideways` and `sideways_kept`. These are all zero at the default.
Both branches claimed run manifest schema 70. The re-added filters.climb_orders keeps 70, and the five diversity blocks move to 71 to 75 in the manifest, the schema version list and algorithm.md. Every key from both branches stays in config.hpp and keys.hpp, and the config reference is regenerated.
The paper's full arm (remove-no-blame-exchange, run at e117a76) needs `genetic.maximality_removal`. That key was never merged to main: it exists only on feat/demotion-removal (5e94f6b) and the campaign branches cut from it. Main does not know it, and warns "unknown key genetic.maximality_removal, ignoring". So a run on main or on feat/diversity-mech with that config demotes and does not remove.

This ports 5e94f6b onto 02dbd64. The removal and survivor-pool counters go into stage_select in src/genetic/pipeline.cpp, which is where the templates moved in #259. They sit beside the specification-crowding and novelty changes. The manifest schema goes from 75 to 76, and the Config vintage table gets a row. With the key off, every run is unchanged. The release ctest run passes (70/70).
Two questions. Does climbing each repair under more step orders give a more diverse output? Does any of the six diversity mechanisms on feat/diversity-mech do so? Sweep K gives the paper's full, which is remove-no-blame-exchange at e117a76 (sweep P's lean with demotion and removal on, blame off, gate in exchange mode), at climb_orders 1 and 4 (full-k1, full-k4). It also gives six arms, each full-k1 plus one mechanism: crowd-spec, novelty, slot-coverage, spread-init, flip-tabu and flip-sideways. Apart from the added `climb_orders = 1`, full-k1's config is byte for byte the same as the 570 configs of the exchange rerun.

gen_configs.py now emits climb_orders and the five keys of the mechanisms, each only when a sweep overrides it. The profile diversity-climb runs full-k1 and full-k4 on 30 seeds. The profile diversity-screen runs the six arms on seeds 0-9, so that they pair with full-k1. Both use the 19 subjects of the small set and rad's cores, at the exchange rerun's budget and 2 threads a run.

experiments/2026-11-19-diversity-screen-runs has four phases on av2 and av3, 14 jobs each, confined to CPUs 0-29 and 64G. That is 2,280 runs.
Sweep K's full arm reset the blame features to their defaults, so blame
was off. That did not match the paper's full, which keeps blame on as an
engine optimisation. The running campaign 2026-11-19-diversity-screen-runs
was cancelled on 19 Nov for this reason.

full now takes the blame features from feats["blame"], so full-k1 and
full-k4 are sweep D's remove-exchange at e117a76 with climb_orders set.
The generated full-k1 config differs from that rerun's remove-exchange
config only by climb_orders = 1.

The two new profiles, diversity-climb-blame and diversity-screen-blame,
get their own configs and results directories, so the cancelled no-blame
results cannot mix with the new ones. The old profiles stay, so the
cancelled entries still resolve. The campaign is declared as
2026-11-19-diversity-screen-blame. It has the same 2,280 runs: full-k1
and full-k4 on 30 seeds, and six screen arms on 10 seeds, each over 19
subjects.

av2 is confined to CPUs 0-13 (7 jobs) because another session's job
holds CPUs 14-29. The seeds are split to match: the full arms run seeds
0-9 on av2 and 10-29 on av3, and the screen arms run seeds 0-3 on av2
and 4-9 on av3.
A compare pass on a shared host could not be pinned: only run phases
took `confine`, so compare_pairs.py and its compare processes spread
over every CPU. The unseeded kinds now take the same table, inherited
from the campaign and replaced per host by the phase's own, and the
tick launches them through the same systemd-run and taskset prefix.
A score phase still refuses the key, since it pins its own workers.
The joint pass's PLAN.md fixed its measures before any result came in.
Two of them needed code: how much of a subject's trace space each arm's
frontier accepts, and how much of the joint front each arm reaches.
Nothing computed either, so the pass could not be scored.

scripts/joint_measures.py computes both from the inputs pooled_reduce.py
already reads. Accepted-trace share is the median share of the 32,768
sampled words accepted over an arm's frontier classes; lower is
stronger. Joint-front reach is the share of the cross-arm front for
which an arm holds an equivalent or stronger class. Pairs of arms are
compared with the exact Wilcoxon signed-rank test, Holm correction over
the pairs, and the Hodges-Lehmann shift with its exact 95% interval.
Exhaustive subjects give the main result. Sampled subjects are
reported apart, because a drawn frontier is only an estimate.

--share-only computes the share alone. A pass whose design contrasts
only some pairs of arms leaves the joint front undecided, so reach
would mislead there. It was used on the 2026-11-09 v2 and no-climb
passes for the peredur-extension paper.

On the joint pass, full and only-climb tie on share: shift +0.002,
Holm p 0.86.
A pooled design took one results directory, one run-directory
pattern and one seed set per group, and every arm of a subject was
read from them. A pooled pass could not add arms from a second
campaign to a subject whose other arms sit elsewhere. The case that
needs it is diversity-screen-blame, with 10 seeds in its own results
directory, pooled beside arms that have 30 seeds in another tree. A
subject also cannot appear in two groups, so splitting the subject
across groups was not an option either.

A group now takes an optional `sources` table keyed by arm. An entry
replaces any of `results`, `run_dir`, `seeds` and `members` for that
arm alone, and the arm keeps the group's value for any key the entry
leaves out. The parser refuses a source for an arm that no contrast
names, and refuses unknown keys in an entry. A subject's `seeds` is
now the union over its arms, and each arm records its own source.

`run_dir_name` and `pool_members.py` read the arm's source instead of
the subject's, so each arm is read from its own tree at its own
seeds. A group with no `sources` table behaves as before.

The tests cover the merge, the seed union, both refusals, and a pool
that reads one arm from a second tree. The pooled_design.py docstring
and the campaigns guide describe the table.
The diversity-screen-blame campaign ran the paper's full arm at
climb_orders 1 and 4 (full-k1, full-k4), 30 seeds each. Nothing yet
measures how strong or how diverse their repairs are.

Declare a pooled pass over both arms and register PLAN.md before
launch. It covers 18 subjects: the small set less fsm-lmcps, plus
rad's 10 cores. One contrast, full-k4 against full-k1, reads
accepted-trace share and net containment at K = 3 with seed-half
controls.

The plan avoids the four faults found in the audit of
2026-11-09-fretish-order-pooled. Each host fingerprints and compares
its own subjects. av2 is confined to CPUs 0-13 and 28 GB, because
another job holds the rest. The compare cost is estimated at minutes
of wall time. The fingerprint phase takes about 1-2 h on av3.
The diversity screen ran seeds 0-9 of six mechanisms against full-k1 on
18 subjects. Novelty passed (net containment +0.071, p = 0.001), and is
also stronger. Flip-tabu (+0.016, p = 0.12), slot-coverage (+0.014,
p = 0.23) and flip-sideways (+0.009, p = 0.49) were positive but not
significant, which the study plan counts as promising. crowd-spec and
spread-init failed and are dropped.

The pooled pass needs 30 seeds per arm, as full-k1 and full-k4 have. The
new profile diversity-followup-blame runs seeds 10-29 of the four arms.
It uses the diversity config tree and writes into diversity-screen-blame's
results tree and CSV, so each arm's 30 seeds sit in one tree, which is
what the pooled design reads for each arm.

Both hosts are confined to CPUs 0-13 and run seven jobs of two threads
each, because another session's bug hunt holds CPUs 14-29 on both.
CPUs 30-31 stay free for Ollama.
The first draft pooled only full-k1 and full-k4. Four screen arms
(novelty, slot-coverage, flip-tabu, flip-sideways) now have 30 seeds,
so the pass covers all six, with joint-front reach added as a third
measure. Outputs move to -v2 paths so nothing from the draft mixes in.

Another job holds CPUs 14-31 on av2 and av3 until about 22 Nov. Both
hosts now run on CPUs 0-13 under 28G, so one fingerprint phase and one
compare phase serve both hosts in place of a phase for each host.
Subjects are rebalanced to give each host about 1 h. Estimate: 12-16
CPU-h.
A compare pass on a shared host could not be pinned: only run phases
took `confine`, so compare_pairs.py and its compare processes spread
over every CPU. The unseeded kinds now take the same table, inherited
from the campaign and replaced per host by the phase's own, and the
tick launches them through the same systemd-run and taskset prefix.
A score phase still refuses the key, since it pins its own workers.
A pooled pass's reductions (pooled_reduce.py, joint_measures.py) need
every host's outputs in one place. No phase could run them, so they ran
by hand on the laptop after each host finished and its outputs were
collected.

A `reduce` phase now runs them on one named host through the queue. The
tick holds the phase, and spends no attempt, until each other source
host's queue entry for the campaign at the same commit has passed the
phases before it. It then gathers each source's output set to the
reducing host and runs the reductions under the phase's `confine`.

The gather goes host to host with rsync over ssh from `source_root`.
This is the route `collect --outputs` uses. A relay through the laptop
would work, but the tick runs unattended under cron, and a relay would
need someone at the laptop.

Each step is recorded in `<out>/done.csv`, keyed by a digest of its
inputs and its command. A rerun skips a step whose row matches and
repeats one whose inputs changed. `status` reads a manifest in
compare-manifests to report the phase.

The load refuses an unknown key, a missing path, a host or source the
campaign lacks, overlapping output trees and more jobs than the
confined CPUs. Tests cover the parsing, the commands, the wait, the
gather, the rerun and the status read. docs/dev/campaigns.md has a new
"Reduce phases" section, and scripts/README.md and the CLAUDE.md index
list it.
The novelty objective changes the ranking itself: as a fourth objective it decides which candidates sit on which front, and it weakens dominance pressure. There was no way to use the novelty count only to separate candidates that the three quality objectives leave on one front.

Add `[genetic] novelty_tiebreak = false`. When on, the novelty count orders the members of each non-domination front, fewer implying members of M first, before crowding. Crowding stays the secondary key, so equal counts still spread. The three objectives and the fronts are unchanged. It applies at parent ordering and at survivor selection, through `Nsga2Options::tiebreak` and `tiebroken_order`, and reuses `DiversityState` and its caches. It works for FRETISH only, under nsga2-apportion, and draws no random numbers.

A config that sets both `novelty` and `novelty_tiebreak` is refused with an error, since the count would both rank and break ties. The determinism goldens are unchanged, and `golden_config` pins the new key.

Schema 77 adds a `novelty_tiebreak` block (sorts, evaluations, reordered, survivors_changed) to the run report. Schema 76 is taken by the maximality removal port on campaign/diversity-climb.

The debug ctest run passes (70/70).
Brings in `[genetic] novelty_tiebreak` (02fa8c6). Its manifest schema is 77, after this branch's port of maximality removal at 76, so both blocks are recorded and k_config_keys holds 61 rows. The cross-field checks in apply_toml keep both refusals: removal without demotion, and novelty with novelty_tiebreak. The config_io tests keep both. The parent-ordering comment of the removal port stays above the tie-break report.

The release ctest run passes (70/70).
The novelty tie-break (`novelty_tiebreak`) is in the engine, but no sweep level turns it on, so the diversity runs cannot test it. This adds the level and a campaign to run it.

Sweep K gains a level, novelty-tiebreak. It is full-k1 plus `novelty_tiebreak = true`. Its generated config differs from full-k1's only by that line, and the other eight configs are byte-identical to before.

The runner gains a profile, diversity-tiebreak-blame. It covers 19 subjects (FRETISH_ORDER_SMALL plus FRETISH_ORDER_CORES) and seeds 0-29. It reads configs-diversity-climb-blame and writes to its own results tree and CSV, results-diversity-tiebreak-blame.

The campaign 2026-11-20-diversity-tiebreak splits the 570 runs over two hosts. tiebreak-av3 runs seeds 0-19 on av3 (380 runs on CPUs 0-29, 60G, 15 jobs of 2 threads; another job is paused there for this window). tiebreak-av2 runs seeds 20-29 on av2 (190 runs on CPUs 0-13, 28G, 7 jobs), because another job holds CPUs 14-29 there until about 16:30Z. With this split, both hosts finish at about the same time. CPUs 30-31 stay free on both.

The campaign is not enqueued. test_campaign.py passes, and `campaign.py stage --dry-run` reports "would stage" on both hosts.
… campaign/final-engine

# Conflicts:
#	docs/dev/campaigns.md
#	scripts/README.md
#	scripts/campaign.py
No sweep ablated the four features of the final FRETISH engine
together: climb, gate in exchange mode, maximality removal under
demotion, and novelty. Sweep F sets full to sweep K's full-k1 plus
novelty, and gives each feature a no-<f> and an only-<f> arm, with
base and full alongside. Every arm states every mechanism key, so no
arm inherits a default that a later commit might move.

Blame-targeted slots are on in every arm. They are an engine
optimisation that the ablation does not vary.

The controller store is off in every arm, through
controller_reuse_min_guarantees = 0. Its gate read the ltlsynt time
measured at the startup screen, so host load, not the seed, decided
whether a run used the store. The default of 10 mirrors config.hpp.
make_toml emits the key only when a sweep overrides it, so no existing
config changes.

Sweep F is held back from DEFAULT_SWEEPS, as O, P and K are, so a grid
generated without --sweeps stays byte-identical.
The paper reads joint-front reach against each arm's own seed-half
control, but no script computed that control, so the reach differences
had no measure of seed noise to set against them.

joint_measures.py --half-control splits each arm's seeds by parity into
two half-pools. Each half's reach is measured on the joint front of the
two halves, and the control is the mean of the two. A node held at seeds
of both parities joins that front once. The campaign reduce phase takes
the same switch as half_control = true. It needs joint = true and
share_only = false, because share-only runs skip the reach measure.
Sweep F turned the controller store off with min_guarantees = 0. That
removed the store from every subject, including lift-plus-cruise-full,
where in the exchange rerun it was on in every run and answered 69% of
its tries.

Keep min_guarantees at its default of 10, and pin
controller_reuse_min_screen_ms at 150 in every sweep F arm, against the
default of 40. In the rerun the screen took 441-942 ms on
lift-plus-cruise-full and at most 47 ms on every other subject. At 150 ms
the store stays on for lift-plus-cruise-full and off elsewhere, with a
wide margin on both sides, so host load moves no subject across the gate.
The paper's arms ran on different engine commits, so its \tbd values
cannot come from one engine. Sweep F sets the four features of the final
FRETISH engine (climb, twoway in exchange mode, maximality removal and
novelty), with blame on in every arm and the controller store gated at
a 150 ms screen.

Declare four campaigns on campaign/final-engine that rerun all paper
arms at one commit: the small set, rad's cores, the sideways seeded
corpus and rad; then lift-plus-cruise-full and ventilator-controller in
their own entry, so it can be dropped or resized; and two pooled passes,
over the specifications and over the seeded corpus, each reduced on av2.
None is launched.

run_experiments.py registers the sideways corpus with an sw- prefix, as
campaign/seeded-corpus-sideways does, and adds four profiles for the
sweep. make_design.py writes the pooled designs, which stay untracked.
Each phase confines its work to CPUs 0-29, leaving 30-31 for Ollama.
PLAN.md holds the arms, seeds and slot-hour estimates, which carry at
least ±50%.
The final-engine large campaign ran full, base and random on
ventilator-controller at ten seeds, fifteen runs a host. No
realisability query on this spec finishes, so every run would hit the
7,200 s cap and yield no repair data. The three rounds at the cap cost
about 240 slot-hours (6 h a host) for runs known in advance to time out.

Remove the two vent phases from the large campaign, the
configs-final-engine-vent tree from both campaigns' configs commands,
and the vent row from PLAN.md. PLAN.md now records that the spec is
taken as a timeout for every arm. The large campaign keeps
lift-plus-cruise-full only.
…the windows

lift-plus-cruise-full now runs full, base and random alone at seeds 0-4
and 15-19 (profile final-engine-lpc), in place of all twelve arms at six
seeds. A run there costs about 8.4 slot-hours, and the ablation arms
would add about 3% of each contrast's pairs, so the ablation leaves the
specification out. This cuts the phase from about 605 to 250 slot-hours.

The hosts free up in two steps. veribee's re-run holds CPUs 14-29 until
about Sat 01:00Z on av3 and Sat 04:00Z on av2, so 2026-11-20-final-engine
now holds only the small set and rad's cores, at 7 jobs on CPUs 0-13
under 28G. rad, lift-plus-cruise-full and the seeded corpus move to
2026-11-20-final-engine-large on CPUs 0-29, which is enqueued on each
host once veribee releases it, since campaign.py has no start time. The
seeded corpus gives its three seeds to av3, which frees first.
Veribee holds CPUs 14-29 and up to 32G on av2 and av3 from the end
of final-engine-large on each host until Mon 23 Nov 06:00Z. The two
final-engine pooled campaigns were confined to CPUs 0-29 with a 96G
reduce cap, so they would collide with it on both hosts.

Move both campaigns to CPUs 0-13 on av2 and av3. The build's taskset
follows, and its -j drops from 16 to 12 to fit the smaller set. The
reduce cap drops from 96G to 80G so that 80G plus veribee's 32G fits
the 125G host. compare keeps 12 jobs and fingerprint 8 workers, which
fit 14 CPUs.
Both final-engine entries finished on av2 and av3 and are collected:
6,840 runs on the small set and rad's cores, 120 on rad, 30 on
lift-plus-cruise-full and 6,500 on the seeded corpus. Every row is at
8948138, clean, and none timed out. The catalogue lists the three sets
as supporting until the paper imports them, and the PLAN's new Log
records the windows, the wall times against the estimates and the
found-repair counts.
Both pooled passes were pooled locally: 18 subjects and 45 contrasts for the specifications, and 126 seeded subjects after dropping four fsm-lmcps mutants where an arm holds 3 or fewer members. The Log records the drops and the SHA-256 sums of the inputs copied to both hosts.
fingerprint_members.py read every subject's specification from
examples/<subject>/spec.json. A seeded mutant has none there, so on the
final-engine seeded pooled pass fpdraw aborted on every subject with
"cannot open input file". The sideways corpus had not been pooled before,
so the path had never run.

spec_path() now resolves a subject as run_experiments.py does: under
examples/ by its own name, then a "sw-" id under the sideways corpus's
subjects/ less its prefix, then the strengthening-only corpus's
subjects/.
CI's clang-tidy runs with warnings as errors, and PR #266 failed it on
six checks. readability-identifier-length rejected the single-letter
loop variables `i` and `k` in nsga2. readability-function-cognitive-
complexity put breed_offspring at 34 against a threshold of 25.
Three checks fired in test/genetic/diversity_tests.cpp:
performance-unnecessary-copy-initialization,
readability-math-missing-parentheses and
performance-inefficient-vector-operation.

breed_offspring now calls two helpers. generation_coverage() does the
once-per-generation slot-coverage lookup. push_offspring() simplifies
a child and records it in the FRETISH counters. Neither helper draws
from the RandomSource, so the draw order and the output are unchanged.
The nsga2 loops take descriptive names. The test changes add
parentheses, reserve the vector and mark the deliberate copy with a
NOLINTNEXTLINE that gives its reason.
@benmandrew
benmandrew merged commit dad3f3f into main Nov 23, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant