Everything is typed here, on this page — nothing is read from the game and nothing you
do here touches your account. You describe a fight, press Search, and get the list of formations
the engine would pick from.
It runs the same search the bot uses: js/ruins-optimizer.js and
js/simulator-worker.js, the exact files loaded on the game page. There is no second
copy of the engine, so whatever this page prints is what the bot would send into the fight.
Type the same fight into bitefight-bots.com and the two lists should match row for row.
Where the numbers come from: open a layer in the game
(/ancestral/show/<layer>), look at the enemies it lists and copy their counts into
the boxes below. Then tick the tiers you own and press Search.
The bot picks the first row. Everything below it is what it passed over, in the same
order the site shows them.