()
| 244 | return self.trials.count_by_state_unsynced(base.JOB_STATE_DONE) |
| 245 | |
| 246 | def get_n_unfinished(): |
| 247 | unfinished_states = [base.JOB_STATE_NEW, base.JOB_STATE_RUNNING] |
| 248 | return self.trials.count_by_state_unsynced(unfinished_states) |
| 249 | |
| 250 | stopped = False |
| 251 | initial_n_done = get_n_done() |
nothing calls this directly
no test coverage detected