Inference is not deterministic
The usage of HashMap.values()
is not deterministic : from one run to another one, the JVM might return elements in a different order (even if this seems to occurs very rarely).
All calls to this method (and possibly other non-deterministic method) should be fixed (e.g. by sorting elements) in order to have reproducible experiments.
Edited by Nicolas Bremond