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
Yes, but no! Is true that during setup the oc-member agents don't get their OC multiplier. The setup-oc-groups procedure assumes that the criminal-tendency has already been calculated, so we can't just move the procedure.
I checked the criminal tendency through this code to see the variation through ticks.
show word "tick: " ticks
show (word "oc-member? = true: " "mean=" mean [criminal-tendency] of persons with [oc-member? = true]
"min=" min [criminal-tendency] of persons with [oc-member? = true]
"max=" max [criminal-tendency] of persons with [oc-member? = true])
show (word "oc-member? = false: " "mean=" mean [criminal-tendency] of persons with [oc-member? = false]
"min=" min [criminal-tendency] of persons with [oc-member? = false]
"max=" max [criminal-tendency] of persons with [oc-member? = false])
show "-----------------------------------"
At tick 12 I expected a leap in the criminal tendency, and indeed there is a variation but it seems too low and also, the two averages, should be more or less equal (even if the oc-members are definitely lower than the non oc-members) and they are not.
The calculate-criminal-tendency procedure activates if tick modulo tick-per-year is equal to 0.
If we assume that tick = 0 and tick-per-year = 12, 0 - (12 * int(0/12))] = 0. This means that all procedures that are activated every tick-per-year are also activated at tick=0 . Therefore the criminal-tendency is correctly calculated at the beginning of the simulation.
In the setup we have:
PROTON-OC/PROTON-OC.nlogo
Lines 224 to 226 in 5e7e34a
But this means that the OC members don't get the OC multiplier, and that won't be corrected until the end of the first year.
I'm asking @Kubasinska to check the numbers and, if this is the case, to repair the bug.
The text was updated successfully, but these errors were encountered: