# V2 Soak Test Bot

`V2SoakTestBot` covers `TODOS.phase-72.72.19.1.7`: it can run game for 48+
continuous hours, monitor memory usage trend, detect leaks, and track FPS
degradation.

## Runtime Surface

- `FV2SoakTestBotConfig` defines the required 48+ hour run, sampling interval,
  baseline memory/FPS values, and anomaly thresholds.
- `BuildSoakTestSamples` produces deterministic hourly samples for the long-run
  automation path.
- `RunSoakTestBot` executes a headless `V2BotHarness` soak script, evaluates the
  memory trend, detects leaks, and tracks FPS degradation.
- `FV2SoakTestBotResult` records run hours, memory trend, FPS degradation,
  anomaly issue tags, and harness execution state.
- `FormatSoakTestBotReport` emits a compact long-run anomaly summary for QA
  dashboards.

## QA Behavior

The soak bot is deterministic and long-run oriented. It does not actually sleep
for 48 hours inside automation; it models the required 48+ hour soak surface,
samples hourly memory and FPS values, and proves the bot can monitor memory
usage trend, detect leaks, track FPS degradation, and report anomalies through a
headless harness soak script.

Required capabilities: run game for 48+ continuous hours, monitor memory usage
trend, detect leaks, track FPS degradation, headless harness soak script, and
soak anomaly report.

## Validation Commands

```bash
python3 V2/ue/Tools/check-v2-soak-test-bot.py
python3 V2/ue/Tools/check-v2-puzzle-solving-bot.py
python3 V2/ue/Tools/check-v2-combat-bot.py
python3 V2/ue/Tools/check-v2-navigation-stress-test-bot.py
python3 V2/ue/Tools/check-v2-bot-coverage-mapping.py
python3 V2/ue/Tools/check-v2-random-exploration-bot.py
python3 V2/ue/Tools/check-v2-bot-harness.py
python3 V2/ue/Tools/check-v2-tests-module.py
python3 V2/ue/Tools/check-v2-ci-workflow.py
python3 -m json.tool V2/ue/Content/V2/QA/SoakTestBot_V2_Contract.json
python3 -m json.tool V2/ue/Build/Horde/v2-buildgraph-job.json
python3 V2/tools/validate-v2-docs.py
```
