{"action":"created","issue":{"url":"https://api.github.com/repos/Kappa-Dev/KaSim/issues/30","repository_url":"https://api.github.com/repos/Kappa-Dev/KaSim","labels_url":"https://api.github.com/repos/Kappa-Dev/KaSim/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Kappa-Dev/KaSim/issues/30/comments","events_url":"https://api.github.com/repos/Kappa-Dev/KaSim/issues/30/events","html_url":"https://github.com/Kappa-Dev/KaSim/issues/30","id":1124975,"number":30,"title":"data-base of simulations?","user":{"login":"vd1","id":459310,"avatar_url":"https://avatars.githubusercontent.com/u/459310?v=3","gravatar_id":"","url":"https://api.github.com/users/vd1","html_url":"https://github.com/vd1","followers_url":"https://api.github.com/users/vd1/followers","following_url":"https://api.github.com/users/vd1/following{/other_user}","gists_url":"https://api.github.com/users/vd1/gists{/gist_id}","starred_url":"https://api.github.com/users/vd1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vd1/subscriptions","organizations_url":"https://api.github.com/users/vd1/orgs","repos_url":"https://api.github.com/users/vd1/repos","events_url":"https://api.github.com/users/vd1/events{/privacy}","received_events_url":"https://api.github.com/users/vd1/received_events","type":"User","site_admin":false},"labels":[{"id":55212,"url":"https://api.github.com/repos/Kappa-Dev/KaSim/labels/improvement","name":"improvement","color":"1632e3","default":false},{"id":338411490,"url":"https://api.github.com/repos/Kappa-Dev/KaSim/labels/JsSim","name":"JsSim","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Kappa-Dev/KaSim/milestones/6","html_url":"https://github.com/Kappa-Dev/KaSim/milestone/6","labels_url":"https://api.github.com/repos/Kappa-Dev/KaSim/milestones/6/labels","id":2187688,"number":6,"title":"UI-2017-Q1 ","description":"","creator":{"login":"pirbo","id":564669,"avatar_url":"https://avatars.githubusercontent.com/u/564669?v=3","gravatar_id":"","url":"https://api.github.com/users/pirbo","html_url":"https://github.com/pirbo","followers_url":"https://api.github.com/users/pirbo/followers","following_url":"https://api.github.com/users/pirbo/following{/other_user}","gists_url":"https://api.github.com/users/pirbo/gists{/gist_id}","starred_url":"https://api.github.com/users/pirbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirbo/subscriptions","organizations_url":"https://api.github.com/users/pirbo/orgs","repos_url":"https://api.github.com/users/pirbo/repos","events_url":"https://api.github.com/users/pirbo/events{/privacy}","received_events_url":"https://api.github.com/users/pirbo/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2016-12-09T20:22:15Z","updated_at":"2017-02-14T23:27:10Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2011-06-27T21:00:42Z","updated_at":"2017-02-15T02:47:45Z","closed_at":null,"body":"here is an idea: when running a simulation it would be nice to have an option to get an archive of 1) all the files used, 2) the command line used and even possibly 3) the output files themselves - to guarantee the _replayability of the simulation_\n\na simpler version of this idea is to give as a default long name for an output file the command-line that generated the file - with an additional number to distinguish it from the previous ones \n\nin both cases the intention is to make it simpler, when one works with different variants of a model, to map result files to variants of the model and conditions in which they were produced (aka the context of the simulation)\n\nto go a little further, we could have an entire data-base of models and simulations - which we could interact with by scripting (I know MLstate has done some work on this perhaps we should ask them?)\n"},"comment":{"url":"https://api.github.com/repos/Kappa-Dev/KaSim/issues/comments/279902369","html_url":"https://github.com/Kappa-Dev/KaSim/issues/30#issuecomment-279902369","issue_url":"https://api.github.com/repos/Kappa-Dev/KaSim/issues/30","id":279902369,"user":{"login":"pirbo","id":564669,"avatar_url":"https://avatars.githubusercontent.com/u/564669?v=3","gravatar_id":"","url":"https://api.github.com/users/pirbo","html_url":"https://github.com/pirbo","followers_url":"https://api.github.com/users/pirbo/followers","following_url":"https://api.github.com/users/pirbo/following{/other_user}","gists_url":"https://api.github.com/users/pirbo/gists{/gist_id}","starred_url":"https://api.github.com/users/pirbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirbo/subscriptions","organizations_url":"https://api.github.com/users/pirbo/orgs","repos_url":"https://api.github.com/users/pirbo/repos","events_url":"https://api.github.com/users/pirbo/events{/privacy}","received_events_url":"https://api.github.com/users/pirbo/received_events","type":"User","site_admin":false},"created_at":"2017-02-15T02:47:45Z","updated_at":"2017-02-15T02:47:45Z","body":"I think we are there.\r\nEach run of KaSim now generates (in the directory of outputs) a file named inputs.ka that contains all you need to EXACTLY reproduce the simulation you're running.\r\nMoreover, this file starts by a uuid that uniquely characterize this run of the simulation and all files generated during this run contains somewhere the same uuid. Therefore if\r\n- you have a file and you want to know how it has been generated look for the inputs.ka that contains the uuid \r\n- you have an inputs.ka file and you want to find all the files it generates, `grep the_uuid`\r\n\r\nKaSim does not produce an archive with everything by itself (it could but it adds a dependencies and users hate extra dependencies) but we are at 1µm of that: do `KaSim -d /tmp/outputs && zip -r my_simulation /tmp/outputs` and you've got a self contained archive of a run of a simulation.\r\n\r\n Is that what you expected (6 years ago !!!!!! (wouhaaaaa))?"}}
{"actor":{"display_login":"pirbo"}}