attack_report

command
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command attack_report answers the two questions a finished attack actually raises, from the run's own log:

did every unit deploy, and were the spells placed somewhere useful?

The other two harnesses answer neighbouring questions. `attack_verify` shows the *plan* before a battle is spent, and `see` shows what the bot *perceives* in a frame. Neither looks at what the run did, which is how a session that logged "all units successfully deployed" also logged, 20 lines earlier, two heroes failing and two troop cards being written off on a broken OCR reading.

Usage:

attack_report -log tmp/run.log
attack_report -log tmp/run.log -json
attack_report -log tmp/run.log -spell-radius 90

Exit code is 1 when the run has a problem worth looking at, so it can gate a script; 0 when nothing in the log contradicts a success.

This is a log reader, not a game observer. A unit it calls UNVERIFIED is one whose completion the bot could not establish either — which is precisely the category that used to reach a human as "it didn't use all the troops".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL