{"action":"created","comment":{"url":"https://api.github.com/repos/tidepool-org/dfaker/pulls/comments/32559525","id":32559525,"diff_hunk":"@@ -1,9 +1,6 @@\n import numpy as np \n-import matplotlib.pyplot as plt \n from scipy.integrate import odeint \n import random\n-from scipy import interpolate\n-import statsmodels.api as sm\n \n def simulator(initial_carbs=121.7, initial_sugar=90, digestion_rate=0.0453, insulin_rate=0.0224, minutes=100, start_time=0):","path":"cbg_equation.py","position":8,"original_position":8,"commit_id":"fbb899d28e2c4f68083a55955efdb3bc22418936","original_commit_id":"fbb899d28e2c4f68083a55955efdb3bc22418936","user":{"login":"jebeck","id":1588547,"avatar_url":"https://avatars.githubusercontent.com/u/1588547?v=3","gravatar_id":"","url":"https://api.github.com/users/jebeck","html_url":"https://github.com/jebeck","followers_url":"https://api.github.com/users/jebeck/followers","following_url":"https://api.github.com/users/jebeck/following{/other_user}","gists_url":"https://api.github.com/users/jebeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jebeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebeck/subscriptions","organizations_url":"https://api.github.com/users/jebeck/orgs","repos_url":"https://api.github.com/users/jebeck/repos","events_url":"https://api.github.com/users/jebeck/events{/privacy}","received_events_url":"https://api.github.com/users/jebeck/received_events","type":"User","site_admin":false},"body":"These are some oddly specific default params. Maybe add a comment, at least stating the obvious, which I assume is that these are the defaults because they seem to work well as such after your fiddling and trial & error?","created_at":"2015-06-16T19:16:44Z","updated_at":"2015-06-16T19:16:44Z","html_url":"https://github.com/tidepool-org/dfaker/pull/11#discussion_r32559525","pull_request_url":"https://api.github.com/repos/tidepool-org/dfaker/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/dfaker/pulls/comments/32559525"},"html":{"href":"https://github.com/tidepool-org/dfaker/pull/11#discussion_r32559525"},"pull_request":{"href":"https://api.github.com/repos/tidepool-org/dfaker/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/tidepool-org/dfaker/pulls/11","id":37608745,"html_url":"https://github.com/tidepool-org/dfaker/pull/11","diff_url":"https://github.com/tidepool-org/dfaker/pull/11.diff","patch_url":"https://github.com/tidepool-org/dfaker/pull/11.patch","issue_url":"https://api.github.com/repos/tidepool-org/dfaker/issues/11","number":11,"state":"open","locked":false,"title":"made interruped dual square boluses","user":{"login":"kgoot","id":11343490,"avatar_url":"https://avatars.githubusercontent.com/u/11343490?v=3","gravatar_id":"","url":"https://api.github.com/users/kgoot","html_url":"https://github.com/kgoot","followers_url":"https://api.github.com/users/kgoot/followers","following_url":"https://api.github.com/users/kgoot/following{/other_user}","gists_url":"https://api.github.com/users/kgoot/gists{/gist_id}","starred_url":"https://api.github.com/users/kgoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgoot/subscriptions","organizations_url":"https://api.github.com/users/kgoot/orgs","repos_url":"https://api.github.com/users/kgoot/repos","events_url":"https://api.github.com/users/kgoot/events{/privacy}","received_events_url":"https://api.github.com/users/kgoot/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-12T22:06:00Z","updated_at":"2015-06-16T19:16:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f396f3c5bac974d58255636a874e8c8f5bff2f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tidepool-org/dfaker/pulls/11/commits","review_comments_url":"https://api.github.com/repos/tidepool-org/dfaker/pulls/11/comments","review_comment_url":"https://api.github.com/repos/tidepool-org/dfaker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tidepool-org/dfaker/issues/11/comments","statuses_url":"https://api.github.com/repos/tidepool-org/dfaker/statuses/fbb899d28e2c4f68083a55955efdb3bc22418936","head":{"label":"tidepool-org:kgoot/dual_sqaure","ref":"kgoot/dual_sqaure","sha":"fbb899d28e2c4f68083a55955efdb3bc22418936","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":36404196,"name":"dfaker","full_name":"tidepool-org/dfaker","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/dfaker","description":"A generator of fake diabetes data.","fork":false,"url":"https://api.github.com/repos/tidepool-org/dfaker","forks_url":"https://api.github.com/repos/tidepool-org/dfaker/forks","keys_url":"https://api.github.com/repos/tidepool-org/dfaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/dfaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/dfaker/teams","hooks_url":"https://api.github.com/repos/tidepool-org/dfaker/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/dfaker/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/dfaker/events","assignees_url":"https://api.github.com/repos/tidepool-org/dfaker/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/dfaker/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/dfaker/tags","blobs_url":"https://api.github.com/repos/tidepool-org/dfaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/dfaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/dfaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/dfaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/dfaker/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/dfaker/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/dfaker/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/dfaker/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/dfaker/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/dfaker/subscription","commits_url":"https://api.github.com/repos/tidepool-org/dfaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/dfaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/dfaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/dfaker/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/dfaker/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/dfaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/dfaker/merges","archive_url":"https://api.github.com/repos/tidepool-org/dfaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/dfaker/downloads","issues_url":"https://api.github.com/repos/tidepool-org/dfaker/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/dfaker/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/dfaker/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/dfaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/dfaker/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/dfaker/releases{/id}","created_at":"2015-05-28T00:23:05Z","updated_at":"2015-05-28T00:47:51Z","pushed_at":"2015-06-16T01:01:00Z","git_url":"git://github.com/tidepool-org/dfaker.git","ssh_url":"git@github.com:tidepool-org/dfaker.git","clone_url":"https://github.com/tidepool-org/dfaker.git","svn_url":"https://github.com/tidepool-org/dfaker","homepage":null,"size":224,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tidepool-org:master","ref":"master","sha":"62e5f326b751c7055b84d0c6236913a227d7145a","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":36404196,"name":"dfaker","full_name":"tidepool-org/dfaker","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/dfaker","description":"A generator of fake diabetes data.","fork":false,"url":"https://api.github.com/repos/tidepool-org/dfaker","forks_url":"https://api.github.com/repos/tidepool-org/dfaker/forks","keys_url":"https://api.github.com/repos/tidepool-org/dfaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/dfaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/dfaker/teams","hooks_url":"https://api.github.com/repos/tidepool-org/dfaker/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/dfaker/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/dfaker/events","assignees_url":"https://api.github.com/repos/tidepool-org/dfaker/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/dfaker/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/dfaker/tags","blobs_url":"https://api.github.com/repos/tidepool-org/dfaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/dfaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/dfaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/dfaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/dfaker/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/dfaker/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/dfaker/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/dfaker/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/dfaker/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/dfaker/subscription","commits_url":"https://api.github.com/repos/tidepool-org/dfaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/dfaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/dfaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/dfaker/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/dfaker/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/dfaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/dfaker/merges","archive_url":"https://api.github.com/repos/tidepool-org/dfaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/dfaker/downloads","issues_url":"https://api.github.com/repos/tidepool-org/dfaker/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/dfaker/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/dfaker/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/dfaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/dfaker/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/dfaker/releases{/id}","created_at":"2015-05-28T00:23:05Z","updated_at":"2015-05-28T00:47:51Z","pushed_at":"2015-06-16T01:01:00Z","git_url":"git://github.com/tidepool-org/dfaker.git","ssh_url":"git@github.com:tidepool-org/dfaker.git","clone_url":"https://github.com/tidepool-org/dfaker.git","svn_url":"https://github.com/tidepool-org/dfaker","homepage":null,"size":224,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/dfaker/pulls/11"},"html":{"href":"https://github.com/tidepool-org/dfaker/pull/11"},"issue":{"href":"https://api.github.com/repos/tidepool-org/dfaker/issues/11"},"comments":{"href":"https://api.github.com/repos/tidepool-org/dfaker/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/tidepool-org/dfaker/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/tidepool-org/dfaker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tidepool-org/dfaker/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/tidepool-org/dfaker/statuses/fbb899d28e2c4f68083a55955efdb3bc22418936"}}}}