-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
We are about to implement in #1023 a great new feature: the ability to allow a limited number of failed choices in a model component, which will warn and log errors, and remove failed households from further processing, but not stop a model run. There is some debate over whether the default setting for this feature should be True or False. How we implement this has been solved by @ActivitySim/engineering but whether the default setting should be True or False needs guidance from @ActivitySim/product
if True:
- This great new feature will be active by default.
- Users who previously built models that rely on overflow protection will have results from those models now change. The most likely scenario here is that overflow protection is masking places where the utility function is trying to make all alternatives unavailable by applying large negative values. Currently the system is forcing a choice on those cases, typically an alternative with the smallest large negative penalty. This will now manifest as a failed choice.
- Some models will drop households. This could really confuse folks and cause outputs to not make sense. Imagine, for example, a planning practitioner is trying to run a parking cost scenario -- they update the parking costs but miss a zone, that zone propagates NAs, and all of a sudden, they have 10% less households in the output file than the input file. Run says it succeeded and they think all is groovy. But their revenue forecast is now off by 10% and they don't even know!
if False:
- ActivitySim will give the same results as previously unless the user takes the initiative to turn on the new feature.
- Since users will need to take action to enable this feature, they perhaps will be more informed about the consequences.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels