As it is right now, the mining bot warps to the top belt every time, until it’s clean of asteroids. Even when the belt is emptied, the bot will warp to it after undocking, see it is empty and then warp to another.

When running from rats (when runAwayShieldHitpointsThresholdPercent is reached), the bot docks to a station and warps to the top belt again, creating a loop until said rats change belts…

With the introduction of triglavians in belts this is a common occurrence, so maybe the bot should save the belt triglavians are in, and not warp in after undocking. Or even better, instead of docking to station when running away, simply change belts and remember not to warp to the “dangerous” belt for the next X minutes.

Screenshots are better than video. A video needs to be converted to screenshots, so screenshots are closer to the goal.

In some cases, screenshots contain not all the necessary information to predict what the bot sees because the framework for EVE Online reads from the memory of the game client. In such cases, we switch to getting complete information. But I would start with screenshots, that might suffice.