{"action":"created","issue":{"url":"https://api.github.com/repos/acados/acados/issues/291","repository_url":"https://api.github.com/repos/acados/acados","labels_url":"https://api.github.com/repos/acados/acados/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/acados/acados/issues/291/comments","events_url":"https://api.github.com/repos/acados/acados/issues/291/events","html_url":"https://github.com/acados/acados/pull/291","id":322230297,"number":291,"title":"Unit tests for nonlinear chain example","user":{"login":"bnovoselnik","id":4226560,"avatar_url":"https://avatars3.githubusercontent.com/u/4226560?v=4","gravatar_id":"","url":"https://api.github.com/users/bnovoselnik","html_url":"https://github.com/bnovoselnik","followers_url":"https://api.github.com/users/bnovoselnik/followers","following_url":"https://api.github.com/users/bnovoselnik/following{/other_user}","gists_url":"https://api.github.com/users/bnovoselnik/gists{/gist_id}","starred_url":"https://api.github.com/users/bnovoselnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnovoselnik/subscriptions","organizations_url":"https://api.github.com/users/bnovoselnik/orgs","repos_url":"https://api.github.com/users/bnovoselnik/repos","events_url":"https://api.github.com/users/bnovoselnik/events{/privacy}","received_events_url":"https://api.github.com/users/bnovoselnik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-11T09:30:11Z","updated_at":"2018-05-14T10:18:06Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/acados/acados/pulls/291","html_url":"https://github.com/acados/acados/pull/291","diff_url":"https://github.com/acados/acados/pull/291.diff","patch_url":"https://github.com/acados/acados/pull/291.patch"},"body":"- created unit test for nonlinear chain example\r\n- different combinations can be tested: horizon lengths, number of masses, types of constraints (box, general, nonlinear+general), models (continuous, discrete, mixed), integrators (irk, erk, lifted irk, new lifted irk, mixed), stage costs (linear ls, nonlinear ls, mixed), qp solvers (sparse hpipm, sparse hpmpc, sparse qpdunes, dense qpoases, dense qore, dense hpipm)\r\n- a simple command line argument can control the number of test instances, i.e. by default the following combinations are tested:\r\n\r\n```cpp\r\nhorizon_lenghts = {20, 25};\r\nnum_masses = {2, 3, 4};\r\ncons = {\"NONLINEAR+GENERAL\"};\r\nmodels = {\"DISCRETE\", \"CONTINUOUS\", \"MIXED\"};\r\nintegrators = {\"MIXED\"};\r\ncosts = {\"MIXED\"};\r\nqp_solvers = {\"SPARSE_HPIPM\", \"SPARSE_HPMPC\", \"SPARSE_QPDUNES\", \"DENSE_HPIPM\", \"DENSE_QPOASES\", \"DENSE_QORE\"};\r\n```\r\nand if  \"--EXTENSIVE\" is passed as a command line argument a slightly higher number of instances are tested:\r\n\r\n```cpp\r\nhorizon_lenghts = {20};\r\nnum_masses = {2, 3, 4};\r\ncons = {\"BOX\", \"GENERAL\", \"NONLINEAR+GENERAL\"};\r\nmodels = {\"DISCRETE\", \"CONTINUOUS\", \"MIXED\"};\r\nintegrators = {\"MIXED\"};\r\ncosts = {\"MIXED\"};\r\nqp_solvers = {\"SPARSE_HPIPM\", \"SPARSE_HPMPC\", \"SPARSE_QPDUNES\", \"DENSE_HPIPM\", \"DENSE_QPOASES\", \"DENSE_QORE\"};\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/acados/acados/issues/comments/388768237","html_url":"https://github.com/acados/acados/pull/291#issuecomment-388768237","issue_url":"https://api.github.com/repos/acados/acados/issues/291","id":388768237,"user":{"login":"codecov[bot]","id":22429695,"avatar_url":"https://avatars2.githubusercontent.com/in/254?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov%5Bbot%5D","html_url":"https://github.com/apps/codecov","followers_url":"https://api.github.com/users/codecov%5Bbot%5D/followers","following_url":"https://api.github.com/users/codecov%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codecov%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codecov%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codecov%5Bbot%5D/repos","events_url":"https://api.github.com/users/codecov%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codecov%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-05-14T10:18:06Z","updated_at":"2018-05-14T10:18:06Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/acados/acados/pull/291?src=pr&el=h1) Report\n> Merging [#291](https://codecov.io/gh/acados/acados/pull/291?src=pr&el=desc) into [master](https://codecov.io/gh/acados/acados/commit/9e9ed24aaf7faa2af9b9768ae09ee71ceac08de6?src=pr&el=desc) will **decrease** coverage by `0.79%`.\n> The diff coverage is `n/a`.\n\n\n```diff\n@@            Coverage Diff            @@\n##           master     #291     +/-   ##\n=========================================\n- Coverage   82.29%   81.49%   -0.8%     \n=========================================\n  Files          45       45             \n  Lines        9103     9090     -13     \n=========================================\n- Hits         7491     7408     -83     \n- Misses       1612     1682     +70\n```\n"}}
{"actor":{"display_login":"codecov"}}