Skip to content

Commit 779fc91

Browse files
vincentgong7claude
andcommitted
docs: sync mode_choice_simulate docstring with explicit_chunk_size
Remove the stale `chunk_size` entry (not a parameter), mark compute_settings as optional, and document the new explicit_chunk_size argument. Addresses the automated review note on PR #1088. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 53d97f4 commit 779fc91

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎activitysim/abm/models/util/mode.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ def mode_choice_simulate(
4848
nest_spec
4949
skims
5050
locals_d
51-
chunk_size
5251
mode_column_name
5352
logsum_column_name
5453
trace_label
5554
trace_choice_name
5655
estimator
57-
compute_settings : ComputeSettings
56+
compute_settings : ComputeSettings, optional
57+
explicit_chunk_size : float, default 0
58+
If > 0, the fixed number of choosers per chunk (explicit chunking); if 0, chunk sizing
59+
follows the run's chunk_training_mode / adaptive sizing.
5860
5961
Returns
6062
-------

0 commit comments

Comments
 (0)