Skip to content

Use Set[Tuple[int, str] instead of List[Dict] in all dealings with "state" #348

@willu47

Description

@willu47

smif state consists of an intervention name and build_year pair.

At present, this the store reads and writes to and from a dict [{'name': , 'build_year'}, ...]
This could be replaced with a list or set of tuples

  • Replace build_year with build_timestep
  • Replace list of dict with list of tuples

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions