anchor.diff:  %% Claim nodes in seq a,b,c,a,b,c trying to handle the wraparound
   %% case to meet target N
   claim_diagonal(Wants, Owners, Params) ->
  -    TN = proplists:get_value(target_n_val, Params, 4),
  +    TN = proplists:get_value(target_n_val, Params, ?DEF_TARGET_N),
       Claiming = lists:sort([N || {N,W} <- Wants, W > 0]),
       S = length(Claiming),
       Q = length(Owners),
  
positive.code: default_choose_params(Params) ->
      case proplists:get_value(target_n_val, Params) of
          undefined ->
              TN = app_helper:get_env(riak_core, target_n_val, 4),
              [{target_n_val, TN} | Params];
          _->
              Params
  
negative.code: %% Lower diversity score is better, 0 if nodes are perfectly diverse.
  %%
  claim_v3(Wants, Owners, Params) ->
      TN = proplists:get_value(target_n_val, Params, ?DEF_TARGET_N),
      Q = length(Owners),
      Claiming = [N || {N,W} <- Wants, W > 0],
      Trials = proplists:get_value(trials, Params, 100),
  