anchor.diff:  
   -import(menelaus_web, [all_accessible_buckets/2]).
   
  -%% External API
  -
   default_find(K, Default, Dict) ->
       case dict:find(K, Dict) of
           error -> Default;
  
positive.code: 
  default_find(K, Dict) ->
      default_find(K, [], Dict).
  
  basic_stats(PoolId, BucketId) ->
      Pool = menelaus_web:find_pool_by_id(PoolId),
  
negative.code:     Samples = get_stats_raw(PoolId, BucketId, SamplesNum),
      OpsPerSec = avg(deltas(sum_stats_ops(Samples))),
      EvictionsPerSec = avg(deltas(default_find("evictions", Samples))),
      CurBytes = erlang:max(avg(default_find("bytes", Samples)), 0),
      MaxBytes = erlang:max(avg(default_find("limit_maxbytes", Samples)),
                            1),
      [{cacheSize, NumNodes * MbPerNode},
       {opsPerSec, OpsPerSec},
       {evictionsPerSec, EvictionsPerSec},
  