Skip to content

[Bug] Bot chooses to rest again even when energy is above the rest threshold #97

@ALEXKONDS

Description

@ALEXKONDS

Version Information

  • App Version: 0.4.1
  • Commit Hash: b438842

Environment Setup

Execution Environment

Please indicate which environment you used:

  • Steam

Inference Backend

  • Python Version: 3.12.4

Trainee Configuration

(Exported from the trainee’s profile on the web platform)

📎currentest.json


Debug Logs

Attach logs from debug folder. Log looks like 'debug_202X-XY-ZW_AB-CC.log'. With your real date time

📎 debug_2025-12-15_18-08.log
(I stopped bot execution asap when I noticed the issue, so it should be near the end of the log, hopefully)


Problem Description

Describe the issue clearly:

  • What went wrong?
    Bot chooses to rest when low on energy, and in the next turn it immediately chooses to rest again, even when the total energy is higher than the rest threshold. I suspect the issue comes when there's no event between turns with fast mode active, making the bot don't have enough time to refresh the value of the energy bar (just my theory though)

  • What behavior did you expect?
    Bot resumes regular work (check for training, races, etc)

  • How often does it occur?
    Couple of times per career

  • Any visual indicators, crashes, or unexpected actions?
    Just the go to rest pop up confirmation


Steps to Reproduce

Provide all steps necessary to replicate the issue:

  1. Set up bot
  2. Run bot
  3. Verify after a rest if it decides to rest again in next turn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions