[source,csharp]
----
public string GetReadableStatus(Job j) 
{
  if (j.IsRunning) 
  {
    return "Running";
  }
  return j.HasErrors ? "Failed" : "Succeeded";
}
----
