Commit Graph
2006 Commits
Author SHA1 Message Date
Abdessamad Derraz 8021db632d fix: one choice per run, taps seen before acting
Answers code_audit_20 and tui_audit_13. A tap acts on the frame it was
made on, bar entries that install, quit or open Confirm take two taps,
and Preferred regions keep their rows while open. Every check of a list
keeps the systems ticked, the plan's counts read the list the check
read, line mode leaves game data out of the choice alone, Confirm counts
copies, a pack's missing files are said before a size, and paths break
after a separator only.
2026-10-28 06:10:10 +01:00
Abdessamad Derraz 7c3e6ced09 chore: merge main into the page audit 2026-10-28 04:30:51 +01:00
Abdessamad Derraz ca7bac6293 fix: link tested files, read the negative check 2026-10-28 04:30:47 +01:00
Abdessamad Derraz e4391d4c7a chore: merge main into pack probes 2026-10-28 03:56:54 +01:00
Abdessamad Derraz 14b7fd1c98 fix: one thread at a time in the campaign cwd 2026-10-28 03:56:25 +01:00
Abdessamad Derraz aefdeda4d8 chore: merge main into pack probes 2026-10-28 03:56:12 +01:00
Abdessamad Derraz ae5e377f21 fix: skip the tap pty tests without pyte 2026-10-28 03:35:04 +01:00
Abdessamad Derraz f850ac36ee chore: merge pack probes
# Conflicts:
#	scripts/generate_site.py
#	scripts/sitemeasurements.py
#	wiki/testing-guide.md
#	wiki/tools.md
2026-10-28 03:28:41 +01:00
Abdessamad Derraz c9899ac1cd chore: merge taps by row kind and quit code 2 2026-10-28 03:15:52 +01:00
Abdessamad Derraz c8377de90d feat: taps follow the row, quits exit 2
code_audit_19 and tui_audit_12. A tap ticks a box and opens a choice on a
second tap of the row the screen saw tapped. One list drives the plan's game
data row, save line and data files. The version note, --offline in shown
commands, exit 2 for a chosen quit, legacy mouse reports read from bytes,
colour roles that read their words, the setup list's device column, the
copy browser, a drive two systems fit, WSL's Windows folder, and line mode
wording.
2026-10-28 03:15:07 +01:00
Abdessamad Derraz 79ae046343 feat: list emulator files once as table rows 2026-10-28 02:51:48 +01:00
Abdessamad Derraz a1d094c8b3 chore: merge region and coverage checks 2026-10-28 02:08:40 +01:00
Abdessamad Derraz d7fa441e1e chore: merge the oracle branch 2026-10-28 01:52:08 +01:00
Abdessamad Derraz f78aacac29 fix: hold pack_probe to the repository's checks
run_cli entry point, --platform through platform_arg with -p and the registry's suggestion, help on every option, typed probe_lock, options documented, the module in the testing guide. The platform Tested rows fold under one line, run output joined without semicolons, and the measurements page section fits its start-level budget.
2026-10-28 01:51:52 +01:00
Abdessamad Derraz c5a6a0fcc4 fix: fold the region runs on system pages
Four cores and three games put 430 words on the PlayStation page, past its word ceiling. A system page now shows one line per core, and each game's outcome with its four records waits in a closed fold.
2026-10-28 01:35:00 +01:00
Abdessamad Derraz 67ea11e2f6 chore: merge the finished oracle work 2026-10-28 01:00:01 +01:00
Abdessamad Derraz 356a101c53 fix: call a region claim ambiguous on every file
PCSX-ReARMed opens the three regional BIOS files whatever the disc, and the rule called that a confirmation because one of them held the region. A run that opened its own region's file and the others too now settles nothing.
2026-10-28 00:29:09 +01:00
Abdessamad Derraz 882ce55635 fix: keep the Tested block in the house style
The details box takes a plain border instead of a side stripe, dots are rounded squares instead of pills, the strip's label joins variants with full stops, and one file tried reads as 1 file.
2026-10-28 00:11:56 +01:00
Abdessamad Derraz 3bad5a90a5 feat: tested block as a table of results 2026-10-27 23:56:01 +01:00
Abdessamad Derraz 6bbf0f137c fix: fold region runs on the emulator page
Twelve region records made the Beetle Saturn Tested block 266 words where the page allows 120. A region run reads as one outcome per game on the system page, so the emulator page now names them in one line.
2026-10-27 23:50:28 +01:00
Abdessamad Derraz 499e5faa7d fix: beetle_psx boots without its region BIOS
When the region's file is absent, libretro.c (7fea57a5) finds no name and no matching sha1, then maps its built-in OpenBIOS (libretro.c:3425-3511). The region runs show it: each region's disc reaches its game with only the other regions' BIOS staged, under the oracle's reference frames (records 2026-10-27-55dd1e4943c4, 13be0e68b799, 33780d47efdf). scph5500.bin, scph5501.bin and scph5502.bin are required: false, hle_fallback stays true. Written through campaign_profiles.
2026-10-27 23:39:13 +01:00
Abdessamad Derraz 83712af0ce chore: merge the oracle branch 2026-10-27 23:30:30 +01:00
Abdessamad Derraz 3ce6911a7a chore: merge main 2026-10-27 23:30:30 +01:00
Abdessamad Derraz f2f890602d chore: add the PCSX2 Rez reference frame
Reviewed by the oracle agent on the PNGs of record 2026-10-27-fac0b52c9475.
2026-10-27 23:29:43 +01:00
Abdessamad Derraz e826d581f9 chore: merge the PCSX2 error screen 2026-10-27 23:29:28 +01:00
Abdessamad Derraz f2d474d866 feat: add the PCSX2 missing BIOS dialog screen
PCSX2 standalone shows a dialog and runs nothing without a BIOS: record 2026-10-27-fac0b52c9475 of the regions branch, reviewed on its PNG.
2026-10-27 23:19:57 +01:00
Abdessamad Derraz 5b8b96e306 chore: add DuckStation reference frames
Reviewed by the oracle agent on the PNGs of record 2026-10-27-9bc8fbcebc85, variant scph5501.bin.
2026-10-27 23:19:11 +01:00
Abdessamad Derraz d893823fe1 chore: merge the reference variant key 2026-10-27 23:18:30 +01:00
Abdessamad Derraz 64af0a5d83 feat: let a reference name its variant
A reference taken from a check names the variant that ran the full set, and the test judges that variant's repetitions.
2026-10-27 23:08:30 +01:00
Abdessamad Derraz e6f7ea8f07 chore: merge the region reference frames 2026-10-27 23:07:23 +01:00
Abdessamad Derraz c639a1b3e5 feat: test the oracle against its own records
Every reference block's run, judged again with the oracle as committed, boots in each repetition. Beetle Saturn's three BIOS lines are BIOS errors, the Japanese menu screens are error screens, and the PlayStation cores carry no error pattern.
2026-10-27 23:01:10 +01:00
Abdessamad Derraz 44e0816235 chore: merge the inert Tested text 2026-10-27 22:58:36 +01:00
Abdessamad Derraz 905e3853df fix: render pack probe output as text
Run output on a platform's Tested block is escaped for HTML, MDX and Markdown. inline_html links only http(s) and relative targets, quotes escaped. Pack probe runs stay off the emulator pages, shown on the platform's.
2026-10-27 22:58:36 +01:00
Abdessamad Derraz dc53f50f67 fix: render run output in the Tested block as text
Every value a run produced (claim, method, statement, host, flags, variant labels, core, content and file names) is escaped with quotes and its braces made inert for MDX, never read as Markdown. A record link is written only for an http(s) or relative target. Reference runs fold with the tests from before the oracle.
2026-10-27 22:57:23 +01:00
Abdessamad Derraz a2d30046f2 feat: show platform probes in the Tested markup 2026-10-27 22:54:38 +01:00
Abdessamad Derraz d7e17491f0 chore: merge the per-run probe lock 2026-10-27 22:53:16 +01:00
Abdessamad Derraz e7de3e5084 feat: add the Japanese BIOS menu error screen
A US disc under the Japanese BIOS ends on the BIOS main menu on Beetle PSX and SwanStation: the BIOS refused the disc. Reviewed on its PNG.
2026-10-27 22:35:50 +01:00
Abdessamad Derraz 186a9ccef3 feat: add Beetle Saturn's BIOS error patterns
Three log lines after which retro_load_game fails, read from mednafen/ss/ss.c at 2ce77e20.
2026-10-27 22:30:27 +01:00
Abdessamad Derraz 086b3739d9 feat: add the region reference frames
Puzzle Bobble 2 (Japan) and Bust-A-Move 2 (Europe) on the PlayStation cores, and the three Saturn editions on Beetle Saturn, each frame reviewed on its PNG. Beetle Saturn's BIOS error lines, read from ss.c, are its error patterns.
2026-10-27 22:30:20 +01:00
Abdessamad Derraz 6d3045cbb3 fix: no region verdict from frames that differ
The first runs showed it: beetle_psx reaches the game of the US disc on the Japanese and European BIOS, through a different licence screen, so its frames differ from the full run while the oracle says boots. The interim rule read those frames as a failure. A variant now boots on the same frames as the full run or by its oracle verdict, and otherwise has no answer.
2026-10-27 22:28:43 +01:00
Abdessamad Derraz ed61e42f3f fix: bind only proven Python trees in the sandbox
The interpreter bind took each link's grandparent, so ~/.local/bin/python3 exposed all of ~/.local inside the sandbox. A tree is now bound only when it is a Python prefix (lib/pythonX.Y) or a venv (pyvenv.cfg), never / or the home folder or above it. Every other link is bound as a single file, and a path inside a bound tree is not bound again, since bwrap cannot mount over a link in a read-only tree.
2026-10-27 22:09:12 +01:00
Abdessamad Derraz dd64434122 chore: merge main 2026-10-27 22:05:47 +01:00
Abdessamad Derraz e90fb85050 fix: bind the interpreter into the probe sandbox
The sandbox bound only /usr, /lib and /bin. On the CI runner setup-python puts Python under /opt/hostedtoolcache, so the worker could not start and every core_probe and campaign run crashed (7 tests, plus their replay without jsonschema). A venv, pyenv or uv do the same. The interpreter's prefix and every link on the way to it are now bound read-only, each at its own path. Reproduced with uv's Python 3.13 outside /usr, 92 tests pass under it and under the system Python.
2026-10-27 22:05:34 +01:00
Abdessamad Derraz 06ca83bdca fix: one short hash length across the site
Merging the card and platform branches left two SHORT_HASH definitions, 8 and 12. The later one silently won, so the platform rows showed 12 characters while their tests expected 8. One constant now, 12, the card anchor's length. The copy-button selector skips buttons that carry their own data-copy, and the tests follow the merged markup.
2026-10-27 22:02:41 +01:00
Abdessamad Derraz 917ab7c94b chore: merge platform file rows 2026-10-27 21:46:44 +01:00
Abdessamad Derraz 793b16cf67 chore: merge folded cards and one install command 2026-10-27 21:45:48 +01:00
Abdessamad Derraz e7d33caa3f feat: platform file rows that open full width
Each file is a details whose summary is the row: name, folder when it is not the bare name, status chip. The short hash sits on one copy button beside it, since a summary is itself a control. Opened, the evidence runs across the list. A list with no folder drops the column. Code spans in the evidence are plain text.

The lists split by the share of a page they render to (elements against 10,000, bytes against 600,000) instead of Markdown length. With its parts, Batocera goes from 12 pages, 18,854 elements and 1.21 MB to 10 pages, 13,671 and 1.11 MB. A part that folds back into its platform page redirects there, from the record in website/src/data/platform-parts.json.
2026-10-27 21:41:00 +01:00
Abdessamad Derraz cd92fe5b4d feat: let validation carry campaign evidence
The emulator schema allows evidence under validation, and a test holds the settled fields of the rule table to the schema's evidence keys.
2026-10-27 21:27:16 +01:00
Abdessamad Derraz e370970363 feat: write a finding again on new evidence
A finding line is written again when the records behind it change, so an open finding cites the oracle runs rather than a frame comparison. A contradicted validation shows the checks the runs prove, content and size, beside the profile's list.
2026-10-27 21:16:54 +01:00
Abdessamad Derraz 0e2e014a96 chore: merge the long list tables 2026-10-27 21:15:17 +01:00