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

Tracing crashes when trying to trace a household_id in both synthetic and proto populations #900

Open
dhensle opened this issue Oct 2, 2024 · 0 comments
Labels
Bug Something isn't working/bug f

Comments

@dhensle
Copy link
Contributor

dhensle commented Oct 2, 2024

Describe the bug
Tracing will crash if tracing a household id that exists in both the proto population (created for the disaggregate accessibilities model) and synthetic population.

To Reproduce
Change the hoousehold_id for a household in the prototype_mtc_examples to 1 in the persons and households file, then run with trace_hh_id with 1 and sharrow on.

Expected behavior
Not crash -- tracing should output the results for the proto population household id 1 through the disaggregate accessibilities model and the results for the synthetic population household for all other downstream models.

Additional context
Crash happens on the below assert statement:
image

(There's a typo here that checks the persons table array twice, but the real issue is that it contains both the proto_persons and persons tables.)

It is also unclear to me why this crash only happens with sharrow on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working/bug f
Projects
None yet
Development

No branches or pull requests

1 participant