News for hackers. Stuff that matters.
Re:Building an Economy Simulator from Scratch by teo_zero on Saturday September 16, 2023 @03:15AM (#37532680)
Am I the only one to find the simulation deviate from the description starting from Simulation 8?

For example, I see a farmer with 7 food, 7 water and 7 wood, buying water. According to the description, their QoL would be 7 both before and after the transaction, so they are not supposed to buy because there wouldn't be an increase of their QoL:

> People are potential buyers of the resources that increase their quality of life

Additionally the average QoL indicator seems wrong. This is what I see at step 72:

  Farmer 1: 50$ 6 6 5 => QoL 5
  Farmer 2: 90$ 4 4 5 => 4
  Farmer 3: 10$ 7 7 7 => 7
  Avg QoL 3.0
How can 3.0 be the average?
Re:Building an Economy Simulator from Scratch by Ruddle on Saturday September 16, 2023 @07:56AM (#37534029)
Author here, In case all resources are equally owned, the QoL is bound to all of them (as opposed to none). It does take multiple purchases to increase the QoL, but it is the only way. Otherwise people would starve due to aboulomania.

The average QoL is sampled each end of day, step 73-75 depending on the random seed. At step 72 you are seeing the zeroth day average QoL ,with nearly all the intraday mutations of the first day.

Re:Building an Economy Simulator from Scratch by teo_zero on Saturday September 16, 2023 @04:03PM (#37538164)
Thanks for the explanation. It makes perfectly sense.