{"action":"created","issue":{"url":"https://api.github.com/repos/mila-udem/orion/issues/83","repository_url":"https://api.github.com/repos/mila-udem/orion","labels_url":"https://api.github.com/repos/mila-udem/orion/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/mila-udem/orion/issues/83/comments","events_url":"https://api.github.com/repos/mila-udem/orion/issues/83/events","html_url":"https://github.com/mila-udem/orion/pull/83","id":323453183,"number":83,"title":"Add adapters for experiment version control","user":{"login":"bouthilx","id":2099418,"avatar_url":"https://avatars1.githubusercontent.com/u/2099418?v=4","gravatar_id":"","url":"https://api.github.com/users/bouthilx","html_url":"https://github.com/bouthilx","followers_url":"https://api.github.com/users/bouthilx/followers","following_url":"https://api.github.com/users/bouthilx/following{/other_user}","gists_url":"https://api.github.com/users/bouthilx/gists{/gist_id}","starred_url":"https://api.github.com/users/bouthilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouthilx/subscriptions","organizations_url":"https://api.github.com/users/bouthilx/orgs","repos_url":"https://api.github.com/users/bouthilx/repos","events_url":"https://api.github.com/users/bouthilx/events{/privacy}","received_events_url":"https://api.github.com/users/bouthilx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-16T03:06:34Z","updated_at":"2018-05-18T16:05:39Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/mila-udem/orion/pulls/83","html_url":"https://github.com/mila-udem/orion/pull/83","diff_url":"https://github.com/mila-udem/orion/pull/83.diff","patch_url":"https://github.com/mila-udem/orion/pull/83.patch"},"body":"Depends on #86 \r\n\r\nWhy:\r\n\r\nExperiment branches because of changes in the configuration or\r\nthe user's code. This make experiments incompatible with one another\r\nunless we define adapters such that a branched experiment B can access\r\ntrials from parent experiment A.\r\n\r\nHow:\r\n\r\nAdapters have two main methods, forward and backward. The method forward\r\ndefines how trials from parent experiment A are filtered or adapted to\r\nbe compatible with experiment B. Modifications are only applied at\r\nexecution time and are not saved anywhere in the database. Adapters only\r\nprovides a *view* on an experiment.\r\n\r\nThere is adapters for\r\n\r\n* Dimension addition\r\n* Dimension deletion\r\n* Dimension renaming\r\n* Change of dimension prior\r\n* Change of algorithm\r\n* Change of code\r\n* Combining different adapters\r\n\r\nAdapters all have a `to_dict` method which provides sufficient\r\ninformation to rebuild the adapter. This is to facilitate save of\r\nadapters in a database and retrieval.\r\n\r\nAdapters can be build using the factory class Adapter(**kwargs) or using\r\nAdapter.build(list_of_dicts)."},"comment":{"url":"https://api.github.com/repos/mila-udem/orion/issues/comments/390254916","html_url":"https://github.com/mila-udem/orion/pull/83#issuecomment-390254916","issue_url":"https://api.github.com/repos/mila-udem/orion/issues/83","id":390254916,"user":{"login":"DatCorno","id":5266024,"avatar_url":"https://avatars2.githubusercontent.com/u/5266024?v=4","gravatar_id":"","url":"https://api.github.com/users/DatCorno","html_url":"https://github.com/DatCorno","followers_url":"https://api.github.com/users/DatCorno/followers","following_url":"https://api.github.com/users/DatCorno/following{/other_user}","gists_url":"https://api.github.com/users/DatCorno/gists{/gist_id}","starred_url":"https://api.github.com/users/DatCorno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DatCorno/subscriptions","organizations_url":"https://api.github.com/users/DatCorno/orgs","repos_url":"https://api.github.com/users/DatCorno/repos","events_url":"https://api.github.com/users/DatCorno/events{/privacy}","received_events_url":"https://api.github.com/users/DatCorno/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T16:05:39Z","updated_at":"2018-05-18T16:05:39Z","author_association":"CONTRIBUTOR","body":"From what I can see everything's good."}}
{"actor":{"display_login":"DatCorno"}}