anchor.diff:  -spec choose_nodes_for_dns(DSNAdvice :: #dns_lb_advice{}) ->
       {[{A :: byte(), B :: byte(), C :: byte(), D :: byte()}], #dns_lb_advice{}}.
   choose_nodes_for_dns(DNSAdvice) ->
  -    #dns_lb_advice{request_count = ReqCount, nodes_and_frequency = NodesAndFreq,
  +    #dns_lb_advice{nodes_and_frequency = NodesAndFreq,
           node_choices = NodeChoices} = DNSAdvice,
  -    Index = choose_index(NodesAndFreq, ReqCount),
  +    Index = choose_index(NodesAndFreq),
       Nodes = lists:sublist(NodeChoices, Index, length(NodesAndFreq)),
  -    [FirstNode | _] = Nodes,
  -    NewNodesAndFreq = lists:map(
  -        fun({Node, Freq, ReqCount}) ->
  -            case Node of
  -                FirstNode -> {Node, Freq, ReqCount + 1};
  -                _ -> {Node, Freq, ReqCount}
  -            end
  -        end, NodesAndFreq),
  -    {Nodes, DNSAdvice#dns_lb_advice{nodes_and_frequency = NewNodesAndFreq, request_count = ReqCount + 1}}.
  +    Nodes.
   
   
   %%--------------------------------------------------------------------
  
positive.code: % to DNS modules, and later they evaluate choose_nodes_for_dns/1 function on this
  % record. The record structure shall not be visible outside this module.
  -record(dns_lb_advice, {
      % How many requests have been processed using this advice.
      request_count = 0,
      % List of 3-element tuples {Node, Frequency, RequestCount}.
      % Node is a IP address.
      % Frequency (relative to other nodes) is how often
      %   should given node appear at the top of DNS response.
      % RequestCount is how many times DID given node appear at the top of DNS
      %   response during using this advice.
      nodes_and_frequency = [] :: [{Node :: term(), Frequency :: float(), RequestCount :: integer()}],
      % List of nodes to choose from. It introduces redundancy to above,
      % but consider that it will be used multiple times and each of these
      % times it would have to be calculated.
  
negative.code:         false ->
              node();
          true ->
              Index = choose_index(NodesAndFreq),
              {Node, _} = lists:nth(Index, NodesAndFreq),
              Node
      end.
  
  
  