From b036c0c90d578b8a0f26a2c493d352e26680b53b Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sun, 11 Oct 2026 20:32:11 +0200 Subject: [PATCH] Document the mob AI harness --trace option Co-Authored-By: Claude Opus 5.5 --- tools/test_mob_ai_parity.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/test_mob_ai_parity.py b/tools/test_mob_ai_parity.py index eb1e0a470..5730d8b3d 100644 --- a/tools/test_mob_ai_parity.py +++ b/tools/test_mob_ai_parity.py @@ -9,7 +9,10 @@ motion, rotations, running goals and target goals, attack target, navigation pat controls, movement input, brain activities and memories) and the sounds played; this harness reports, per scenario and mob, how many ticks match before the first divergence and what differs. - python3 tools/test_mob_ai_parity.py [--only NAME ...] [--rust-only] [--java-only] [--report-only] + python3 tools/test_mob_ai_parity.py [--only NAME ...] [--rust-only] [--java-only] [--report-only] [--trace] + +The oracle traces every mob random draw with its call stack; --trace builds the probe with +the rng-trace feature and line tables so the report shows Horizon's draws next to vanilla's. """ import argparse import os