{"action":"created","issue":{"url":"https://api.github.com/repos/src-d/guide/issues/253","repository_url":"https://api.github.com/repos/src-d/guide","labels_url":"https://api.github.com/repos/src-d/guide/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/src-d/guide/issues/253/comments","events_url":"https://api.github.com/repos/src-d/guide/issues/253/events","html_url":"https://github.com/src-d/guide/pull/253","id":366261195,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5OTc5MjE0","number":253,"title":"talent: add table with precalculated stock options","user":{"login":"smola","id":23248,"node_id":"MDQ6VXNlcjIzMjQ4","avatar_url":"https://avatars1.githubusercontent.com/u/23248?v=4","gravatar_id":"","url":"https://api.github.com/users/smola","html_url":"https://github.com/smola","followers_url":"https://api.github.com/users/smola/followers","following_url":"https://api.github.com/users/smola/following{/other_user}","gists_url":"https://api.github.com/users/smola/gists{/gist_id}","starred_url":"https://api.github.com/users/smola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smola/subscriptions","organizations_url":"https://api.github.com/users/smola/orgs","repos_url":"https://api.github.com/users/smola/repos","events_url":"https://api.github.com/users/smola/events{/privacy}","received_events_url":"https://api.github.com/users/smola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T10:01:07Z","updated_at":"2018-10-03T14:01:21Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/src-d/guide/pulls/253","html_url":"https://github.com/src-d/guide/pull/253","diff_url":"https://github.com/src-d/guide/pull/253.diff","patch_url":"https://github.com/src-d/guide/pull/253.patch"},"body":"fixes #252 \r\n\r\nGenerated with script:\r\n\r\n```python\r\n#!/usr/bin/env python\r\n\r\nteams=[\r\n        ('Data Science', 0.12),\r\n        ('Developer Community', 0.12),\r\n        ('Engineering', 0.1),\r\n        ('Product', 0.1),\r\n        ('Operations', 0.05)\r\n]\r\n\r\nstages=[\r\n        ('Seed', 2.0),\r\n        ('Series A', 4.0)\r\n]\r\n\r\nroles=[\r\n        ('VP', 0.37),\r\n        ('Lead', 0.17),\r\n        ('Senior', 0.07),\r\n        ('Normal', 0.02),\r\n        ('Junior', 0.00)\r\n]\r\n\r\ntotal = 24394\r\n\r\ndef get_options(team, stage, role, total):\r\n        return round((team/stage+role)/100*total)\r\n\r\nstage_title = 'Seed'\r\nstage_val = dict(stages)[stage_title]\r\nfor team_title, team_val in teams:\r\n        for role_title, role_val in roles:\r\n                options = get_options(team_val, stage_val, role_val, total)\r\n                print('%s | %s | %d' % (team_title, role_title, options))\r\n```"},"comment":{"url":"https://api.github.com/repos/src-d/guide/issues/comments/426648728","html_url":"https://github.com/src-d/guide/pull/253#issuecomment-426648728","issue_url":"https://api.github.com/repos/src-d/guide/issues/253","id":426648728,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjY0ODcyOA==","user":{"login":"tsolakoua","id":15012967,"node_id":"MDQ6VXNlcjE1MDEyOTY3","avatar_url":"https://avatars1.githubusercontent.com/u/15012967?v=4","gravatar_id":"","url":"https://api.github.com/users/tsolakoua","html_url":"https://github.com/tsolakoua","followers_url":"https://api.github.com/users/tsolakoua/followers","following_url":"https://api.github.com/users/tsolakoua/following{/other_user}","gists_url":"https://api.github.com/users/tsolakoua/gists{/gist_id}","starred_url":"https://api.github.com/users/tsolakoua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsolakoua/subscriptions","organizations_url":"https://api.github.com/users/tsolakoua/orgs","repos_url":"https://api.github.com/users/tsolakoua/repos","events_url":"https://api.github.com/users/tsolakoua/events{/privacy}","received_events_url":"https://api.github.com/users/tsolakoua/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T14:01:21Z","updated_at":"2018-10-03T14:01:21Z","author_association":"CONTRIBUTOR","body":"Thanks @smola, we indeed needed it!! \r\nstage_title = 'Seed' should be stage_title = 'Series A'"}}
{"actor":{"display_login":"tsolakoua"}}