The fact that there's an extra 27.5% chance of a negative event in the first month far dominates.
1 50.0% 22.5% 27.5%
2 18.1% 19.1% 26.4%
3 15.4% 16.3% 25.5%
4 13.1% 13.8% 24.8%
5 11.1% 11.7% 24.1%
6 9.4% 10.0% 23.6%
7 8.0% 8.5% 23.1%
8 6.8% 7.2% 22.7%
9 5.8% 6.1% 22.3%
10 4.9% 5.2% 22.1%
11 4.2% 4.4% 21.8%
12 3.6% 3.8% 21.6%
13 3.0% 3.2% 21.4%
14 2.6% 2.7% 21.3%
15 2.2% 2.3% 21.1%
16 1.9% 2.0% 21.0%
17 1.6% 1.7% 20.9%
18 1.3% 1.4% 20.9%
19 1.1% 1.2% 20.8%
20 1.0% 1.0% 20.7%
21 0.8% 0.9% 20.7%
22 0.7% 0.7% 20.7%
23 0.6% 0.6% 20.6%
24 0.5% 0.5% 20.6%
#!/usr/bin/env python3
def event_chance_ss_first(month):
if month == 1:
# having cultivators is useless without a wall
return 0.50
no_passive_defense = 0.25
no_cult = 0.85 ** month
return no_passive_defense * no_cult
def event_chance_sw_first(month):
no_passive_defense = 0.25
no_cult = 0.9 * 0.85 ** (month - 1)
return no_passive_defense * no_cult
def percent(num):
return str(round(num * 100, 1)) + '%'
def main():
cum_diff = 0
for mon in range(1, 25):
ss = event_chance_ss_first(mon)
sw = event_chance_sw_first(mon)
cum_diff += ss - sw
print(mon, percent(ss), percent(sw), percent(cum_diff))
if __name__ == '__main__':
main()
That's assuming that there is such a chance, which given that what we've been told is that extra security will be swinging by to cover things while we're gone in a "don't worry about it" way isn't really clear.The fact that there's an extra 27.5% chance of a negative event in the first month far dominates.
it seems that safety is greatly increasing in later months with both plans. have you made sure to account for the cap on cultivator manpower?Columns are: month number, chance of an event if SS first, chance of an event if SW first, cumulative difference in event chance.
Plugging in various numbers ... in order for that to make a difference, it must be:extra security will be swinging by to cover things while we're gone
The cap is irrelevant since we only need 1 C to boost the walls. All that part of the script does is say "what is the chance we won't get a C at all by the given month?"it seems that safety is greatly increasing in later months with both plans. have you made sure to account for the cap on cultivator manpower?