jaberg/hyperopt — Issue #77: qlen computation in base.Trials.run 
Author: yamins81
Created: 2012-02-17 00:48:41+00:00
State: open

I THINK that the follow statement should be true:

1) If you initialize an experiment to have async = False

2) if you're in a totally serial execution environment

3) If max_queue_len = 1

THEN: during an experiment run, there should be no circumstance in which suggest is called twice before serial_execute is called once.

However, currently this is not the case, because even if a job has just been suggested in the inner while loop of the run method, the line
qlen = get_queue_len()
can still return 0, before the serial_execute to run the job has been called.

I think this is a bug.