anchor.diff:           terminate/2,
            code_change/3]).
   
  --record(state, {trace=[], identifier=undefined}).
  +-record(state, {trace=[], identifier=undefined, file=undefined}).
   
   %%%===================================================================
   %%% API
  
positive.code:         Count + 1
      end, 1, Trace),
  
      {reply, ok, State};
  handle_call(Msg, _From, State) ->
      lager:warning("Unhandled call messages at module ~p: ~p", [?MODULE, Msg]),
  
negative.code: -spec init([]) -> {ok, #state{}}.
  init([]) ->
      lager:info("Test orchestrator started on node: ~p", [node()]),
  
      %% Open trace file for writing.
      case file:open("/tmp/partisan.trace", [write]) of
          {ok, File} ->
              {ok, #state{trace=[], file=File}};
          {error, Error} ->
              lager:error("couldn't open trace file for writing."),
              {stop, Error}
      end.
  
  %% @private
  -spec handle_call(term(), {pid(), term()}, #state{}) ->
  