anchor.diff:  %  ...]
   
   get_stats_raw(_PoolId, BucketId, SamplesNum) ->
  -    dict:to_list(stats_aggregator:get_stats(BucketId, SamplesNum)).
  +    stats_aggregator:get_stats(BucketId, SamplesNum).
   
   sum_stats_ops(Stats) ->
       sum_stats(["cmd_get", "cmd_set",
  
positive.code:                "cmd_flush"],
                Stats).
  
  sum_stats([Key | Rest], Stats) ->
      sum_stats(Rest, Stats, proplists:get_value(Key, Stats)).
  
  sum_stats([Key | Rest], Stats, undefined) ->
      sum_stats(Rest, Stats, proplists:get_value(Key, Stats));
  sum_stats([], _Stats, undefined)    -> [];
  sum_stats([], _Stats, Acc)          -> Acc;
  sum_stats([Key | Rest], Stats, Acc) ->
      case proplists:get_value(Key, Stats) of
          undefined ->
              sum_stats(Rest, Stats, Acc);
          KeyStats ->
              Acc2 = lists:zipwith(fun(undefined, undefined) -> Acc;
                                      (undefined, _)         -> Acc;
                                      (_,         undefined) -> Acc;
                                      (X, Y) -> X + Y end, KeyStats, Acc),
              sum_stats(Rest, Stats, Acc2)
      end.
  
  avg(undefined) -> 0.0;
  avg(L)         -> avg(L, 0, 0).
  
negative.code: 
  %% External API
  
  default_find(K, Default, Dict) ->
      case dict:find(K, Dict) of
          error -> Default;
          {ok, Value} -> Value
      end.
  
  default_find(K, Dict) ->
      default_find(K, [], Dict).
  
  basic_stats(PoolId, BucketId) ->
      Pool = menelaus_web:find_pool_by_id(PoolId),
      Bucket = menelaus_web:find_bucket_by_id(Pool, BucketId),
  