pg.tuning.RaceConditionError

Accessible via pg.tuning.RaceConditionError.

class RaceConditionError[source]

Bases: RuntimeError

Race condition error.

This error will be raisen when the operations made to Feedback indicates a race condition. There are possible scenarios that may lead to such race conditions, which happen among multiple co-workers (taking X and Y for example) on the same trial:

  • X calls feedback.done/feedback.skip, then B calls

feedback.add_measurement.