{"action":"created","issue":{"url":"https://api.github.com/repos/pgmpy/pgmpy/issues/512","labels_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/512/comments","events_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/512/events","html_url":"https://github.com/pgmpy/pgmpy/pull/512","id":115681639,"number":512,"title":"Added BIF.py into readwrite","user":{"login":"khalibartan","id":8940456,"avatar_url":"https://avatars.githubusercontent.com/u/8940456?v=3","gravatar_id":"","url":"https://api.github.com/users/khalibartan","html_url":"https://github.com/khalibartan","followers_url":"https://api.github.com/users/khalibartan/followers","following_url":"https://api.github.com/users/khalibartan/following{/other_user}","gists_url":"https://api.github.com/users/khalibartan/gists{/gist_id}","starred_url":"https://api.github.com/users/khalibartan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalibartan/subscriptions","organizations_url":"https://api.github.com/users/khalibartan/orgs","repos_url":"https://api.github.com/users/khalibartan/repos","events_url":"https://api.github.com/users/khalibartan/events{/privacy}","received_events_url":"https://api.github.com/users/khalibartan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-07T18:01:12Z","updated_at":"2015-11-08T04:20:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pgmpy/pgmpy/pulls/512","html_url":"https://github.com/pgmpy/pgmpy/pull/512","diff_url":"https://github.com/pgmpy/pgmpy/pull/512.diff","patch_url":"https://github.com/pgmpy/pgmpy/pull/512.patch"},"body":"All functions are not implemented. only get_variable,get_states and\r\nget_property are implemented.\r\n\r\nCreating this pull request for easy review. \r\nI have tested these methods on [munin2.bif](http://www.bnlearn.com/bnrepository/munin4/munin2.bif.gz) and [dog-problem.bif](http://www.cs.cmu.edu/~javabayes/Examples/DogProblem/dog-problem.bif) and they are working fine.\r\nImplemented these functions in accordance with [BIF v0.15 as given here](http://www.cs.cmu.edu/~javabayes/Home/node7.html#SECTION00730000000000000000) .\r\nTime taken to run if not importing pgmpy and numpy was 0.06s on average with printing the complete variable_states for munin2.bif (PS: 1003 nodes)\r\nCheck issue #506 .\r\n"},"comment":{"url":"https://api.github.com/repos/pgmpy/pgmpy/issues/comments/154774962","html_url":"https://github.com/pgmpy/pgmpy/pull/512#issuecomment-154774962","issue_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/512","id":154774962,"user":{"login":"landscape-bot","id":10010231,"avatar_url":"https://avatars.githubusercontent.com/u/10010231?v=3","gravatar_id":"","url":"https://api.github.com/users/landscape-bot","html_url":"https://github.com/landscape-bot","followers_url":"https://api.github.com/users/landscape-bot/followers","following_url":"https://api.github.com/users/landscape-bot/following{/other_user}","gists_url":"https://api.github.com/users/landscape-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/landscape-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landscape-bot/subscriptions","organizations_url":"https://api.github.com/users/landscape-bot/orgs","repos_url":"https://api.github.com/users/landscape-bot/repos","events_url":"https://api.github.com/users/landscape-bot/events{/privacy}","received_events_url":"https://api.github.com/users/landscape-bot/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T04:20:10Z","updated_at":"2015-11-08T04:20:10Z","body":"[![Code Health](https://landscape.io/badge/249640/landscape.svg?style=flat)](https://landscape.io/diff/235447)\nRepository health decreased by 0.43% when pulling **[8ff1c72](https://github.com/khalibartan/pgmpy/commit/8ff1c7297c971319659eb983e8f88c7e6dc24d16) on khalibartan:dev** into **[534896b](https://github.com/pgmpy/pgmpy/commit/534896b409fb99885499a62df6c2212e58228238) on pgmpy:dev**.\n\n * [59 new problems were found](https://landscape.io/diff/235447) (including 4 errors and 0 code smells).\n * No problems were fixed."}}