From reporter.rb:

``` ruby
      def notify_job_finished(job_id, result)
        notify('job:test:finish', id: job_id, state: normalized_state(result), finished_at: Time.now.utc)
      end

      def normalized_state(result)
        case result
        when 0; 'passed'
        when 1; 'failed'
        when 2; 'errored'
        else    'errored'
        end
      end
```