anchor.diff:  -module(ocs_rating).
   -copyright('Copyright (c) 2016 - 2017 SigScale Global Inc.').
   
  --export([rating/4]).
  +-export([rating/5]).
  +-export([remove_session/2]).
   
   -include("ocs.hrl").
   
  
positive.code: sort_buckets(_, _)->
  	false.
  
  
negative.code: 								#price{} = Price ->
  									{Charged, NewBuckets} = rating2(Price,
  											Validity, UsageSecs, UsageOctets, Final, Buckets),
  									NewSessionList = remove_session(SessionList, Attributes),
  									Entry = Subscriber#subscriber{buckets = NewBuckets,
  											session_attributes = NewSessionList},
  									mnesia:write(Entry);
  								false ->
  									throw(price_not_found)
  