{"action":"created","comment":{"url":"https://api.github.com/repos/convexopt/gpkit/pulls/comments/35437584","id":35437584,"diff_hunk":"@@ -454,9 +489,14 @@ def __pow__(self, other):\n \n \n class Constraint(Posynomial):\n-    '''\n-    TODO: Add docstring\n-    '''\n+    \"\"\"A constraint of the general form monomial > posynomial\n+    Stored internally (exps, cs) as a single Posynomial (1 >= self)\n+    Usually initialized via operator overloading, e.g. cc = y**2 >= 1 + x\n+    Additionally stores input format (lhs vs rhs) in self.right and self.left\n+    Form is self.left >= self.right.","path":"gpkit/nomials.py","position":160,"original_position":137,"commit_id":"37fb6d78decb6392b9a756d1fb0b298218577e6f","original_commit_id":"1602b7697f17818ecedb324fed4115154f1d31c1","user":{"login":"bqpd","id":1482776,"avatar_url":"https://avatars.githubusercontent.com/u/1482776?v=3","gravatar_id":"","url":"https://api.github.com/users/bqpd","html_url":"https://github.com/bqpd","followers_url":"https://api.github.com/users/bqpd/followers","following_url":"https://api.github.com/users/bqpd/following{/other_user}","gists_url":"https://api.github.com/users/bqpd/gists{/gist_id}","starred_url":"https://api.github.com/users/bqpd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bqpd/subscriptions","organizations_url":"https://api.github.com/users/bqpd/orgs","repos_url":"https://api.github.com/users/bqpd/repos","events_url":"https://api.github.com/users/bqpd/events{/privacy}","received_events_url":"https://api.github.com/users/bqpd/received_events","type":"User","site_admin":false},"body":"Sounds good to me, this has been bothering me.","created_at":"2015-07-24T16:08:42Z","updated_at":"2015-07-24T16:08:42Z","html_url":"https://github.com/convexopt/gpkit/pull/301#discussion_r35437584","pull_request_url":"https://api.github.com/repos/convexopt/gpkit/pulls/301","_links":{"self":{"href":"https://api.github.com/repos/convexopt/gpkit/pulls/comments/35437584"},"html":{"href":"https://github.com/convexopt/gpkit/pull/301#discussion_r35437584"},"pull_request":{"href":"https://api.github.com/repos/convexopt/gpkit/pulls/301"}}},"pull_request":{"url":"https://api.github.com/repos/convexopt/gpkit/pulls/301","id":40733333,"html_url":"https://github.com/convexopt/gpkit/pull/301","diff_url":"https://github.com/convexopt/gpkit/pull/301.diff","patch_url":"https://github.com/convexopt/gpkit/pull/301.patch","issue_url":"https://api.github.com/repos/convexopt/gpkit/issues/301","number":301,"state":"closed","locked":false,"title":"Documentation improvements","user":{"login":"whoburg","id":6042395,"avatar_url":"https://avatars.githubusercontent.com/u/6042395?v=3","gravatar_id":"","url":"https://api.github.com/users/whoburg","html_url":"https://github.com/whoburg","followers_url":"https://api.github.com/users/whoburg/followers","following_url":"https://api.github.com/users/whoburg/following{/other_user}","gists_url":"https://api.github.com/users/whoburg/gists{/gist_id}","starred_url":"https://api.github.com/users/whoburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoburg/subscriptions","organizations_url":"https://api.github.com/users/whoburg/orgs","repos_url":"https://api.github.com/users/whoburg/repos","events_url":"https://api.github.com/users/whoburg/events{/privacy}","received_events_url":"https://api.github.com/users/whoburg/received_events","type":"User","site_admin":false},"body":"Address a number of documentation (and some testing) issues for 0.2.0 release milestone.","created_at":"2015-07-24T00:42:39Z","updated_at":"2015-07-24T16:08:42Z","closed_at":"2015-07-24T15:44:13Z","merged_at":"2015-07-24T15:44:13Z","merge_commit_sha":"b0e3a1a83f1eeb6832e222061e7aaa65feb79731","assignee":{"login":"bqpd","id":1482776,"avatar_url":"https://avatars.githubusercontent.com/u/1482776?v=3","gravatar_id":"","url":"https://api.github.com/users/bqpd","html_url":"https://github.com/bqpd","followers_url":"https://api.github.com/users/bqpd/followers","following_url":"https://api.github.com/users/bqpd/following{/other_user}","gists_url":"https://api.github.com/users/bqpd/gists{/gist_id}","starred_url":"https://api.github.com/users/bqpd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bqpd/subscriptions","organizations_url":"https://api.github.com/users/bqpd/orgs","repos_url":"https://api.github.com/users/bqpd/repos","events_url":"https://api.github.com/users/bqpd/events{/privacy}","received_events_url":"https://api.github.com/users/bqpd/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/convexopt/gpkit/milestones/2","html_url":"https://github.com/convexopt/gpkit/milestones/0.2%20-%20Documentation%20&%20stale%20fixes","labels_url":"https://api.github.com/repos/convexopt/gpkit/milestones/2/labels","id":989413,"number":2,"title":"0.2 - Documentation & stale fixes","description":"Close documentation tickets, check docs are accurate, and push what we've done over the last 6 mos.\r\n\r\nNote that Signomials are experimental, expected to work well with initial conditions at 0.3, and without initial conditions at 0.5","creator":{"login":"bqpd","id":1482776,"avatar_url":"https://avatars.githubusercontent.com/u/1482776?v=3","gravatar_id":"","url":"https://api.github.com/users/bqpd","html_url":"https://github.com/bqpd","followers_url":"https://api.github.com/users/bqpd/followers","following_url":"https://api.github.com/users/bqpd/following{/other_user}","gists_url":"https://api.github.com/users/bqpd/gists{/gist_id}","starred_url":"https://api.github.com/users/bqpd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bqpd/subscriptions","organizations_url":"https://api.github.com/users/bqpd/orgs","repos_url":"https://api.github.com/users/bqpd/repos","events_url":"https://api.github.com/users/bqpd/events{/privacy}","received_events_url":"https://api.github.com/users/bqpd/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":23,"state":"open","created_at":"2015-02-21T15:32:11Z","updated_at":"2015-07-24T15:44:14Z","due_on":"2015-07-24T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/convexopt/gpkit/pulls/301/commits","review_comments_url":"https://api.github.com/repos/convexopt/gpkit/pulls/301/comments","review_comment_url":"https://api.github.com/repos/convexopt/gpkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/convexopt/gpkit/issues/301/comments","statuses_url":"https://api.github.com/repos/convexopt/gpkit/statuses/37fb6d78decb6392b9a756d1fb0b298218577e6f","head":{"label":"convexopt:documentation","ref":"documentation","sha":"37fb6d78decb6392b9a756d1fb0b298218577e6f","user":{"login":"convexopt","id":7919400,"avatar_url":"https://avatars.githubusercontent.com/u/7919400?v=3","gravatar_id":"","url":"https://api.github.com/users/convexopt","html_url":"https://github.com/convexopt","followers_url":"https://api.github.com/users/convexopt/followers","following_url":"https://api.github.com/users/convexopt/following{/other_user}","gists_url":"https://api.github.com/users/convexopt/gists{/gist_id}","starred_url":"https://api.github.com/users/convexopt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convexopt/subscriptions","organizations_url":"https://api.github.com/users/convexopt/orgs","repos_url":"https://api.github.com/users/convexopt/repos","events_url":"https://api.github.com/users/convexopt/events{/privacy}","received_events_url":"https://api.github.com/users/convexopt/received_events","type":"Organization","site_admin":false},"repo":{"id":20954246,"name":"gpkit","full_name":"convexopt/gpkit","owner":{"login":"convexopt","id":7919400,"avatar_url":"https://avatars.githubusercontent.com/u/7919400?v=3","gravatar_id":"","url":"https://api.github.com/users/convexopt","html_url":"https://github.com/convexopt","followers_url":"https://api.github.com/users/convexopt/followers","following_url":"https://api.github.com/users/convexopt/following{/other_user}","gists_url":"https://api.github.com/users/convexopt/gists{/gist_id}","starred_url":"https://api.github.com/users/convexopt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convexopt/subscriptions","organizations_url":"https://api.github.com/users/convexopt/orgs","repos_url":"https://api.github.com/users/convexopt/repos","events_url":"https://api.github.com/users/convexopt/events{/privacy}","received_events_url":"https://api.github.com/users/convexopt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/convexopt/gpkit","description":"Python package for defining and manipulating geometric programming models.","fork":false,"url":"https://api.github.com/repos/convexopt/gpkit","forks_url":"https://api.github.com/repos/convexopt/gpkit/forks","keys_url":"https://api.github.com/repos/convexopt/gpkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/convexopt/gpkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/convexopt/gpkit/teams","hooks_url":"https://api.github.com/repos/convexopt/gpkit/hooks","issue_events_url":"https://api.github.com/repos/convexopt/gpkit/issues/events{/number}","events_url":"https://api.github.com/repos/convexopt/gpkit/events","assignees_url":"https://api.github.com/repos/convexopt/gpkit/assignees{/user}","branches_url":"https://api.github.com/repos/convexopt/gpkit/branches{/branch}","tags_url":"https://api.github.com/repos/convexopt/gpkit/tags","blobs_url":"https://api.github.com/repos/convexopt/gpkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/convexopt/gpkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/convexopt/gpkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/convexopt/gpkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/convexopt/gpkit/statuses/{sha}","languages_url":"https://api.github.com/repos/convexopt/gpkit/languages","stargazers_url":"https://api.github.com/repos/convexopt/gpkit/stargazers","contributors_url":"https://api.github.com/repos/convexopt/gpkit/contributors","subscribers_url":"https://api.github.com/repos/convexopt/gpkit/subscribers","subscription_url":"https://api.github.com/repos/convexopt/gpkit/subscription","commits_url":"https://api.github.com/repos/convexopt/gpkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/convexopt/gpkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/convexopt/gpkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/convexopt/gpkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/convexopt/gpkit/contents/{+path}","compare_url":"https://api.github.com/repos/convexopt/gpkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/convexopt/gpkit/merges","archive_url":"https://api.github.com/repos/convexopt/gpkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/convexopt/gpkit/downloads","issues_url":"https://api.github.com/repos/convexopt/gpkit/issues{/number}","pulls_url":"https://api.github.com/repos/convexopt/gpkit/pulls{/number}","milestones_url":"https://api.github.com/repos/convexopt/gpkit/milestones{/number}","notifications_url":"https://api.github.com/repos/convexopt/gpkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/convexopt/gpkit/labels{/name}","releases_url":"https://api.github.com/repos/convexopt/gpkit/releases{/id}","created_at":"2014-06-18T08:04:06Z","updated_at":"2015-07-19T09:30:26Z","pushed_at":"2015-07-24T15:44:14Z","git_url":"git://github.com/convexopt/gpkit.git","ssh_url":"git@github.com:convexopt/gpkit.git","clone_url":"https://github.com/convexopt/gpkit.git","svn_url":"https://github.com/convexopt/gpkit","homepage":"http://gpkit.readthedocs.org","size":29722,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":51,"forks":2,"open_issues":51,"watchers":6,"default_branch":"master"}},"base":{"label":"convexopt:master","ref":"master","sha":"6003c8abfc023dfca1c77394cfc4f82fa358023c","user":{"login":"convexopt","id":7919400,"avatar_url":"https://avatars.githubusercontent.com/u/7919400?v=3","gravatar_id":"","url":"https://api.github.com/users/convexopt","html_url":"https://github.com/convexopt","followers_url":"https://api.github.com/users/convexopt/followers","following_url":"https://api.github.com/users/convexopt/following{/other_user}","gists_url":"https://api.github.com/users/convexopt/gists{/gist_id}","starred_url":"https://api.github.com/users/convexopt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convexopt/subscriptions","organizations_url":"https://api.github.com/users/convexopt/orgs","repos_url":"https://api.github.com/users/convexopt/repos","events_url":"https://api.github.com/users/convexopt/events{/privacy}","received_events_url":"https://api.github.com/users/convexopt/received_events","type":"Organization","site_admin":false},"repo":{"id":20954246,"name":"gpkit","full_name":"convexopt/gpkit","owner":{"login":"convexopt","id":7919400,"avatar_url":"https://avatars.githubusercontent.com/u/7919400?v=3","gravatar_id":"","url":"https://api.github.com/users/convexopt","html_url":"https://github.com/convexopt","followers_url":"https://api.github.com/users/convexopt/followers","following_url":"https://api.github.com/users/convexopt/following{/other_user}","gists_url":"https://api.github.com/users/convexopt/gists{/gist_id}","starred_url":"https://api.github.com/users/convexopt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/convexopt/subscriptions","organizations_url":"https://api.github.com/users/convexopt/orgs","repos_url":"https://api.github.com/users/convexopt/repos","events_url":"https://api.github.com/users/convexopt/events{/privacy}","received_events_url":"https://api.github.com/users/convexopt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/convexopt/gpkit","description":"Python package for defining and manipulating geometric programming models.","fork":false,"url":"https://api.github.com/repos/convexopt/gpkit","forks_url":"https://api.github.com/repos/convexopt/gpkit/forks","keys_url":"https://api.github.com/repos/convexopt/gpkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/convexopt/gpkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/convexopt/gpkit/teams","hooks_url":"https://api.github.com/repos/convexopt/gpkit/hooks","issue_events_url":"https://api.github.com/repos/convexopt/gpkit/issues/events{/number}","events_url":"https://api.github.com/repos/convexopt/gpkit/events","assignees_url":"https://api.github.com/repos/convexopt/gpkit/assignees{/user}","branches_url":"https://api.github.com/repos/convexopt/gpkit/branches{/branch}","tags_url":"https://api.github.com/repos/convexopt/gpkit/tags","blobs_url":"https://api.github.com/repos/convexopt/gpkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/convexopt/gpkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/convexopt/gpkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/convexopt/gpkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/convexopt/gpkit/statuses/{sha}","languages_url":"https://api.github.com/repos/convexopt/gpkit/languages","stargazers_url":"https://api.github.com/repos/convexopt/gpkit/stargazers","contributors_url":"https://api.github.com/repos/convexopt/gpkit/contributors","subscribers_url":"https://api.github.com/repos/convexopt/gpkit/subscribers","subscription_url":"https://api.github.com/repos/convexopt/gpkit/subscription","commits_url":"https://api.github.com/repos/convexopt/gpkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/convexopt/gpkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/convexopt/gpkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/convexopt/gpkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/convexopt/gpkit/contents/{+path}","compare_url":"https://api.github.com/repos/convexopt/gpkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/convexopt/gpkit/merges","archive_url":"https://api.github.com/repos/convexopt/gpkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/convexopt/gpkit/downloads","issues_url":"https://api.github.com/repos/convexopt/gpkit/issues{/number}","pulls_url":"https://api.github.com/repos/convexopt/gpkit/pulls{/number}","milestones_url":"https://api.github.com/repos/convexopt/gpkit/milestones{/number}","notifications_url":"https://api.github.com/repos/convexopt/gpkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/convexopt/gpkit/labels{/name}","releases_url":"https://api.github.com/repos/convexopt/gpkit/releases{/id}","created_at":"2014-06-18T08:04:06Z","updated_at":"2015-07-19T09:30:26Z","pushed_at":"2015-07-24T15:44:14Z","git_url":"git://github.com/convexopt/gpkit.git","ssh_url":"git@github.com:convexopt/gpkit.git","clone_url":"https://github.com/convexopt/gpkit.git","svn_url":"https://github.com/convexopt/gpkit","homepage":"http://gpkit.readthedocs.org","size":29722,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":51,"forks":2,"open_issues":51,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/convexopt/gpkit/pulls/301"},"html":{"href":"https://github.com/convexopt/gpkit/pull/301"},"issue":{"href":"https://api.github.com/repos/convexopt/gpkit/issues/301"},"comments":{"href":"https://api.github.com/repos/convexopt/gpkit/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/convexopt/gpkit/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/convexopt/gpkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/convexopt/gpkit/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/convexopt/gpkit/statuses/37fb6d78decb6392b9a756d1fb0b298218577e6f"}}}}