{"action":"created","issue":{"url":"https://api.github.com/repos/ApolloAuto/apollo/issues/3820","repository_url":"https://api.github.com/repos/ApolloAuto/apollo","labels_url":"https://api.github.com/repos/ApolloAuto/apollo/issues/3820/labels{/name}","comments_url":"https://api.github.com/repos/ApolloAuto/apollo/issues/3820/comments","events_url":"https://api.github.com/repos/ApolloAuto/apollo/issues/3820/events","html_url":"https://github.com/ApolloAuto/apollo/issues/3820","id":313244251,"node_id":"MDU6SXNzdWUzMTMyNDQyNTE=","number":3820,"title":"Apollo and software development process","user":{"login":"ubercool2","id":37945441,"node_id":"MDQ6VXNlcjM3OTQ1NDQx","avatar_url":"https://avatars0.githubusercontent.com/u/37945441?v=4","gravatar_id":"","url":"https://api.github.com/users/ubercool2","html_url":"https://github.com/ubercool2","followers_url":"https://api.github.com/users/ubercool2/followers","following_url":"https://api.github.com/users/ubercool2/following{/other_user}","gists_url":"https://api.github.com/users/ubercool2/gists{/gist_id}","starred_url":"https://api.github.com/users/ubercool2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubercool2/subscriptions","organizations_url":"https://api.github.com/users/ubercool2/orgs","repos_url":"https://api.github.com/users/ubercool2/repos","events_url":"https://api.github.com/users/ubercool2/events{/privacy}","received_events_url":"https://api.github.com/users/ubercool2/received_events","type":"User","site_admin":false},"labels":[{"id":900060877,"node_id":"MDU6TGFiZWw5MDAwNjA4Nzc=","url":"https://api.github.com/repos/ApolloAuto/apollo/labels/Module:%20All","name":"Module: All","color":"0d7c9b","default":false},{"id":640080604,"node_id":"MDU6TGFiZWw2NDAwODA2MDQ=","url":"https://api.github.com/repos/ApolloAuto/apollo/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T09:31:33Z","updated_at":"2018-08-29T23:18:32Z","closed_at":null,"author_association":"NONE","body":"Hi, I have couple of questions with respect to Apollo SW development process. Having well defined and followed SW development process is the key to safety and possible certification.\r\n\r\n1. Requirements. These can be high and low level and serve as an input to trace an intended feature development to its implementation and testing. I do not see them. For automotive standards such as ISO26262 this is a must.\r\n2. Use case(s) define in which context the SW is to be used. E.g. car performing a maneuver through a 4 way stop. I also didn’t find any use case.\r\n3. Code reviews. Are there any guidelines on how many people should review a particular pull request and what should they focus on? E.g. algorithm, style, …\r\n4. Testing. I see quite some tests written in Apollo. But do you have an idea how much of code is tested and untested? I see that you write unit and integration tests. It would be great if you would use a code coverage tool (e.g. gcov/lcov) and display unit test coverage and integration test coverage.\r\n5. Testing2. Do you run any SIL, HIL, torture or burn-in tests? Having coverage for those would also be great.\r\n6. Linting. I see some mentioning of linters but couldn’t quite figure it out which ones do you use. Do you use static code analysers such as e.g. klockworks?\r\n7. Design articles - I saw some how-tos but they do not seem to be explicitly linked to code. Design articles explains how a particular feature is to be used and what e.g. its limitations are.\r\n8. Builds. I see that you have travis server that builds PRs.\r\n\r\nThere is much more checks to be applied if the code is to be automotive grade (e.g. MISRA compliance, MCDC code coverage, signed builds, etc..) but above is the bare minimum."},"comment":{"url":"https://api.github.com/repos/ApolloAuto/apollo/issues/comments/417138265","html_url":"https://github.com/ApolloAuto/apollo/issues/3820#issuecomment-417138265","issue_url":"https://api.github.com/repos/ApolloAuto/apollo/issues/3820","id":417138265,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzEzODI2NQ==","user":{"login":"Zhenni17","id":32683471,"node_id":"MDQ6VXNlcjMyNjgzNDcx","avatar_url":"https://avatars2.githubusercontent.com/u/32683471?v=4","gravatar_id":"","url":"https://api.github.com/users/Zhenni17","html_url":"https://github.com/Zhenni17","followers_url":"https://api.github.com/users/Zhenni17/followers","following_url":"https://api.github.com/users/Zhenni17/following{/other_user}","gists_url":"https://api.github.com/users/Zhenni17/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhenni17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhenni17/subscriptions","organizations_url":"https://api.github.com/users/Zhenni17/orgs","repos_url":"https://api.github.com/users/Zhenni17/repos","events_url":"https://api.github.com/users/Zhenni17/events{/privacy}","received_events_url":"https://api.github.com/users/Zhenni17/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T23:18:32Z","updated_at":"2018-08-29T23:18:32Z","author_association":"CONTRIBUTOR","body":"Hi @ubercool2 , thank you for taking the time to explore Apollo and draft these questions for us. I would like to apologize that we did not get back to your questions sooner. These are all great questions and I will try to answer them individually:\r\n\r\n1.    The autonomous driving industry is continually evolving and if you have followed Apollo throughout, you will know that we release newer versions continuously. Our new ReadMe has a high-level description of the system and sensor requirements with both the Hardware and Software installation guides exploring these requirements in detail. If you have more specific questions about what requirements you are looking for, please let us know. \r\n2.    Could you provide a more specific explanation of what you are looking for? If you are talking about where you can test the driving scenarios, our simulation platform has hundreds of use-cases which you could explore once you have set-up the platform. Let me know if you need help to get that started. If you have suggestions on additional scenarios, please list them out so that we could review and hopefully include them as it will greatly benefit the developer community.\r\n3.    Yes, we do have code reviews. During the PR, it clearly states that “At least 1 approving review is required to merge this pull request.” Also, we have designated engineers performing this review, therefore we have not released guidelines on it as the reviewers are well aware of our guidelines and standards. Should your review not be approved, the reviewer would definitely leave a comment that includes improvements.\r\n4.  Great suggestion. We are currently in the process of exploring such code coverage tools. If you have a recommendation along with reasons for the recommendation, please share the same with us.\r\n5.  Once again, this is something we are currently in the process of exploring. Your expertise will be much appreciated. \r\n6.    We use Cpplint currently. No, we do not currently use Static code Analyzers. \r\n7.    We have increased the number of how-tos to support our developer community. If you have additional specific suggestions on documentation, please include them. We will be happy to increase our documentation to help the community.\r\n8.   You are correct. \r\n\r\nHope above information answered some of your questions. Please feel free to leave comments below if you have any additional questions. Again, we apologize for taking so long to get back to you, and thank you for your support in the Apollo Project."}}
{"actor":{"display_login":"Zhenni17"}}