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
I sometimes get assertion errors when I run SiloMucTest, e.g.:
junitx.framework.ComparisonFailure: dwellingsaredifferent. Line [3] expected:<...,834,...> butwas:<...,831,...> ['1']
I seems like, at least on my local machine, that SILO is not quite deterministic: if run multiple times, the same test potentially produces different results. At first I thought this had to do with multi-threading. However, even when I added the option number.of.threads = 1 to ./test/muc/siloMucTest.properties, the test still failed occasionally.
The text was updated successfully, but these errors were encountered:
The difference in the output data shows, that dwelling prices differ. Prices are updated in de.tum.bgu.msm.models.realEstate.pricing.PricingModelImpl#updateRealEstatePrices. The prices rely on the vacancy rate of the respective region. Whether a dwelling is vacant or not is determined by de.tum.bgu.msm.models.relocation.moves.MovesModelImpl#searchForNewDwelling in the move model.
If we set the probability to a constant (e.g. 0.1), tests didn't fail. So something at the calculation of housing utility seems to be non deterministic.
I sometimes get assertion errors when I run SiloMucTest, e.g.:
I seems like, at least on my local machine, that SILO is not quite deterministic: if run multiple times, the same test potentially produces different results. At first I thought this had to do with multi-threading. However, even when I added the option
number.of.threads = 1
to ./test/muc/siloMucTest.properties, the test still failed occasionally.The text was updated successfully, but these errors were encountered: