Skip to main content
Customer Cases

NIO: Qoder CN accelerates development of the 'Tiantan' project with over 70% of code generated by AI

Using Qoder CN, NIO increased its AI-generated code to 30% to 40% of daily development. This significantly improved R&D efficiency and quality.

About the customer

NIO is a global smart electric vehicle company founded in November 2014. NIO is dedicated to creating a joyful lifestyle for its users by providing high-performance smart electric vehicles and the ultimate user experience.

Business challenges

  • Automakers face persistent challenges in developing new features quickly while maintaining products over long R&D cycles. This creates a strong need for AI solutions.
  • Automakers cannot compromise on R&D quality or efficiency. NIO wanted to use Qoder CN to solve the 'impossible triangle' of software development. This triangle states that you cannot achieve high quality, high efficiency, and low cost at the same time.

Alibaba Cloud's solution

Qoder CN helps enterprise R&D break the 'impossible triangle'

Qoder CN Enterprise Dedicated Edition from Alibaba Cloud provides developers with an intelligent R&D experience. It offers features such as intelligent code generation, R&D AI chat, multi-file code modification, and autonomous execution. The edition also includes a Q&A feature that uses an enterprise knowledge base, enhanced code generation from enterprise codebases, and a VPC deployment mode. These capabilities help meet enterprise security, compliance, and customization needs. NIO's smart cockpit team uses Qoder CN mainly for the following scenarios:
  • Increased development efficiency: Intelligent code completion and code generation features help developers write code faster and reduce repetitive tasks. When a developer needs to call an uncommon interface, they can describe the requirement in natural language. Qoder CN then generates sample code for the interface. It can also help parse existing interface structures to generate query code, which improves development efficiency.
  • Lower maintenance costs: Qoder CN automatically adds comments to complex logic and explains the code's intent. This improves code readability. Using the knowledge management feature in the Enterprise Dedicated Edition, a company can turn best practices for common maintenance tasks into team code templates. This reduces maintenance costs that arise from different personal coding styles.
  • Intelligent unit test generation: The unique unit test agent in Qoder CN can generate unit tests in batches. It can generate tests based on current code changes or one or more code files. The agent automatically compiles, runs, and fixes errors. This provides better coverage for edge cases and greatly increases test coverage.
  • Smart issue detection for code quality: Teams can host their programming standards and historical bug data in the Qoder CN enterprise backend. This is done using prompts and retrieval-augmented generation (RAG). Before committing code, developers can run checks using these custom enterprise rules. They receive alerts for similar threats, which helps block potential bugs from reaching production and prevents critical financial losses.

Advantages of Qoder CN

Qoder CN understands developers, but it understands enterprises even more. The security features of the Enterprise Dedicated Edition were the main reason NIO chose Qoder CN. As a leader in the new energy vehicle industry, every line of NIO's code is a digital foundation for safe driving. Qoder CN Enterprise Dedicated Edition offers independently deployed VPC instances, security assurances, data auditing, and model personalization. These features fully meet enterprise security and compliance requirements. The Extension Management and Knowledge Management features were also key factors in NIO's decision. Using custom extension instructions, enterprises can check code standards, standardize code variable names, and automatically generate API documentation. This expands the range of custom capabilities and streamlines the tool's usage for R&D teams. Additionally, the knowledge management feature enables open-ended Q&A, code optimization, and code generation based on the enterprise knowledge base. It is widely used for tasks such as checking enterprise standards and providing technical support.

Business value

Nearly 400 members of NIO's smart cockpit R&D team now use Qoder CN. AI-generated code accounts for 30% to 40% of their daily development work. During the development of the 'Tiantan' project, AI generated over 70% of the new business logic code. This has led to significant gains in R&D efficiency and quality. "Tiantan" is an AI self-diagnostic system for new NIO cars. It can perform a full check of over 1,000 vehicle functions in under 3 minutes. For this project, Qoder CN generated about 40% of the total code. However, for new code related to business features and logic, the generation rate was 70% to 80%. The more coverage we get from AI-assisted programming, the better the results. This is a clear benefit of using it in an enterprise environment. We are promoting the use of Qoder CN across more R&D teams to maximize AI's value in improving NIO's overall R&D efficiency. --Jie Xiao, Senior Engineer and Head of R&D Efficiency and Quality for the Smart Cockpit Team, NIO