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

Config Settings and Documentation #758

Merged
merged 459 commits into from
Feb 1, 2024

Conversation

jpn--
Copy link
Member

@jpn-- jpn-- commented Nov 2, 2023

This PR migrates configuration settings from the existing free-form YAML format to Pydantic format, as per #646

Settings migration progress:

  • Initialize LOS
  • Initialize Tours
  • Accessibility
  • Disaggregate Accessibility
  • Work from Home
  • School Location
  • Work Location
  • Shadow Pricing
  • Transit Pass Subsidy
  • Transit Pass Ownership
  • Auto Ownership
  • Vehicle Type Choice
  • Telecommute Frequency
  • Free Parking Eligibility
  • Coordinated Daily Activity Pattern
  • Mandatory Tour Frequency
  • Mandatory Tour Scheduling
  • School Escorting
  • Joint Tour Composition
  • Joint Tour Participation
  • Joint Tour Destination
  • Joint Tour Scheduling
  • Joint Tour Frequency Composition
  • Non-Mandatory Tour Frequency
  • Non-Mandatory Tour Destination Choice
  • Non-Mandatory Tour Scheduling
  • Vehicle Allocation
  • Tour Mode Choice
  • At-work Subtours Frequency
  • At-work Subtour Destination
  • At-work Subtour Mode Choice
  • At-work Subtour Scheduling
  • Intermediate Stop Frequency
  • Trip Purpose
  • Trip Destination Choice
  • Trip Purpose and Destination
  • Trip Scheduling (Probabilistic)
  • Trip Scheduling Choice (Logit Choice)
  • Trip Departure Choice (Logit Choice)
  • Trip Mode Choice
  • Parking Location Choice
  • Write Trip Matrices
  • summarize
  • tour_od_choice
  • Tour Scheduling Probalistic

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.

Some of my initial comments. Still need to go through the implementation changes

activitysim/core/configuration/base.py Show resolved Hide resolved
activitysim/core/configuration/filesystem.py Outdated Show resolved Hide resolved
activitysim/abm/models/location_choice.py Show resolved Hide resolved
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.

Is there an issue that this PR can be linked to? Perhaps this one #646? The technical changes make sense to me, but I think it could be more beneficial to users if there is a bit documentation on the background.

activitysim/core/configuration/base.py Show resolved Hide resolved
@jpn-- jpn-- added the Usability Changes that improve usability label Jan 29, 2024
@dhensle dhensle added the Phase 8 Feature planned for inclusion in Phase 8 release label Jan 30, 2024
# Conflicts:
#	activitysim/abm/models/util/tour_frequency.py
#	activitysim/examples/production_semcog/configs/logging.yaml
#	conda-environments/activitysim-dev-base.yml
#	conda-environments/activitysim-dev.yml
#	conda-environments/docbuild.yml
#	docs/models.rst
@jpn-- jpn-- merged commit 25e4f6c into ActivitySim:develop Feb 1, 2024
18 checks passed
@jpn-- jpn-- mentioned this pull request Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Phase 8 Feature planned for inclusion in Phase 8 release Usability Changes that improve usability
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants