Skip to content

Conversation

@jpn--
Copy link
Member

@jpn-- jpn-- commented Mar 6, 2025

This pull request touches a lot of files, mostly for application of black and isort.

The substantive changes include building the documentation against pandas version 2, as some of the doc tool dependencies now require that; the documentation builder doesn't actually run ActivitySim models so this has no impact on the code itself.

@jpn-- jpn-- merged commit 4abb86f into ActivitySim:main Mar 6, 2025
17 checks passed
dhensle added a commit to RSGInc/activitysim that referenced this pull request May 15, 2025
* handle dev versions of Larch

* test stability

* pin multimethod < 2.0

* add availability_expression

* starting est docs

* Resolve package version conflicts (ActivitySim#923)

* limit multimethod version to 2.0 and earlier

* add multimethod version to other settings

* [makedocs] update installer download link

* [makedocs] update branch docs

* GitHub Actions updates (ActivitySim#926)

* use libmamba solver

* add permissions [makedocs]

* add write permission for dev docs [makedocs]

* conda-solver: classic

* trace proto tables if available, otherwise synthetic population (ActivitySim#901)

Co-authored-by: Jeffrey Newman <[email protected]>

* release instructions (ActivitySim#927)

* use libmamba solver

* add permissions [makedocs]

* add write permission for dev docs [makedocs]

* conda-solver: classic

* include workflow dispatch option for tests

* update release instructions

* add installer build to instructions

* Pin mamba for now, per conda-incubator/setup-miniconda#392

* conda-remove-defaults

* when no unavailability parameters are included

* some general estimation docs

* Use pandas 2 for docbuild environment (ActivitySim#928)

* fix link

* allow failure to import larch

* workflow

* blacken

* try some pins

* speed up docbuild

* use pandas 2 for docs

* oops wrong file

* restore foundation

* Update HOW_TO_RELEASE.md

* refactor(shadow_pricing.py): remove a duplicated `default_segment_to_name_dict` (ActivitySim#930)

* fix typo

* fixing disaggregate accessibility bug in zone sampler

* Revert "fixing disaggregate accessibility bug in zone sampler"

This reverts commit be5d093.

* notes on size terms

* clean up docbuild

* fix version check

* add some doc

* tidy

* estimation docs

* more on alternative avail

* model evaluation

* add doc on component_model

* documentation enhancements

* larch6 is now larch>6

* branch docs on workflow_dispatch

* missing doc section on model respec

---------

Co-authored-by: Yue Shuai <[email protected]>
Co-authored-by: David Hensle <[email protected]>
Co-authored-by: amarin <[email protected]>
Co-authored-by: Ali Etezady <[email protected]>
Co-authored-by: Sijia Wang <[email protected]>
jpn-- added a commit that referenced this pull request Sep 26, 2025
* multiprocess initial commit

* blacken

* parquet format for EDBs

* adding pkl, fixing edb concat and write

* fixing double naming of coefficient files

* blacken

* fixing missing cdap coefficients file, write pickle function

* combact edb writing, index duplication, parquet datatypes

* sorting dest choice bundles

* adding coalesce edbs as its own step

* CI testing initial commit

* infer.py CI testing

* estimation sampling for non-mandatory and joint tours

* adding survey choice to choices_df in interaction_sample

* adding option to delete the mp edb subdirs

* changes supporting sandag abm3 estimation mode

* running test sandag example through trip dest sample

* Estimation Pydantic (#2)

* pydantic for estimation settings

* allow df as type in config

* fix table_info

* repair for Pydantic

* df is attribute

* Estimation settings pydantic update

* new compact formatting

* handling multiple columns for parquet write

* dropping duplicate columns

* actually removing duplicate columns

* dfs with correct indexes and correct mp sorting

* ignore index on sort for mp coalesce edbs

* updating estimation checks to allow for non-zero household_sample_size

* Re-estimation (#3)

* pydantic for estimation settings

* allow df as type in config

* fix table_info

* auto ownership

* repair for pydantic

* update for ruff

* updated for simple models

* repair for Pydantic

* simple simulate and location choice

* df is attribute

* scheduling

* stop freq

* test locations

* cdap

* nonmand_and_joint_tour_dest_choice

* nonmand_tour_freq

* fix ci to stop using mamba

* test updates

* use larch6 from pip

* use numba for stop freq

* fix for pandas 1.5

* fix stop freq test for numba

* Sharrow Cache Dir Setting (#893)

* setting necessary filesystem changes from settings file

* set for multiprocessing

* repair github actions

* github action updates (#903)

* script to make data

* unified script for making data

* remove older

* bug

* doc note

* load from parquet if available

* add original alt ids to EDB output when using compact

* fix MP race

* script arg to skip to EDB

* clean up CDAP and blacken

* refactor model_estimation_table_types

change to estimation_table_types, to avoid pydantic namespace clash

* repair drop_dupes

* blacken

* location choice with compact

* choice_def for compact

* spec changes for simple-simulate

* re-estimation demo for auto ownership

* clean up status messages

* change name to stop pydantic warnings

* edit configs

* default estimation sample size is same as regular sample size

* allow location alts not in cv format

* dummy zones for location choice

* update scheduling model estimation

* various cleanup

* stop freq

* tidy build script

* update 02 school location for larger example

* update notebook 04

* editable model re-estimation for location choice

* fix test names

* update notebooks

* cdap print filenames as loading

* notebook 07

* tests thru 07

* notebooks 08 09

* build the data first

* runnable script

* change larch version dependency

* keep pandas<2

* notebooks 10 11

* notebook 12

* remove odd print

* add matplotlib

* notebook 13 14

* test all the notebooks

* add xlsxwriter to tests

* notebook 15

* CDAP revise model spec demo

* notebook 16

* notebook 17

* longer timeout

* notebook 18

* notebook 19

* notebook 20

* smaller notebook 15

* configurable est mode setup

* notebook 21

* notebook 22

* config sample size in GA

* notebook 23

* updates for larch and graphviz

* change default to compact

* compare model 03

* test updates

* rename test targets

* repair_av_zq

* move doctor up

* add another repair

* oops

---------

Co-authored-by: David Hensle <[email protected]>

* Removing estimation.yaml settings that are no longer needed

* fixing unit tests, setting parquet edb default

* one more missed estimation.yaml

* using df.items for pandas 2 compatibility

* tidy doc

* updating edb file name for NMTF

* updating numba and pandas in the conda env files

* Improve test stability (#4)

* handle dev versions of Larch

* test stability

* pin multimethod < 2.0

* add availability_expression

* starting est docs

* Resolve package version conflicts (#923)

* limit multimethod version to 2.0 and earlier

* add multimethod version to other settings

* [makedocs] update installer download link

* [makedocs] update branch docs

* GitHub Actions updates (#926)

* use libmamba solver

* add permissions [makedocs]

* add write permission for dev docs [makedocs]

* conda-solver: classic

* trace proto tables if available, otherwise synthetic population (#901)

Co-authored-by: Jeffrey Newman <[email protected]>

* release instructions (#927)

* use libmamba solver

* add permissions [makedocs]

* add write permission for dev docs [makedocs]

* conda-solver: classic

* include workflow dispatch option for tests

* update release instructions

* add installer build to instructions

* Pin mamba for now, per conda-incubator/setup-miniconda#392

* conda-remove-defaults

* when no unavailability parameters are included

* some general estimation docs

* Use pandas 2 for docbuild environment (#928)

* fix link

* allow failure to import larch

* workflow

* blacken

* try some pins

* speed up docbuild

* use pandas 2 for docs

* oops wrong file

* restore foundation

* Update HOW_TO_RELEASE.md

* refactor(shadow_pricing.py): remove a duplicated `default_segment_to_name_dict` (#930)

* fix typo

* fixing disaggregate accessibility bug in zone sampler

* Revert "fixing disaggregate accessibility bug in zone sampler"

This reverts commit be5d093.

* notes on size terms

* clean up docbuild

* fix version check

* add some doc

* tidy

* estimation docs

* more on alternative avail

* model evaluation

* add doc on component_model

* documentation enhancements

* larch6 is now larch>6

* branch docs on workflow_dispatch

* missing doc section on model respec

---------

Co-authored-by: Yue Shuai <[email protected]>
Co-authored-by: David Hensle <[email protected]>
Co-authored-by: amarin <[email protected]>
Co-authored-by: Ali Etezady <[email protected]>
Co-authored-by: Sijia Wang <[email protected]>

* handling missing data or availability conditions

* add docs on locking size terms

* include constants in CDAP

* bump larch requirement

* require larch 6.0.40

* add xlsxwriter to envs

* require larch 6.0.41

* add links

* fix typos and formatting

* cdap hh and per parquet read match csv

* add missing x_validator for mode choice and nonmand tour freq

* add tour mode choice edit example

* add to docs

* union not addition on sets

* restore nb kernel

* blacken

* replacing conda with uv in estimation tests

* add requests to github-action dependencies

* running with created virtual env instead

* Fix estimation notebook tests (#8)

* Update scheduling.py

---------

Co-authored-by: Jeffrey Newman <[email protected]>
Co-authored-by: Yue Shuai <[email protected]>
Co-authored-by: amarin <[email protected]>
Co-authored-by: Ali Etezady <[email protected]>
Co-authored-by: Sijia Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant