class_docstr: Object returned by the HB_master.run function
  
  This class offers a simple API to access the information from
  a Hyperband run.
class_docstr_tok: ["Object","returned","by","the","HB_master.run","function","This","class","offers","a","simple","API","to","access","the","information","from","a","Hyperband","run","."]
docstr: returns a list of runs for a given config id
  
  The runs are sorted by ascending budget, so '-1' will give
  the longest run for this config.
docstr_tok: ["returns","a","list","of","runs","for","a","given","config","id","The","runs","are","sorted","by","ascending","budget",",","so","'-1","'","will","give","the","longest","run","for","this","config","."]
code: def get_runs_by_id(self, config_id):
      """
      returns a list of runs for a given config id
  
      The runs are sorted by ascending budget, so '-1' will give
      the longest run for this config.
      """
      d = self.data[config_id]
  
      runs = []
      for b in d.results.keys():
          try:
              err_logs = d.exceptions.get(b, None)
  
              if d.results[b] is None:
                  r = Run(
                      config_id,
                      b,
                      None,
                      None,
                      d.time_stamps[b],
                      err_logs,
                  )
              else:
                  r = Run(
                      config_id,
                      b,
                      d.results[b]["loss"],
                      d.results[b]["info"],
                      d.time_stamps[b],
                      err_logs,
                  )
              runs.append(r)
          except:
              raise
      runs.sort(key=lambda r: r.budget)
      return runs
  
imports: import copy
  import os
  import json
  from hpbandster.core.base_iteration import Datum
label_desc: Use image node_id 5 for calling the Result obj's underlying member method code with example usage: obj.get_runs_by_id(config_id) and returns: runs