# Validation: the oracle ladder | Rung | Oracle | Tier | Decides | Cannot decide | | --- | --- | --- | --- | --- | | B0 | Unit tests of documented facts: port bit layouts, header decoding, memory map and banking, interrupt latching and acknowledge, timer order of operations, DMA costs, the mixing arithmetic, palette and tile formats | 3 (WSDEV, WSHW, STSWS) | that the board does what the community found | anything not written down; per-cycle order | | B1 | The real boot ROMs (player's own, by SHA-1) running to the cartridge jump, against the startup tables (WSDEV "Boot ROM") | 3 | power-on and cartridge-start state; the splash; internal EEPROM updates | the SoC differences WSDEV leaves TODO (ASWAN, SPHINX tables) | | B2 | **ws-test-suite** (asie, MIT) mono and color tests, built from its pinned source with asie's Wonderful toolchain (a tool, so its licence does not touch ours; it would live in emu-tools or emu-tools-gpl by its own licence, unchecked) | 3 | the many behaviours it checks; its result line per test | units it was not run on | | B3 | **WSHWTest** (FluBBa): interrupts, timers, I/O writability, noise, sweep, windows, LCD off | 3 | those behaviours as its author found them on hardware | its interpretations (its README says so) | | B4 | **WSCpuTest** inside the board (the CPU's judge: v30mz-python) | 3 | that the board's bus and the core together pass | display or sound | | B5 | MAME 0.285: boot-ROM instruction stream, I/O-write log and snapshots of named games at fixed frames | 5 | differences to triage | which side is right; CPU flags (MAME fails WSCpuTest) | | B6 | ares (ISC, readable) when a question survives B0-B5 | 5 | whether a second emulator agrees | anything as a judge | | B7 | A smoke list of commercial games (problem titles plus well-behaved ones: Aubrey's smoke-gate rule), reaching named screens | 5 through B5 | regressions | correctness | **Top tier per part:** CPU 2-3 (v30mz-python); display 3 (WSDEV, WSTS), with the per-cycle fetch order only partly written (WSDEV TODOs); sound 3 (WSDEV, WSHW); EEPROM and RTC 3 (WSDEV) plus the parts' data sheets (2, not fetched); mappers 3 (WSDEV). **No hardware- captured oracle exists for any part of this board**, and Aubrey has no WonderSwan, so no probe ROM can be run on a real unit (U2). Seeded faults for the board's gate: the 32-sprite limit off by one, the sprite table copy taken live instead of at line 144, an edge interrupt made level, a timer reload on toggle, sound DMA in the wrong slot, a mixer that clamps, the header's padding at the end, the 2001's C3h power-up value. Each must be caught by B0-B4. Ran in Phase 0: the census (571 zips, 3 boot ROMs and 2 EEPROM images hashed), MAME's boot trace and one game to its logo. No test ROM was run on the board (there is none yet).