gestion_table_tournante_libre/scripts
Mathieu Benoit 8bdc959183 [ADD] mutation: run one mutant through node --test with a loader hook
A mutant counts only when the tests that import its module actually run
against the mutated source. A loader hook (module.registerHooks) serves the
mutated text in place of the module; the import graph picks the tests that
reach it, and node --test runs them in a child with a deadline. The verdict
is killed, survived, timed out or error; an empty request, a missing test
or a non-positive deadline is refused before anything starts.
Checked: red first; 3418 node and 76 long tests green from the index,
including a real run on a small invented module.

--- FR ---

[ADD] mutation : jouer un mutant sous node --test, crochet de chargement

Un mutant ne compte que si les épreuves qui importent son module jouent
vraiment contre le source muté. Un crochet de chargement
(module.registerHooks) sert le texte muté à la place du module ; le graphe
des imports choisit les épreuves qui l'atteignent, et node --test les joue
dans un enfant sous délai. Le verdict est tué, survivant, délai ou erreur ;
une demande vide, une épreuve absente ou un délai non positif sont refusés
avant tout lancement.
Vérifié : rouge d'abord ; 3418 node et 76 longues vertes depuis l'index,
dont un vrai lancement sur un petit module inventé.

Assisted-by: Claude Opus 5.5
2026-10-09 13:04:14 -04:00
..
banc [ADD] bench: headless Chromium harness, statistics and make banc entry 2026-10-09 13:03:37 -04:00
documentation [ADD] docs: screenshot manifest with order, path and image checks 2026-10-09 04:52:07 -04:00
installation [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
mutation [ADD] mutation: run one mutant through node --test with a loader hook 2026-10-09 13:04:14 -04:00
oracle [ADD] prng: PCG32 checked against the reference C implementation 2026-10-05 17:27:06 -04:00
windows [ADD] scripts: Windows install and run through PowerShell 5.1 2026-10-06 05:51:31 -04:00
construire_windows.sh [ADD] electron: own shell, portable Windows exe built under podman 2026-10-05 13:13:32 -04:00
construire_windows.test.js [ADD] install: Node 26 and system packages, per family and under Nix 2026-10-06 05:52:05 -04:00
engendrer_livrables.js [ADD] interface: cross-screen rendering checks, frame marks, badge plate 2026-10-07 15:06:27 -04:00
engendrer_livrables.test.js [ADD] interface: cross-screen rendering checks, frame marks, badge plate 2026-10-07 15:06:27 -04:00
essai_demarrage.js [IMP] interface: Noto Sans everywhere, faces loaded before mounting 2026-10-09 13:01:49 -04:00
essai_demarrage.test.js [IMP] interface: Noto Sans everywhere, faces loaded before mounting 2026-10-09 13:01:49 -04:00
verifier_systemes.sh [FIX] web storage: refuse a name Chromium did not convert, UTF-8 launch 2026-10-07 02:35:12 -04:00
version.js [ADD] interface: application shell — banner, sections, theme, about 2026-10-07 07:22:05 -04:00
version.test.js [ADD] tests: guards for layers, clock, sources, colours, watch patterns 2026-10-07 13:21:21 -04:00