[Paper Review] From Leaderboard to Deployment: Code Quality Challenges in AV Perception Repositories
The paper conducts a large-scale empirical study of code quality in AV perception repositories, revealing low production-readiness and a concentration of security issues, and showing CI/CD adoption correlates with higher maintainability.
Autonomous vehicle (AV) perception models are typically evaluated solely on benchmark performance metrics, with limited attention to code quality, production readiness and long-term maintainability. This creates a significant gap between research excellence and real-world deployment in safety-critical systems subject to international safety standards. To address this gap, we present the first large-scale empirical study of software quality in AV perception repositories, systematically analyzing 178 unique models from the KITTI and NuScenes 3D Object Detection leaderboards. Using static analysis tools (Pylint, Bandit, and Radon), we evaluated code errors, security vulnerabilities, maintainability, and development practices. Our findings revealed that only 7.3% of the studied repositories meet basic production-readiness criteria, defined as having zero critical errors and no high-severity security vulnerabilities. Security issues are highly concentrated, with the top five issues responsible for almost 80% of occurrences, which prompted us to develop a set of actionable guidelines to prevent them. Additionally, the adoption of Continuous Integration/Continuous Deployment pipelines was correlated with better code maintainability. Our findings highlight that leaderboard performance does not reflect production readiness and that targeted interventions could substantially improve the quality and safety of AV perception code.
Motivation & Objective
- Assess production-readiness of AV perception repositories from KITTI and NuScenes leaderboards.
- Quantify code quality through static analysis for errors, security vulnerabilities, and maintainability.
- Identify common security patterns and provide actionable prevention guidelines.
- Explore how development practices (e.g., CI/CD) relate to code quality.
- Offer insights to bridge the research-to-deployment gap in safety-critical AV systems.
Proposed method
- Compile a dataset of 178 AV perception repositories from KITTI and NuScenes leaderboards.
- Apply static analysis tools Pylint (errors), Bandit (security), and Radon (maintainability SLOC and MI).
- Use Spearman correlations and Mann-Whitney tests to analyze relationships and group differences.
- Collect GitHub metrics (contributors, issues, stars, forks) to study development practices.
- Develop concrete guidelines for the five most common security vulnerability patterns.

Experimental results
Research questions
- RQ1What is the production-readiness of AV perception repositories based on zero critical errors and no high-severity vulnerabilities?
- RQ2How do code errors, security vulnerabilities, and maintainability relate to repository size and maintainability index?
- RQ3What are the prevalent security vulnerability patterns in AV perception repositories and can guidelines be formulated to prevent them?
- RQ4Do development practices such as CI/CD adoption correlate with higher code quality and maintainability?
- RQ5Does repository popularity correlate with code quality in AV perception repositories?
Key findings
- Only 7.3% of repositories meet production-readiness criteria (zero critical errors and no high-severity vulnerabilities).
- 97.2% have at least one error; the median number of errors is 29 (range 0–1263).
- 93.3% contain at least one security vulnerability; the median number of security issues is 9 (IQR 4–16).
- Five security issues account for almost 80% of all occurrences and include patterns like unsafe checkpoint loading, silent error suppression, shell injection, unsafe eval, and unsafe PyTorch loading.
- CI/CD adoption is associated with higher maintainability index, though only 7.3% of repositories use CI/CD.
- Maintainability index negatively correlates with both error density and security issue density.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.