anchor.diff:      case dict:find(JobName, Events) of
           error ->
               invalid_job;
  -        {ok, #job_ent{job_coord = Pid, job_results = Res}} when Res =/= [] ->
  +        {ok, #job_ent{job_coord = Pid, job_results = Res}} when Res =/= none ->
               {ready, Pid, Res};
           {ok, #job_ent{job_coord = Pid} = JE} ->
               {job_status(JE), Pid}
  
positive.code: 
  -record(job_ent, {job_coord :: pid(),
                    start     :: erlang:timestamp(),
                    job_data  = none :: none | jobinfo(),
                    task_ready       :: dict(), % stage_name() -> count
                    task_failed      :: dict(), % stage_name() -> count
                    stage_results    :: dict(), % stage_name() -> results
                    job_results = [] :: [[url()]]}).
  -type job_ent() :: #job_ent{}.
  
  -spec new_job_ent(pid(), [stage_name()]) -> job_ent().
  
negative.code:             invalid_job;
          {ok, #job_ent{start = Start, job_data = JobNfo, job_results = Results,
                        task_ready = Ready, task_failed = Failed} = JE} ->
              {ok, {Start, job_status(JE), JobNfo,
                    case Results of none -> []; _ -> Results end,
                    Ready, Failed}}
      end.
  
  -spec do_add_job_event(host(), jobname(), binary(), event(), state()) -> state().
  