Just a small quick answer.
I originally wrote most of the code in there (hah, that explains the mess </selfsarcasm>) so maybe I should answer this one.
The Elemental author is away at the moment, I may inject a similar solution into Elemental as I did with Tree: enable the option to ignore certain kind of procs... the essential question is: what is the impact on gear evaluation. Our primary concern is that
the right gear evaluation occurs, not that our model is perfect. If excluding EM doesn't impact the gear evaluation, this would be a good solution. Since EM is a 3minute CD with a 15 seconds 15% spell haste buff, I think this is justified. An option would
be to add a "statistics" line, saying "Haste Rating until cap before EM" and "Haste Rating until cap with EM". I could also add the double stats statistics (base stats and average combat stats) that I did with Tree.
Modelling effects as an average is valid if it can be shown that the stat can be modelled as a linear relationship with DPS, e.g. twice the increase in haste will result in twice the increase in DPS.
Or: d(DPS)/d(haste) = constant
In case of capped stats, this does not hold, as obviously a double increase of haste will not double the increase in DPS, because of the cap.
Regarding your haste problem, I see it has probably something to do with T9 4set. I will take a look later. There is probably a continuity problem causing the effect (the hasteDPS relation is discontinuous at some point and evaluation stats around the discontinuity
causes strange phenomena).
