{"action":"created","issue":{"url":"https://api.github.com/repos/gerrymandr/RunDMCMC/issues/22","repository_url":"https://api.github.com/repos/gerrymandr/RunDMCMC","labels_url":"https://api.github.com/repos/gerrymandr/RunDMCMC/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/gerrymandr/RunDMCMC/issues/22/comments","events_url":"https://api.github.com/repos/gerrymandr/RunDMCMC/issues/22/events","html_url":"https://github.com/gerrymandr/RunDMCMC/issues/22","id":332111344,"node_id":"MDU6SXNzdWUzMzIxMTEzNDQ=","number":22,"title":"The Partition should efficiently update aggregate statistics when flipping some nodes","user":{"login":"maxhully","id":8108892,"node_id":"MDQ6VXNlcjgxMDg4OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/8108892?v=4","gravatar_id":"","url":"https://api.github.com/users/maxhully","html_url":"https://github.com/maxhully","followers_url":"https://api.github.com/users/maxhully/followers","following_url":"https://api.github.com/users/maxhully/following{/other_user}","gists_url":"https://api.github.com/users/maxhully/gists{/gist_id}","starred_url":"https://api.github.com/users/maxhully/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxhully/subscriptions","organizations_url":"https://api.github.com/users/maxhully/orgs","repos_url":"https://api.github.com/users/maxhully/repos","events_url":"https://api.github.com/users/maxhully/events{/privacy}","received_events_url":"https://api.github.com/users/maxhully/received_events","type":"User","site_admin":false},"labels":[{"id":959323701,"node_id":"MDU6TGFiZWw5NTkzMjM3MDE=","url":"https://api.github.com/repos/gerrymandr/RunDMCMC/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-13T18:28:18Z","updated_at":"2018-06-14T17:12:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As a user (person who is running the chain), I want to specify some data columns (node attributes) that I want to aggregate per district at each step in the chain.\r\n\r\nI want these aggregates to be updated efficiently, so that we only re-aggregate over districts that have changed (e.g., subtract the population that left and add the population that joined).\r\n\r\nI want to reference these aggregates in my is_valid functions and measurements.\r\n\r\nWhat should the interface for this be? Would something like `partition['population'][district_number]` be nice?"},"comment":{"url":"https://api.github.com/repos/gerrymandr/RunDMCMC/issues/comments/397370651","html_url":"https://github.com/gerrymandr/RunDMCMC/issues/22#issuecomment-397370651","issue_url":"https://api.github.com/repos/gerrymandr/RunDMCMC/issues/22","id":397370651,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzM3MDY1MQ==","user":{"login":"maxhully","id":8108892,"node_id":"MDQ6VXNlcjgxMDg4OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/8108892?v=4","gravatar_id":"","url":"https://api.github.com/users/maxhully","html_url":"https://github.com/maxhully","followers_url":"https://api.github.com/users/maxhully/followers","following_url":"https://api.github.com/users/maxhully/following{/other_user}","gists_url":"https://api.github.com/users/maxhully/gists{/gist_id}","starred_url":"https://api.github.com/users/maxhully/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxhully/subscriptions","organizations_url":"https://api.github.com/users/maxhully/orgs","repos_url":"https://api.github.com/users/maxhully/repos","events_url":"https://api.github.com/users/maxhully/events{/privacy}","received_events_url":"https://api.github.com/users/maxhully/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T17:12:59Z","updated_at":"2018-06-14T17:12:59Z","author_association":"CONTRIBUTOR","body":"Natalya, Robert and I did more work on this in #30 ."}}
{"actor":{"display_login":"maxhully"}}