{"action":"created","issue":{"url":"https://api.github.com/repos/UFAL-DSG/alex/issues/166","labels_url":"https://api.github.com/repos/UFAL-DSG/alex/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/UFAL-DSG/alex/issues/166/comments","events_url":"https://api.github.com/repos/UFAL-DSG/alex/issues/166/events","html_url":"https://github.com/UFAL-DSG/alex/pull/166","id":82462142,"number":166,"title":"Moving route_alternative to a special state variable","user":{"login":"tuetschek","id":2931158,"avatar_url":"https://avatars.githubusercontent.com/u/2931158?v=3","gravatar_id":"","url":"https://api.github.com/users/tuetschek","html_url":"https://github.com/tuetschek","followers_url":"https://api.github.com/users/tuetschek/followers","following_url":"https://api.github.com/users/tuetschek/following{/other_user}","gists_url":"https://api.github.com/users/tuetschek/gists{/gist_id}","starred_url":"https://api.github.com/users/tuetschek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuetschek/subscriptions","organizations_url":"https://api.github.com/users/tuetschek/orgs","repos_url":"https://api.github.com/users/tuetschek/repos","events_url":"https://api.github.com/users/tuetschek/events{/privacy}","received_events_url":"https://api.github.com/users/tuetschek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T14:56:37Z","updated_at":"2015-05-29T15:12:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/UFAL-DSG/alex/pulls/166","html_url":"https://github.com/UFAL-DSG/alex/pull/166","diff_url":"https://github.com/UFAL-DSG/alex/pull/166.diff","patch_url":"https://github.com/UFAL-DSG/alex/pull/166.patch"},"body":"The `dialogue_state` variable is now a member variable of the state object,\r\n(same as `conn_info` and `directions`), not a slot.\r\n\r\nThis reflects the actual usage of the variable – it is always integer,\r\nnever a probability distribution. Now we don't need to use `isinstance`\r\nto test whether a route has been found, we can use `is not None`, which\r\nis nicer.\r\n\r\nThis also fixes the problem reported in #165."},"comment":{"url":"https://api.github.com/repos/UFAL-DSG/alex/issues/comments/106842215","html_url":"https://github.com/UFAL-DSG/alex/pull/166#issuecomment-106842215","issue_url":"https://api.github.com/repos/UFAL-DSG/alex/issues/166","id":106842215,"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-05-29T15:12:39Z","updated_at":"2015-05-29T15:12:39Z","body":"[![Code Health](https://landscape.io/badge/177264/landscape.svg?style=flat)](https://landscape.io/diff/165227)\nRepository health increased by 0.00% when pulling **[fe0b991](https://github.com/UFAL-DSG/alex/commit/fe0b9916a44aaba69a3887749adf1e2c45c1d1de) on fix_165** into **[86de4ba](https://github.com/UFAL-DSG/alex/commit/86de4ba28096787681c71479d533dda6a0be4f3c) on master**.\n\n * [1 new problem was found](https://landscape.io/diff/165227) (including 0 errors and 1 code smell).\n * [2 problems were fixed](https://landscape.io/diff/165227/fixed) (including 0 errors and 1 code smell)."}}