getActivityPattern = (age, outdoorWorker, numberOfHours) => {
const outdoor = [ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
const othersBeforeBlackout = getRandomHoursOutside(numberOfHours)
const othersAfterBlackout = getRandomHoursOutside(1)
return {
before : outdoorWorker ? outdoor : othersBeforeBlackout,
after : outdoorWorker ? (Math.random() <= 0.25 ? outdoor : othersAfterBlackout) : othersAfterBlackout
}
}