anchor.diff:                          state         -> 10;
                           _             -> -1
                       end,
  -                dict:update(Name, fun({Alarm, Epoch}) -> {erlang:setelement(FieldIndex, Alarm, NewValue), Epoch} end, Alarms)
  +                dict:update(Name,
  +                            fun({Alarm, Epoch}) ->
  +                                {erlang:setelement(FieldIndex, Alarm, NewValue), Epoch}
  +                            end,
  +                            Alarms)
           end,
       update_alarm(NewAlarms, Name, Tail);
   update_alarm(Alarms, _Name, []) ->
  
positive.code:             [{api_tx, 'req_list', Data}] -> Data
          end,
      History = get_opt_field(Alarm, history, 1),
      [Hd|Tail] = lists:map(fun({_, V}) -> get_breach_state(V, Alarm) end, lists:sublist(AvgMsD, History)),
      ?IIF(lists:all(fun(X) -> X =:= Hd end, Tail), Hd, ok);
  check_alarm(random_churn, _Alarm) ->
      case randoms:rand_uniform(1,4) of
  
negative.code: %   limitations under the License.
  
  %% @author Ufuk Celebi <celebi@zib.de>
  %% @doc Auto-scaling service. 
  %% @end
  %% @version $Id$
  -module(autoscale).
  