{"action":"created","comment":{"url":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/comments/210830333","pull_request_review_id":147120776,"id":210830333,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDgzMDMzMw==","diff_hunk":"@@ -0,0 +1,32 @@\n+#!/usr/bin/env python\n+# -*- coding: utf-8 -*-\n+\n+# Import modules\n+import pytest\n+import numpy as np\n+from numbers import Number\n+\n+# Import from package\n+from pyswarms import cost\n+\n+\n+@pytest.mark.parametrize(\n+    \"objective_func\",\n+    [np.sum(), np.prod()]\n+)\n+def test_cost_decorator(objective_func, particles):\n+    def cost_func_w_o_decorator(x):","path":"tests/utils/decorators/test_decorators.py","position":18,"original_position":18,"commit_id":"c18f05147f873deff9a6ac1dad6be4ae116ed492","original_commit_id":"c18f05147f873deff9a6ac1dad6be4ae116ed492","user":{"login":"ljvmiranda921","id":12949683,"node_id":"MDQ6VXNlcjEyOTQ5Njgz","avatar_url":"https://avatars0.githubusercontent.com/u/12949683?v=4","gravatar_id":"","url":"https://api.github.com/users/ljvmiranda921","html_url":"https://github.com/ljvmiranda921","followers_url":"https://api.github.com/users/ljvmiranda921/followers","following_url":"https://api.github.com/users/ljvmiranda921/following{/other_user}","gists_url":"https://api.github.com/users/ljvmiranda921/gists{/gist_id}","starred_url":"https://api.github.com/users/ljvmiranda921/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljvmiranda921/subscriptions","organizations_url":"https://api.github.com/users/ljvmiranda921/orgs","repos_url":"https://api.github.com/users/ljvmiranda921/repos","events_url":"https://api.github.com/users/ljvmiranda921/events{/privacy}","received_events_url":"https://api.github.com/users/ljvmiranda921/received_events","type":"User","site_admin":false},"body":"It's ok to spell it out :laughing: `cost_func_without_decorator(x)` and `cost_fun_with_decorator`","created_at":"2018-08-17T07:50:21Z","updated_at":"2018-08-17T07:53:28Z","html_url":"https://github.com/ljvmiranda921/pyswarms/pull/226#discussion_r210830333","pull_request_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/226","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/comments/210830333"},"html":{"href":"https://github.com/ljvmiranda921/pyswarms/pull/226#discussion_r210830333"},"pull_request":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/226"}}},"pull_request":{"url":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/226","id":208633335,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NjMzMzM1","html_url":"https://github.com/ljvmiranda921/pyswarms/pull/226","diff_url":"https://github.com/ljvmiranda921/pyswarms/pull/226.diff","patch_url":"https://github.com/ljvmiranda921/pyswarms/pull/226.patch","issue_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/226","number":226,"state":"open","locked":false,"title":"[WIP] Add cost function decorator","user":{"login":"whzup","id":39431903,"node_id":"MDQ6VXNlcjM5NDMxOTAz","avatar_url":"https://avatars3.githubusercontent.com/u/39431903?v=4","gravatar_id":"","url":"https://api.github.com/users/whzup","html_url":"https://github.com/whzup","followers_url":"https://api.github.com/users/whzup/followers","following_url":"https://api.github.com/users/whzup/following{/other_user}","gists_url":"https://api.github.com/users/whzup/gists{/gist_id}","starred_url":"https://api.github.com/users/whzup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whzup/subscriptions","organizations_url":"https://api.github.com/users/whzup/orgs","repos_url":"https://api.github.com/users/whzup/repos","events_url":"https://api.github.com/users/whzup/events{/privacy}","received_events_url":"https://api.github.com/users/whzup/received_events","type":"User","site_admin":false},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nAdded a cost function decorator that allows the user to write his cost function as a strategy which has to be applied to every particle in the swarm. It's a decorator that takes arguments as described [here](https://stackoverflow.com/questions/5929107/decorators-with-parameters).\r\n\r\n## Related Issue\r\n<!--- This project only accepts pull requests related to open issues -->\r\n<!--- If suggesting a new feature or change, please discuss it in an issue first -->\r\n<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->\r\n<!--- Please link to the issue here: -->\r\nResolves: #228 \r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\nAt the moment, the way one has to write the cost function is very counterintuitive as it is necessary to write a function that returns an array of shape `(n_particles, )`. This decorator \"vectorizes\" a cost function which returns just a single value.\r\n \r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\n**TBD**\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [X] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n**TBD**\r\n- [X] My code follows the code style of this project.\r\n- [X] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [X] I have read the **CONTRIBUTING** document.\r\n- [ ] I have added tests to cover my changes.\r\n- [ ] All new and existing tests passed.\r\n\r\n## TODO:\r\n- [ ] Add tests (How to test decorators?)\r\n- [ ] Add exceptions for the cost function (Do some research on how to inspect a function before runtime)\r\n- [ ] Add the `__all__` of the decorator to `__all__` of the whole package with the `extend` method see [numpy](https://github.com/numpy/numpy/blob/master/numpy/__init__.py)\r\n- [ ] Change all occurences of cost functions to include the decorator","created_at":"2018-08-15T17:52:31Z","updated_at":"2018-08-17T07:53:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"394b1982a50ef1cbe6f90745f118d848f6b4de2d","assignee":{"login":"ljvmiranda921","id":12949683,"node_id":"MDQ6VXNlcjEyOTQ5Njgz","avatar_url":"https://avatars0.githubusercontent.com/u/12949683?v=4","gravatar_id":"","url":"https://api.github.com/users/ljvmiranda921","html_url":"https://github.com/ljvmiranda921","followers_url":"https://api.github.com/users/ljvmiranda921/followers","following_url":"https://api.github.com/users/ljvmiranda921/following{/other_user}","gists_url":"https://api.github.com/users/ljvmiranda921/gists{/gist_id}","starred_url":"https://api.github.com/users/ljvmiranda921/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljvmiranda921/subscriptions","organizations_url":"https://api.github.com/users/ljvmiranda921/orgs","repos_url":"https://api.github.com/users/ljvmiranda921/repos","events_url":"https://api.github.com/users/ljvmiranda921/events{/privacy}","received_events_url":"https://api.github.com/users/ljvmiranda921/received_events","type":"User","site_admin":false},"assignees":[{"login":"ljvmiranda921","id":12949683,"node_id":"MDQ6VXNlcjEyOTQ5Njgz","avatar_url":"https://avatars0.githubusercontent.com/u/12949683?v=4","gravatar_id":"","url":"https://api.github.com/users/ljvmiranda921","html_url":"https://github.com/ljvmiranda921","followers_url":"https://api.github.com/users/ljvmiranda921/followers","following_url":"https://api.github.com/users/ljvmiranda921/following{/other_user}","gists_url":"https://api.github.com/users/ljvmiranda921/gists{/gist_id}","starred_url":"https://api.github.com/users/ljvmiranda921/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljvmiranda921/subscriptions","organizations_url":"https://api.github.com/users/ljvmiranda921/orgs","repos_url":"https://api.github.com/users/ljvmiranda921/repos","events_url":"https://api.github.com/users/ljvmiranda921/events{/privacy}","received_events_url":"https://api.github.com/users/ljvmiranda921/received_events","type":"User","site_admin":false},{"login":"whzup","id":39431903,"node_id":"MDQ6VXNlcjM5NDMxOTAz","avatar_url":"https://avatars3.githubusercontent.com/u/39431903?v=4","gravatar_id":"","url":"https://api.github.com/users/whzup","html_url":"https://github.com/whzup","followers_url":"https://api.github.com/users/whzup/followers","following_url":"https://api.github.com/users/whzup/following{/other_user}","gists_url":"https://api.github.com/users/whzup/gists{/gist_id}","starred_url":"https://api.github.com/users/whzup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whzup/subscriptions","organizations_url":"https://api.github.com/users/whzup/orgs","repos_url":"https://api.github.com/users/whzup/repos","events_url":"https://api.github.com/users/whzup/events{/privacy}","received_events_url":"https://api.github.com/users/whzup/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":654552192,"node_id":"MDU6TGFiZWw2NTQ1NTIxOTI=","url":"https://api.github.com/repos/ljvmiranda921/pyswarms/labels/documentation","name":"documentation","color":"5319e7","default":false},{"id":645411971,"node_id":"MDU6TGFiZWw2NDU0MTE5NzE=","url":"https://api.github.com/repos/ljvmiranda921/pyswarms/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":961920752,"node_id":"MDU6TGFiZWw5NjE5MjA3NTI=","url":"https://api.github.com/repos/ljvmiranda921/pyswarms/labels/unit%20tests","name":"unit tests","color":"f9e22f","default":false},{"id":1016681578,"node_id":"MDU6TGFiZWwxMDE2NjgxNTc4","url":"https://api.github.com/repos/ljvmiranda921/pyswarms/labels/v.0.4.0","name":"v.0.4.0","color":"c2e0c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/226/commits","review_comments_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/226/comments","review_comment_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/226/comments","statuses_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/statuses/c18f05147f873deff9a6ac1dad6be4ae116ed492","head":{"label":"whzup:decorators","ref":"decorators","sha":"c18f05147f873deff9a6ac1dad6be4ae116ed492","user":{"login":"whzup","id":39431903,"node_id":"MDQ6VXNlcjM5NDMxOTAz","avatar_url":"https://avatars3.githubusercontent.com/u/39431903?v=4","gravatar_id":"","url":"https://api.github.com/users/whzup","html_url":"https://github.com/whzup","followers_url":"https://api.github.com/users/whzup/followers","following_url":"https://api.github.com/users/whzup/following{/other_user}","gists_url":"https://api.github.com/users/whzup/gists{/gist_id}","starred_url":"https://api.github.com/users/whzup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whzup/subscriptions","organizations_url":"https://api.github.com/users/whzup/orgs","repos_url":"https://api.github.com/users/whzup/repos","events_url":"https://api.github.com/users/whzup/events{/privacy}","received_events_url":"https://api.github.com/users/whzup/received_events","type":"User","site_admin":false},"repo":{"id":144883726,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ4ODM3MjY=","name":"pyswarms","full_name":"whzup/pyswarms","owner":{"login":"whzup","id":39431903,"node_id":"MDQ6VXNlcjM5NDMxOTAz","avatar_url":"https://avatars3.githubusercontent.com/u/39431903?v=4","gravatar_id":"","url":"https://api.github.com/users/whzup","html_url":"https://github.com/whzup","followers_url":"https://api.github.com/users/whzup/followers","following_url":"https://api.github.com/users/whzup/following{/other_user}","gists_url":"https://api.github.com/users/whzup/gists{/gist_id}","starred_url":"https://api.github.com/users/whzup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whzup/subscriptions","organizations_url":"https://api.github.com/users/whzup/orgs","repos_url":"https://api.github.com/users/whzup/repos","events_url":"https://api.github.com/users/whzup/events{/privacy}","received_events_url":"https://api.github.com/users/whzup/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whzup/pyswarms","description":"A research toolkit for particle swarm optimization in Python ","fork":true,"url":"https://api.github.com/repos/whzup/pyswarms","forks_url":"https://api.github.com/repos/whzup/pyswarms/forks","keys_url":"https://api.github.com/repos/whzup/pyswarms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whzup/pyswarms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whzup/pyswarms/teams","hooks_url":"https://api.github.com/repos/whzup/pyswarms/hooks","issue_events_url":"https://api.github.com/repos/whzup/pyswarms/issues/events{/number}","events_url":"https://api.github.com/repos/whzup/pyswarms/events","assignees_url":"https://api.github.com/repos/whzup/pyswarms/assignees{/user}","branches_url":"https://api.github.com/repos/whzup/pyswarms/branches{/branch}","tags_url":"https://api.github.com/repos/whzup/pyswarms/tags","blobs_url":"https://api.github.com/repos/whzup/pyswarms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whzup/pyswarms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whzup/pyswarms/git/refs{/sha}","trees_url":"https://api.github.com/repos/whzup/pyswarms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whzup/pyswarms/statuses/{sha}","languages_url":"https://api.github.com/repos/whzup/pyswarms/languages","stargazers_url":"https://api.github.com/repos/whzup/pyswarms/stargazers","contributors_url":"https://api.github.com/repos/whzup/pyswarms/contributors","subscribers_url":"https://api.github.com/repos/whzup/pyswarms/subscribers","subscription_url":"https://api.github.com/repos/whzup/pyswarms/subscription","commits_url":"https://api.github.com/repos/whzup/pyswarms/commits{/sha}","git_commits_url":"https://api.github.com/repos/whzup/pyswarms/git/commits{/sha}","comments_url":"https://api.github.com/repos/whzup/pyswarms/comments{/number}","issue_comment_url":"https://api.github.com/repos/whzup/pyswarms/issues/comments{/number}","contents_url":"https://api.github.com/repos/whzup/pyswarms/contents/{+path}","compare_url":"https://api.github.com/repos/whzup/pyswarms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whzup/pyswarms/merges","archive_url":"https://api.github.com/repos/whzup/pyswarms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whzup/pyswarms/downloads","issues_url":"https://api.github.com/repos/whzup/pyswarms/issues{/number}","pulls_url":"https://api.github.com/repos/whzup/pyswarms/pulls{/number}","milestones_url":"https://api.github.com/repos/whzup/pyswarms/milestones{/number}","notifications_url":"https://api.github.com/repos/whzup/pyswarms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whzup/pyswarms/labels{/name}","releases_url":"https://api.github.com/repos/whzup/pyswarms/releases{/id}","deployments_url":"https://api.github.com/repos/whzup/pyswarms/deployments","created_at":"2018-08-15T17:35:01Z","updated_at":"2018-08-15T17:35:03Z","pushed_at":"2018-08-17T04:42:55Z","git_url":"git://github.com/whzup/pyswarms.git","ssh_url":"git@github.com:whzup/pyswarms.git","clone_url":"https://github.com/whzup/pyswarms.git","svn_url":"https://github.com/whzup/pyswarms","homepage":"https://pyswarms.readthedocs.io/en/latest/","size":6358,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ljvmiranda921:development","ref":"development","sha":"f9dc37c739f7274e9d720a50cb6b59706aa7c4f8","user":{"login":"ljvmiranda921","id":12949683,"node_id":"MDQ6VXNlcjEyOTQ5Njgz","avatar_url":"https://avatars0.githubusercontent.com/u/12949683?v=4","gravatar_id":"","url":"https://api.github.com/users/ljvmiranda921","html_url":"https://github.com/ljvmiranda921","followers_url":"https://api.github.com/users/ljvmiranda921/followers","following_url":"https://api.github.com/users/ljvmiranda921/following{/other_user}","gists_url":"https://api.github.com/users/ljvmiranda921/gists{/gist_id}","starred_url":"https://api.github.com/users/ljvmiranda921/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljvmiranda921/subscriptions","organizations_url":"https://api.github.com/users/ljvmiranda921/orgs","repos_url":"https://api.github.com/users/ljvmiranda921/repos","events_url":"https://api.github.com/users/ljvmiranda921/events{/privacy}","received_events_url":"https://api.github.com/users/ljvmiranda921/received_events","type":"User","site_admin":false},"repo":{"id":97002861,"node_id":"MDEwOlJlcG9zaXRvcnk5NzAwMjg2MQ==","name":"pyswarms","full_name":"ljvmiranda921/pyswarms","owner":{"login":"ljvmiranda921","id":12949683,"node_id":"MDQ6VXNlcjEyOTQ5Njgz","avatar_url":"https://avatars0.githubusercontent.com/u/12949683?v=4","gravatar_id":"","url":"https://api.github.com/users/ljvmiranda921","html_url":"https://github.com/ljvmiranda921","followers_url":"https://api.github.com/users/ljvmiranda921/followers","following_url":"https://api.github.com/users/ljvmiranda921/following{/other_user}","gists_url":"https://api.github.com/users/ljvmiranda921/gists{/gist_id}","starred_url":"https://api.github.com/users/ljvmiranda921/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljvmiranda921/subscriptions","organizations_url":"https://api.github.com/users/ljvmiranda921/orgs","repos_url":"https://api.github.com/users/ljvmiranda921/repos","events_url":"https://api.github.com/users/ljvmiranda921/events{/privacy}","received_events_url":"https://api.github.com/users/ljvmiranda921/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ljvmiranda921/pyswarms","description":"A research toolkit for particle swarm optimization in Python ","fork":false,"url":"https://api.github.com/repos/ljvmiranda921/pyswarms","forks_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/forks","keys_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/teams","hooks_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/hooks","issue_events_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/events{/number}","events_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/events","assignees_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/assignees{/user}","branches_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/branches{/branch}","tags_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/tags","blobs_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/statuses/{sha}","languages_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/languages","stargazers_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/stargazers","contributors_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/contributors","subscribers_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/subscribers","subscription_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/subscription","commits_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/contents/{+path}","compare_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/merges","archive_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/downloads","issues_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues{/number}","pulls_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls{/number}","milestones_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/milestones{/number}","notifications_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/labels{/name}","releases_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/releases{/id}","deployments_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/deployments","created_at":"2017-07-12T12:04:45Z","updated_at":"2018-08-16T15:17:01Z","pushed_at":"2018-08-17T04:42:58Z","git_url":"git://github.com/ljvmiranda921/pyswarms.git","ssh_url":"git@github.com:ljvmiranda921/pyswarms.git","clone_url":"https://github.com/ljvmiranda921/pyswarms.git","svn_url":"https://github.com/ljvmiranda921/pyswarms","homepage":"https://pyswarms.readthedocs.io/en/latest/","size":6365,"stargazers_count":190,"watchers_count":190,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":68,"open_issues":14,"watchers":190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/226"},"html":{"href":"https://github.com/ljvmiranda921/pyswarms/pull/226"},"issue":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/226"},"comments":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/226/comments"},"review_comments":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/226/comments"},"review_comment":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/226/commits"},"statuses":{"href":"https://api.github.com/repos/ljvmiranda921/pyswarms/statuses/c18f05147f873deff9a6ac1dad6be4ae116ed492"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ljvmiranda921"}}