Skip to content

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

Description

@dhensle

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working/bug f

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions