Files
LithosAnanake/capsules/per-isa-doe.4th
T
Robert Allan JamesandClaude Opus 5.5 ac42cf36b5 Stage O-C: the event-driven DoE driver -- DOE returns to the prompt, EV-DONE chains the trials, MU-WAIT-ALL deleted (FABRIC-3.9.0 §3/§7.4)
- DOE sets up, JOINs EV-DONE and starts trial 1, then returns. Each trial
  births and sends WL-RUN only; completion arrives as the OS's EV-DONE.
- ON-DONE counts this campaign's own workers while active; the last one
  ends the trial (KILL all, marker, persist) and starts the next, or
  finishes (HB-OFF, UNJOIN, MU-CAMPAIGN: complete). MU-WAIT-ALL is gone;
  the start/end cycle goes through MU-END-XT.
- WL-DONE-ARGS removed from all ten workload capsules; lint passes.

Smoke campaign (amd64, 1 rep, rows off per Captain Bob): DOE returns, the
prompt answers mid-trial, all 6 trials chain on events, fail=0 each,
28/28 born/killed/departed, MU-CAMPAIGN: complete in ~61 min. Standard
sequence passes on all three ISAs (with the xHCI fix it exposed, df150e86).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 10:58:11 -04:00

30 lines
1.3 KiB
Forth

Block 5117
( per-isa-doe.4th - per-ISA DoE driver. FABRIC-3 SXXXIV.4/ )
( SXXXV.5/.7: 6-cell factorial from multiuser-doe.4th's own )
( MU-EXEC-CAMPAIGN. Seed/reps are VARIABLEs, not )
( CONSTANTs -- settable before a run. Default N=3 reps/cell= )
( 18 trials/ISA (ratified 2026-09-17). Load multiuser-doe.4th )
( FIRST. )
VARIABLE AMD64-SEED 20260917 AMD64-SEED !
VARIABLE AARCH64-SEED 20260918 AARCH64-SEED !
VARIABLE RISCV64-SEED 20260919 RISCV64-SEED !
VARIABLE PER-ISA-NREPS 3 PER-ISA-NREPS !
Block 5119
( DOE -- common entry point, seed reps isa-addr isa-u --. )
( Tags, checks resume count, runs the campaign. Any experiment )
( goes through this one word -- run ONE per boot (one QEMU at )
( a time). See FABRIC-3.md SXXXV.12 for why MU-EMIT-TRIAL- )
( MARKER can't just be redefined instead. FABRIC-3.9.8 O-C: )
( DOE starts trial 1 and RETURNS to the prompt; the campaign )
( runs on EV-DONE events and ends with MU-CAMPAIGN: complete. )
: DOE ( seed reps isa-addr isa-u -- )
2DUP MU-ISA-TAG!
DOE-RESUME-COUNT MU-EXEC-CAMPAIGN ;
: RUN-AMD64-CAMPAIGN ( -- )
AMD64-SEED @ PER-ISA-NREPS @ S" amd64" DOE ;
: RUN-AARCH64-CAMPAIGN ( -- )
AARCH64-SEED @ PER-ISA-NREPS @ S" aarch64" DOE ;
: RUN-RISCV64-CAMPAIGN ( -- )
RISCV64-SEED @ PER-ISA-NREPS @ S" riscv64" DOE ;