Incorrect mod damage values being generated with mirage archer
Starting with this PoB https://pastebin.com/8ae3Sk1T Removing Mirage Archer appears to fix the issue.
Build is showing negative/incorrect values for mods that have no effect on the build. Example for adding +1 lighting spell gems to the equipped bramblejack

Attempting to create a white jewel will show negative values

Allocating the jewel socket to the left of Perfect Agony and actually equipping this item will have no effect on the overview


This bug breaks tools that use the preview value, such as pob-item-tester.
I want to confirm that literally any action which causes PoB to calculate the resulting change in damage triggers this, BUT I am also seeing a +2 Mana Cost calculation in the same way.

This is probably related to the bugged comparison with full dps.
But does full dps include a mana cost calculation? It sounds to me like the Mirage Archer support gem itself has some issues.
Minimal working example: Equip a bow, slot Toxic Rain supported by Mirage Archer, then check 'Do you use Frenzy Charges?' and watch the calculator bug out. Based on the following example, I'm pretty sure it's the comparison calculator failing to apply some buffs and debuffs to Mirage Archer:

Observe how it predicts the change in Combined DPS to be the same as DoT DPS, even though Combined DPS should be gaining about 2x as much due to Mirage DPS.