{"action":"created","issue":{"url":"https://api.github.com/repos/MRN-Code/coinstac-decentralized-algorithm-integration/issues/8","repository_url":"https://api.github.com/repos/MRN-Code/coinstac-decentralized-algorithm-integration","labels_url":"https://api.github.com/repos/MRN-Code/coinstac-decentralized-algorithm-integration/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/MRN-Code/coinstac-decentralized-algorithm-integration/issues/8/comments","events_url":"https://api.github.com/repos/MRN-Code/coinstac-decentralized-algorithm-integration/issues/8/events","html_url":"https://github.com/MRN-Code/coinstac-decentralized-algorithm-integration/pull/8","id":158816698,"number":8,"title":"migrate algos to promsified common","user":{"login":"cdaringe","id":1003261,"avatar_url":"https://avatars.githubusercontent.com/u/1003261?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaringe","html_url":"https://github.com/cdaringe","followers_url":"https://api.github.com/users/cdaringe/followers","following_url":"https://api.github.com/users/cdaringe/following{/other_user}","gists_url":"https://api.github.com/users/cdaringe/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaringe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaringe/subscriptions","organizations_url":"https://api.github.com/users/cdaringe/orgs","repos_url":"https://api.github.com/users/cdaringe/repos","events_url":"https://api.github.com/users/cdaringe/events{/privacy}","received_events_url":"https://api.github.com/users/cdaringe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-07T02:14:44Z","updated_at":"2016-06-08T03:21:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MRN-Code/coinstac-decentralized-algorithm-integration/pulls/8","html_url":"https://github.com/MRN-Code/coinstac-decentralized-algorithm-integration/pull/8","diff_url":"https://github.com/MRN-Code/coinstac-decentralized-algorithm-integration/pull/8.diff","patch_url":"https://github.com/MRN-Code/coinstac-decentralized-algorithm-integration/pull/8.patch"},"body":"@ref https://github.com/MRN-Code/coinstac-common/pull/52"},"comment":{"url":"https://api.github.com/repos/MRN-Code/coinstac-decentralized-algorithm-integration/issues/comments/224477357","html_url":"https://github.com/MRN-Code/coinstac-decentralized-algorithm-integration/pull/8#issuecomment-224477357","issue_url":"https://api.github.com/repos/MRN-Code/coinstac-decentralized-algorithm-integration/issues/8","id":224477357,"user":{"login":"cdaringe","id":1003261,"avatar_url":"https://avatars.githubusercontent.com/u/1003261?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaringe","html_url":"https://github.com/cdaringe","followers_url":"https://api.github.com/users/cdaringe/followers","following_url":"https://api.github.com/users/cdaringe/following{/other_user}","gists_url":"https://api.github.com/users/cdaringe/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaringe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaringe/subscriptions","organizations_url":"https://api.github.com/users/cdaringe/orgs","repos_url":"https://api.github.com/users/cdaringe/repos","events_url":"https://api.github.com/users/cdaringe/events{/privacy}","received_events_url":"https://api.github.com/users/cdaringe/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T03:21:27Z","updated_at":"2016-06-08T03:21:27Z","body":"still not sure what the issue is.  i do think something may not be fully linked or all on the right branch (feature/promisify).\r\n\r\nalso, yea, by this point, there aren't assertions made.  they'd be nice to add, but honestly convergence and/or halting (w/ 0 exit codes) are actually pretty good tests on their own.  would def like to add some assertions at soon!\r\n\r\ncheck it:\r\n\r\n```bash\r\n# simulator/promisify linked to common/promisify (branch validation not shown, but checked)\r\ncdieringer@Snapper-osx:~/node/coinstac-simulator$ ll node_modules/ | grep coinstac\r\nlrwxr-xr-x    1 cdieringer  staff     57 Jun  7 11:40 coinstac-common@ -> ../../../../../usr/local/lib/node_modules/coinstac-common\r\n...\r\n# algo-integration linked to sim and bisect converge\r\ncdieringer@Snapper-osx:~/node/coinstac-decentralized-algorithm-integration$ ll node_modules/ | grep coinstac\r\nlrwxr-xr-x    1 cdieringer  staff     57 Jun  7 20:55 coinstac-common@ -> ../../../../../usr/local/lib/node_modules/coinstac-common # <== actually unnecssary :)\r\nlrwxr-xr-x    1 cdieringer  staff     72 Jun  6 10:18 coinstac-example-computation-bisect-converge@ -> /usr/local/lib/node_modules/coinstac-example-computation-bisect-converge\r\nlrwxr-xr-x    1 cdieringer  staff     60 Jun  7 20:58 coinstac-simulator@ -> ../../../../../usr/local/lib/node_modules/coinstac-simulator\r\ncdieringer@Snapper-osx:~/node/coinstac-decentralized-algorithm-integration$ node test/\r\ninfo: db server up\r\ninfo: db seeded\r\ninfo: compute server up\r\ninfo: clients up\r\ninfo: USER: brittny ...bumping 1\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 1 } ]\r\ninfo: USER: runtang ...bumping 1\r\ninfo: USER: margaret ...bumping 1\r\ninfo: USER: vince ...bumping 1\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 1 }, { un: 'runtang', data: 1 } ]\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 1 },\r\n  { un: 'margaret', data: 1 },\r\n  { un: 'runtang', data: 1 } ]\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 1 },\r\n  { un: 'margaret', data: 1 },\r\n  { un: 'runtang', data: 1 },\r\n  { un: 'vince', data: 1 } ]\r\ninfo: USER: margaret ...bumping 2\r\ninfo: USER: brittny ...bumping 2\r\ninfo: USER: runtang ...bumping 2\r\ninfo: USER: vince ...bumping 2\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 2 },\r\n  { un: 'margaret', data: 1 },\r\n  { un: 'runtang', data: 1 },\r\n  { un: 'vince', data: 1 } ]\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 2 },\r\n  { un: 'margaret', data: 2 },\r\n  { un: 'runtang', data: 1 },\r\n  { un: 'vince', data: 1 } ]\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 2 },\r\n  { un: 'margaret', data: 2 },\r\n  { un: 'runtang', data: 2 },\r\n  { un: 'vince', data: 1 } ]\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 2 },\r\n  { un: 'margaret', data: 2 },\r\n  { un: 'runtang', data: 2 },\r\n  { un: 'vince', data: 2 } ]\r\ninfo: USER: brittny ...bumping 3\r\ninfo: USER: margaret ...bumping 3\r\ninfo: USER: vince ...bumping 3\r\ninfo: USER: runtang ...bumping 3\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 3 },\r\n  { un: 'margaret', data: 2 },\r\n  { un: 'runtang', data: 2 },\r\n  { un: 'vince', data: 2 } ]\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 3 },\r\n  { un: 'margaret', data: 3 },\r\n  { un: 'runtang', data: 2 },\r\n  { un: 'vince', data: 2 } ]\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 3 },\r\n  { un: 'margaret', data: 3 },\r\n  { un: 'runtang', data: 2 },\r\n  { un: 'vince', data: 3 } ]\r\ninfo: COMPUTE-SERVER: [ { un: 'brittny', data: 3 },\r\n  { un: 'margaret', data: 3 },\r\n  { un: 'runtang', data: 3 },\r\n  { un: 'vince', data: 3 } ]\r\ninfo: COMPUTE-SERVER: info: computation complete, run test_run_id\r\ninfo: db server up\r\ninfo: db seeded\r\ninfo: compute server up\r\ninfo: clients up\r\ninfo: COMPUTE-SERVER: 1\r\ninfo: USER: brittny 11\r\ninfo: USER: margaret 11\r\ninfo: USER: vince 11\r\ninfo: USER: runtang 11\r\ninfo: COMPUTE-SERVER: 2\r\ninfo: USER: vince 12\r\ninfo: USER: runtang 12\r\ninfo: USER: margaret 12\r\ninfo: USER: brittny 12\r\ninfo: COMPUTE-SERVER: 3\r\ninfo: USER: brittny 13\r\ninfo: USER: runtang 13\r\ninfo: USER: vince 13\r\ninfo: USER: margaret 13\r\ninfo: COMPUTE-SERVER: 4\r\ninfo: USER: vince 14\r\ninfo: USER: brittny 14\r\ninfo: USER: margaret 14\r\ninfo: USER: runtang 14\r\ninfo: COMPUTE-SERVER: 5\r\ninfo: COMPUTE-SERVER: info: computation complete, run test_run_id\r\ninfo: db server up\r\ninfo: db seeded\r\ninfo: compute server up\r\ninfo: clients up\r\nerror: USER: minionA I read and parsed a file.  It's value is: A\r\ninfo: COMPUTE-SERVER: { minionA: { value: 'A' } }\r\nerror: USER: minionB I read and parsed a file.  It's value is: B\r\ninfo: COMPUTE-SERVER: { minionA: { value: 'A' },\r\n  minionB: { value: 'B' },\r\n  complete: true }\r\ninfo: COMPUTE-SERVER: info: computation complete, run test_run_id\r\ninfo: db server up\r\ninfo: db seeded\r\ninfo: compute server up\r\ninfo: clients up\r\nerror: USER: jill reading files from dir: jills-data\r\nerror: COMPUTE-SERVER: { jill: { 'data1.txt': 1, 'data2.bat': 2 } }\r\nerror: USER: chris reading files from dir: chris-data\r\nerror: COMPUTE-SERVER: { jill: { 'data1.txt': 1, 'data2.bat': 2 },\r\n  chris: { 'data3.txt': 3, 'data4.anything': 4 },\r\n  complete: true }\r\ninfo: COMPUTE-SERVER: info: computation complete, run test_run_id\r\ninfo: db server up\r\ninfo: db seeded\r\ninfo: compute server up\r\ninfo: clients up\r\nerror: USER: sandeep caught per expectation\r\nerror: USER: sandeep caught per expectation\r\nerror: USER: prema caught per expectation\r\ninfo: COMPUTE-SERVER: info: computation complete, run test_run_id\r\ninfo: db server up\r\ninfo: db seeded\r\ninfo: compute server up\r\ninfo: clients up\r\nerror: USER: jamin My random # was 50\r\nerror: USER: sergey My random # was 92\r\nerror: USER: drew My random # was 15\r\nerror: USER: ross My random # was 20\r\nerror: COMPUTE-SERVER: My random # was 48\r\ninfo: USER: jamin old 50 new 49\r\ninfo: USER: drew old 15 new 31.5\r\ninfo: USER: sergey old 92 new 70\r\ninfo: USER: ross old 20 new 34\r\ninfo: USER: drew old 31.5 new 39.75\r\ninfo: USER: sergey old 70 new 59\r\ninfo: USER: ross old 34 new 41\r\ninfo: USER: jamin old 49 new 48.5\r\ninfo: USER: sergey old 59 new 53.5\r\nerror: USER: sergey (node:60244) Warning: Possible EventEmitter memory leak detected. 21 error listeners added. Use emitter.setMaxListeners() to increase limit\r\ninfo: USER: ross old 41 new 44.5\r\nerror: USER: ross (node:60246) Warning: Possible EventEmitter memory leak detected. 21 error listeners added. Use emitter.setMaxListeners() to increase limit\r\ninfo: USER: drew old 39.75 new 43.875\r\nerror: USER: drew (node:60245) Warning: Possible EventEmitter memory leak detected. 21 error listeners added. Use emitter.setMaxListeners() to increase limit\r\ninfo: USER: jamin old 48.5 new 48.25\r\nerror: USER: jamin (node:60243) Warning: Possible EventEmitter memory leak detected. 21 error listeners added. Use emitter.setMaxListeners() to increase limit\r\nerror: COMPUTE-SERVER: (node:60235) Warning: Possible EventEmitter memory leak detected. 21 error listeners added. Use emitter.setMaxListeners() to increase limit\r\ninfo: USER: ross old 44.5 new 46.25\r\ninfo: USER: sergey old 53.5 new 50.75\r\ninfo: USER: drew old 43.875 new 45.9375\r\ninfo: USER: jamin old 48.25 new 48.125\r\ninfo: USER: jamin old 48.125 new 48.0625\r\ninfo: USER: drew old 45.9375 new 46.96875\r\ninfo: USER: sergey old 50.75 new 49.375\r\ninfo: USER: ross old 46.25 new 47.125\r\ninfo: COMPUTE-SERVER: all users converged on 48 [ { final: 46.96875, username: 'drew' },\r\n  { final: 48.0625, username: 'jamin' },\r\n  { final: 47.125, username: 'ross' },\r\n  { final: 49.375, username: 'sergey' } ]\r\ninfo: COMPUTE-SERVER: info: computation complete, run test_run_id\r\n```"}}
{"actor":{"display_login":"cdaringe"}}