## Question
When should the bot fire vs. hold fire? How do own energy, enemy energy, and gun confidence interact to gate firing and scale power?
Parent map: https://git.fossellini.top/SirStone/SirRoboGarage/issues/74
Confidence-based firing using Virtual Guns hit rate, modulated by own/enemy energy.
Firing gate:
base_threshold = 0.15
if my_energy < 30: base_threshold += 0.10
if enemy_energy < 30: base_threshold -= 0.10
if active_gun_hit_rate < base_threshold: don't fire
Power scaling with confidence:
power = formula_power × clamp(hit_rate / 0.3, 0.3, 1.0)
High confidence → full formula power
Low confidence → reduced power (conserve energy)
Low own energy → pickier about firing
Low enemy energy → more aggressive (finish them)
Cold start (first encounter, no weights) → silent until first champion, then fires at conservative power until window fills
All threshold values are calibration knobs, tuned by testing
No persisted accuracy — confidence is always earned live each match.
## Resolution
**Confidence-based firing using Virtual Guns hit rate, modulated by own/enemy energy.**
Firing gate:
```
base_threshold = 0.15
if my_energy < 30: base_threshold += 0.10
if enemy_energy < 30: base_threshold -= 0.10
if active_gun_hit_rate < base_threshold: don't fire
```
Power scaling with confidence:
```
power = formula_power × clamp(hit_rate / 0.3, 0.3, 1.0)
```
- High confidence → full formula power
- Low confidence → reduced power (conserve energy)
- Low own energy → pickier about firing
- Low enemy energy → more aggressive (finish them)
- Cold start (first encounter, no weights) → silent until first champion, then fires at conservative power until window fills
- All threshold values are calibration knobs, tuned by testing
No persisted accuracy — confidence is always earned live each match.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Question
When should the bot fire vs. hold fire? How do own energy, enemy energy, and gun confidence interact to gate firing and scale power?
Parent map: #74
Resolution
Confidence-based firing using Virtual Guns hit rate, modulated by own/enemy energy.
Firing gate:
Power scaling with confidence:
No persisted accuracy — confidence is always earned live each match.