{"action":"created","issue":{"url":"https://api.github.com/repos/open-research/sumatra/issues/379","repository_url":"https://api.github.com/repos/open-research/sumatra","labels_url":"https://api.github.com/repos/open-research/sumatra/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/open-research/sumatra/issues/379/comments","events_url":"https://api.github.com/repos/open-research/sumatra/issues/379/events","html_url":"https://github.com/open-research/sumatra/issues/379","id":324940657,"number":379,"title":"Replication of records - Using Sumatra to publish computational projects","user":{"login":"Felix11H","id":610633,"avatar_url":"https://avatars3.githubusercontent.com/u/610633?v=4","gravatar_id":"","url":"https://api.github.com/users/Felix11H","html_url":"https://github.com/Felix11H","followers_url":"https://api.github.com/users/Felix11H/followers","following_url":"https://api.github.com/users/Felix11H/following{/other_user}","gists_url":"https://api.github.com/users/Felix11H/gists{/gist_id}","starred_url":"https://api.github.com/users/Felix11H/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Felix11H/subscriptions","organizations_url":"https://api.github.com/users/Felix11H/orgs","repos_url":"https://api.github.com/users/Felix11H/repos","events_url":"https://api.github.com/users/Felix11H/events{/privacy}","received_events_url":"https://api.github.com/users/Felix11H/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-21T14:38:37Z","updated_at":"2018-05-24T07:56:45Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I'm interested in using Sumatra to publish computational projects (example [here](http://felix11h.github.io/blog/open-comp-rsc-concept)). The `smt repeat` function is very helpful in repeating computations under original conditions and testing if the repeated computation matches the original record. For this, a previous state of the project (e.g. git version, potentially other parameters?) is loaded. \r\n\r\nFor a published computational project, a reader might interested in replicating (single) results in a straightforward manner. For this `smt repeat` could be great. However, the loading of a previous version of the code \"behind the scenes\" can be very misleading. Old versions of the code might look very different from what the reader is seeing in the published repository.\r\n\r\nI'm suggesting either an option for `smt repeat` or a new, related command `smt replicate`. The command would function similarly to `smt repeat` but instead of checking out a previous version of the project, the command repeats the record with the current version. This would allow a test whether the code, as currently shown, is able to replicate the results obtained originally. \r\n\r\nTo allow for complete or partial replication of the project, the command would take either a record, a tag or the whole project and replicate all records in the group in chronological order. The tag command specifically could help replicate the just the `simulation`, `data-analysis` or `plotting` stages in the project, as for example described in the [Popper convention](http://falsifiable.us/) (cc @ivotron).\r\n\r\nI'm interested in feedback on this. Implementation of such functionality seems, at first glance, manageable. Am I overlooking expected complications? Would such functionality be seen as helpful and fitting within the scope of Sumatra?"},"comment":{"url":"https://api.github.com/repos/open-research/sumatra/issues/comments/391624160","html_url":"https://github.com/open-research/sumatra/issues/379#issuecomment-391624160","issue_url":"https://api.github.com/repos/open-research/sumatra/issues/379","id":391624160,"user":{"login":"apdavison","id":260552,"avatar_url":"https://avatars0.githubusercontent.com/u/260552?v=4","gravatar_id":"","url":"https://api.github.com/users/apdavison","html_url":"https://github.com/apdavison","followers_url":"https://api.github.com/users/apdavison/followers","following_url":"https://api.github.com/users/apdavison/following{/other_user}","gists_url":"https://api.github.com/users/apdavison/gists{/gist_id}","starred_url":"https://api.github.com/users/apdavison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apdavison/subscriptions","organizations_url":"https://api.github.com/users/apdavison/orgs","repos_url":"https://api.github.com/users/apdavison/repos","events_url":"https://api.github.com/users/apdavison/events{/privacy}","received_events_url":"https://api.github.com/users/apdavison/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T07:56:45Z","updated_at":"2018-05-24T07:56:45Z","author_association":"CONTRIBUTOR","body":"I think this is a great idea; it ought to be fairly straightforward to implement, at least for re-running individual stages; re-running entire workflows is a more complex issue and probably needs its own `smt` command (cf #107)\r\n\r\nI would suggest `smt repeat --update` as the command. The usage of \"replicate\" vs \"reproduce\" is still being argued, and I would prefer to avoid getting into naming arguments."}}
{"actor":{"display_login":"apdavison"}}