{"action":"created","issue":{"url":"https://api.github.com/repos/Yelp/MOE/issues/446","labels_url":"https://api.github.com/repos/Yelp/MOE/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/MOE/issues/446/comments","events_url":"https://api.github.com/repos/Yelp/MOE/issues/446/events","html_url":"https://github.com/Yelp/MOE/issues/446","id":112915453,"number":446,"title":"Improve error message when wrong number of hyperparameters","user":{"login":"orasis","id":350464,"avatar_url":"https://avatars.githubusercontent.com/u/350464?v=3","gravatar_id":"","url":"https://api.github.com/users/orasis","html_url":"https://github.com/orasis","followers_url":"https://api.github.com/users/orasis/followers","following_url":"https://api.github.com/users/orasis/following{/other_user}","gists_url":"https://api.github.com/users/orasis/gists{/gist_id}","starred_url":"https://api.github.com/users/orasis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orasis/subscriptions","organizations_url":"https://api.github.com/users/orasis/orgs","repos_url":"https://api.github.com/users/orasis/repos","events_url":"https://api.github.com/users/orasis/events{/privacy}","received_events_url":"https://api.github.com/users/orasis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yelp/MOE/labels/P1%20-%20Do%20now","name":"P1 - Do now","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"suntzu86","id":2710323,"avatar_url":"https://avatars.githubusercontent.com/u/2710323?v=3","gravatar_id":"","url":"https://api.github.com/users/suntzu86","html_url":"https://github.com/suntzu86","followers_url":"https://api.github.com/users/suntzu86/followers","following_url":"https://api.github.com/users/suntzu86/following{/other_user}","gists_url":"https://api.github.com/users/suntzu86/gists{/gist_id}","starred_url":"https://api.github.com/users/suntzu86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suntzu86/subscriptions","organizations_url":"https://api.github.com/users/suntzu86/orgs","repos_url":"https://api.github.com/users/suntzu86/repos","events_url":"https://api.github.com/users/suntzu86/events{/privacy}","received_events_url":"https://api.github.com/users/suntzu86/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-22T23:57:32Z","updated_at":"2015-11-04T04:55:05Z","closed_at":null,"body":"When using 2 hyper parameters when 3 is expected, the current error is \"Request failed with response  500: None\r\nlist index out of range\"\r\n\r\nThis took me about 20 minutes to hunt down.  A more explicit error message stating that the wrong number of hyper parameters was provided would be better.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Yelp/MOE/issues/comments/153572485","html_url":"https://github.com/Yelp/MOE/issues/446#issuecomment-153572485","issue_url":"https://api.github.com/repos/Yelp/MOE/issues/446","id":153572485,"user":{"login":"suntzu86","id":2710323,"avatar_url":"https://avatars.githubusercontent.com/u/2710323?v=3","gravatar_id":"","url":"https://api.github.com/users/suntzu86","html_url":"https://github.com/suntzu86","followers_url":"https://api.github.com/users/suntzu86/followers","following_url":"https://api.github.com/users/suntzu86/following{/other_user}","gists_url":"https://api.github.com/users/suntzu86/gists{/gist_id}","starred_url":"https://api.github.com/users/suntzu86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suntzu86/subscriptions","organizations_url":"https://api.github.com/users/suntzu86/orgs","repos_url":"https://api.github.com/users/suntzu86/repos","events_url":"https://api.github.com/users/suntzu86/events{/privacy}","received_events_url":"https://api.github.com/users/suntzu86/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T04:55:05Z","updated_at":"2015-11-04T04:55:05Z","body":"Sorry I've been gone for so long! See: #448 for details.\r\n\r\nI'll add this to my upcoming to-do list. Yup, I agree, the I/O bounds/type/etc checking is pretty weak. You can pass in ``inf`` and ``NaN`` right now too in place of numeric parameters and watch things break :/\r\n\r\nnum hyperparams in particular is tougher b/c the precise number is dependent on the covariance kernel. But I'll make report an error properly."}}