Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BayDAG Contribution #11: School Escorting Estimation Updates #777

Merged

Conversation

dhensle
Copy link
Contributor

@dhensle dhensle commented Dec 18, 2023

Most changes in this PR are needed to avoid crash if estimation run actually had no school escorting in the input data. Empty school escorting tables are not handled appropriately in the current implementation. This would arise when running estimation mode with a small enough sample that school escorting was not included in the estimation data.

Additional fixes in this PR fix a case where the "gender weight" optional setting used to rank chauffeurs was incorrectly using the person weight setting instead. It also appropriately names the alternative column for estimation mode (see #771).

Required for SANDAG ABM3 production? -- No

@dhensle dhensle self-assigned this Jan 30, 2024
Most changes are needed to avoid crash if estimation run actually had no school escorting in the input data
@dhensle dhensle force-pushed the BayDAG_cont11_school_escorting_estimation branch from df0ea65 to 5c1524f Compare March 8, 2024 21:48
Copy link
Contributor

@i-am-sijia i-am-sijia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall the code changes look fine, I have a few comments for you to take a look.

activitysim/abm/models/school_escorting.py Outdated Show resolved Hide resolved
activitysim/abm/models/school_escorting.py Show resolved Hide resolved
activitysim/abm/models/school_escorting.py Show resolved Hide resolved
@jpn-- jpn-- merged commit 739c2e4 into ActivitySim:main Apr 4, 2024
18 checks passed
@dhensle dhensle deleted the BayDAG_cont11_school_escorting_estimation branch April 23, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants