anchor.diff:           terminate/2,
            code_change/3]).
   
  --record(state, {trace=[], identifier=undefined}).
  +-record(state, {trace=[], identifier=undefined, file=undefined}).
   
   %%%===================================================================
   %%% API
  
positive.code: -spec init([]) -> {ok, #state{}}.
  init([]) ->
      lager:info("Test orchestrator started on node: ~p", [node()]),
      {ok, #state{trace=[]}}.
  
  %% @private
  -spec handle_call(term(), {pid(), term()}, #state{}) ->
  
negative.code: handle_call({identify, Identifier}, _From, State) ->
      lager:info("~p: identifying trace: ~p", [?MODULE, Identifier]),
      {reply, ok, State#state{identifier=Identifier}};
  handle_call(print, _From, #state{trace=Trace, file=File}=State) ->
      lager:info("~p: printing trace", [?MODULE]),
  
      lists:foldl(fun({Type, Message}, Count) ->
  