This consumer scores available offers according to the following formular:
score = price_factor * price + quality_factor * quality
The consumer buys the best offer (lowest score) if its score is below or equal to the willingness to buy.
The factors are random for each consumer/visit and are:
price_factor = Uniform(1.0, 1.0) // price factor is currently always 1.0
quality_factor = Uniform(0.0, 3.0)
willingness_to_buy = Uniform(20.0, 80.0)
This behavior is not active in the default configuration (only prefer_cheap is active).
I wanted to write some tests for this behavior but couldn't run the consumer tests. Some command recommendations from the internet did not work and the readme does not help either.
This consumer scores available offers according to the following formular:
score = price_factor * price + quality_factor * quality
The consumer buys the best offer (lowest score) if its score is below or equal to the willingness to buy.The factors are random for each consumer/visit and are:
This behavior is not active in the default configuration (only prefer_cheap is active).
I wanted to write some tests for this behavior but couldn't run the consumer tests. Some command recommendations from the internet did not work and the readme does not help either.