New modules: - test/auto/log_analyzer.py: parses bot logs and event JSONL files, categorizes failures (approach, maintenance, battle, chicken, timeout, crash, OCR) into structured BotFailure objects - test/auto/auto_fixer.py: maps failure patterns to targeted code fixes, checks if fixes are already applied, reports what needs work - test/auto/test_self_healing.py: orchestrator that launches the bot, monitors for failures in real-time, analyzes logs, applies fixes, and retries up to 3 rounds Supporting changes: - test/auto/test_log_analyzer.py: 8 tests against historical run data - pytest.ini: added repo root to pythonpath for test package imports - test/__init__.py: new, enables test/ as importable package All 95 existing tests pass. 8 new auto-test tests pass.
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.