You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some methods use sets to ensure the uniqueness of items and rely on the order of items of the set. Python's set order is not deterministic across python interpreters, which makes it hard to control, especially during tests as there is no seed for set that can be controlled.
Using dict.fromkeys instead of set achieves the same uniqueness but guaranteeing deterministic ordering of items.
The following methods are affected:
PairwisePreference._current_candidates
Optimized._sample_rankings
Optimized._sample
The text was updated successfully, but these errors were encountered:
Some methods use sets to ensure the uniqueness of items and rely on the order of items of the set. Python's
set
order is not deterministic across python interpreters, which makes it hard to control, especially during tests as there is no seed forset
that can be controlled.Using
dict.fromkeys
instead ofset
achieves the same uniqueness but guaranteeing deterministic ordering of items.The following methods are affected:
The text was updated successfully, but these errors were encountered: