Align stay-home baseline utility with min_activity_time_constant#265
Merged
Align stay-home baseline utility with min_activity_time_constant#265
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #265 +/- ##
=======================================
Coverage 70.42% 70.42%
=======================================
Files 56 56
Lines 2424 2424
=======================================
Hits 1707 1707
Misses 717 717 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
FlxPo
added a commit
that referenced
this pull request
Feb 27, 2026
…uted iteration (#261) * fix congestion propagation when using multiple runs * add checkpoints to population trips runs * cleanup * win 1252 to utf8 to avoid doc build issue * Avoid leakage of flows data between subsequent runs (#260) * fix congestion propagation when using multiple runs * win 1252 to utf8 to avoid doc build issue * Update README.md (#252) * Align stay-home baseline utility with min_activity_time_constant (#265) * Use saturation-weighted effective sink in destination sampling (#267) * Leisures (#262) * update the parsing of the leasure motive oppotunities * update the parsing of the leasure motive oppotunities * fix wrong leisure zones * update the branch to the main * fix PR issues on leisures * Align prepare_transport_zones with main * Fix types mismatch * reenable float64 cast --------- Co-authored-by: lucas_bohnenkamp0 <lucas.bohnenkamp@arep.fr> Co-authored-by: FlxPo <flx.pouchain@gmail.com> * replace clara clustering by kmeans + knn clustering (#271) * add state-transition waterfall diagnostic (#269) * add checkpoints to population trips runs * cleanup * [US] Établir un rapport de tous les paramètres d'entrée #198 (#240) * Parameter reporting via pydantic * avoid pydantic deprecation notice * fix tests * add parameters report to quickstart * allow mixing kwargs and pydantic parameters + update PopulationTrips to use the new parameters handling method * Population with pydantic model in inputs * update motives to use the new parameters handling method * update mobility surveys to use the new parameters handling method * update modes to use the new parameters handling method * move pydantic models alongside the class they are used in to remove the number of files --------- Co-authored-by: FlxPo <flx.pouchain@gmail.com> * add checkpoints to population trips runs * cleanup * fix congestion propagation when using multiple runs * add checkpoints to population trips runs --------- Co-authored-by: Cap <capucine-marin.dubroca-voisin@arep.fr> Co-authored-by: lucas-boh <83457283+lucas-boh@users.noreply.github.com> Co-authored-by: lucas_bohnenkamp0 <lucas.bohnenkamp@arep.fr> Co-authored-by: mariegrandclement <marie.grand-clement@arep.fr>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
See #264
Changes
StateInitializer.get_stay_home_stateto accept min_activity_time_constant.parameters.min_activity_time_constantwhen building the stay-home baseline state.