翻篇收录说明
翻篇网页快照

The Transformative Power of Generative AI in Software Development: Lessons from Uber’s Tech-Wide Hackathon

https://www.uber.com/us/en/blog/the-transformative-power-of-generative-ai/

最近抓取:2026-12-05 12:45:02(北京时间)

最近内容变化:2026-12-03 00:14:35(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

This blog examines how we tackled the challenge of safely adopting generative AI to simplify complex coding tasks and meet faster delivery demands. Generative AI offers a lot of opportunities for productivity gains in the software development lifecycle, as our discipline deals with programming languages, frameworks, and tools that require communication and understanding of both natural and programming languages. By organizing an Uber Tech-wide Hackdayz event, we gained valuable insights into the strengths and weaknesses of generative AI in software development. This exercise helped us learn about challenges and opportunities generative AI posed.

正文摘录

August 3, 2023The Transformative Power of Generative AI in Software Development: Lessons from Uber’s Tech-Wide HackathonAAAli-Reza Adl-TabatabaiSBSerdar BademACAnshu Chadha2+Share this articleIntroductionThis blog examines how we tackled the challenge of safely adopting generative AI to simplify complex coding tasks and meet faster delivery demands.Generative AI offers a lot of opportunities for productivity gains in the software development lifecycle, as our discipline deals with programming languages, frameworks, and tools that require communication and understanding of both natural and programming languages.By organizing an Uber Tech-wide Hackdayz event, we gained valuable insights into the strengths and weaknesses of generative AI in software development. This exercise helped us learn about challenges and opportunities generative AI posed.Uber teams around the globe used this event to build generative-AI-powered proofs of concept to automate coding, generate tests, improve code quality, and reduce operational load. The event allowed us to identify and prioritize areas where generative AI could potentially be used to measurably boost productivity and spur innovation. To ensure the safety and security of the tools and data used in the Uber Tech-wide Hackdayz, we partnered with a number of cross-functional teams, including legal, technical privacy, security, and open source teams. We also created guidelines for the tools and data that were used in the hackathon.How can generative AI impact developer productivity?At Uber and in the software engineering industry as a whole, developers face growing challenges: increasing complexity of software systems, growing demand for faster delivery, and managing diverse tasks like code development, testing, and maintenance–all while ensuring quality and adhering to best practices. Recent advances in generative AI and large language models have demonstrated advanced competencies in natural language understanding. Generative AI offers opportunities to automate and optimize significant aspects of the development process to varying degrees, easing these challenges and boosting developer productivity.The ability to understand and generate sophisticated text, analyze large datasets, identify patterns, and make predictions makes generative AI a perfect application for software development.“I think a lot of people obviously want to talk about the sexy kind of new consumer applications. I would tell you that I think that the earliest and most significant effect that AI is going to have on our company is actually going to be as it relates to our developer productivity. Some of the tools that we’re seeing are going to allow our devs to kind of be super devs and to be able to innovate more, build more faster, and that will essentially leverage and accelerate innovation across the platform.” Dara Khosrowshahi CEO of UberRemarks are from Uber’s Q1’23 earnings call Generative AI can automate simple tasksBy automating simpler, tedious tasks (generating boilerplate code, fixing linter errors, generating unit tests, etc.), generative AI can help engineers focus on more complex tasks.Generative AI can improve quality & reliabilitySince generative AI models are trained on large codebases, they have the potential to provide intelligent suggestions and recommendations based on the existing codebases. Generative AI can analyze the code semantics and could improve the reliability of software by identifying potential bugs, vulnerabilities, or performance issues early in the development cycle. Generative AI has the potential to improve communicationWith its natural language comprehension, generative AI also has the potential to enhance the communication of requirements, by better facilitating collaboration between stakeholders and minimizing misinterpretation.Generative AI could allow for faster prototyping which might lead to quicker validation of ideasFinally generative AI can more quickly than humans generate prototypes and working code snippets based on high-level specifications, thus enabling developers to validate ideas and fail fast without committing a lot of development time and resources that human development trial and error otherwise would.Organizing an Uber tech-wide hackathon to unleash innovationFigure 1: Uber Generative AI Tech-wide HackDayz overviewTo explore the potential of generative AI, we recently organized an “Uber Tech-Wide Hackdayz”. This event was distributed across all of Uber’s sites, and brought together interdisciplinary teams from various departments (software engineers, TPMs, PMs, data analysts, QA engineers).Figure 2: Uber Generative AI Tech-wide HackDayz in numbersOverall, the Uber Tech-wide HackDayz was a huge success. 713 engineers around the globe participated and submitted 98 impressive working demos across 3 categories: Product Experience, Developer Productivity, and Business Operations.The quality and depth of the submitted projects were inspiring and showed the spirit of the company, teaching us ways we can move faster, be creative, take risks, and do more with less.Applying GenAI to Uber’s Software Development LifecycleBased on the demos, we found that all phases of the software development lifecycle have the potential to be improved by generative AI.Generative AI’s Potential to Improve Developer ProductivityFigure 3: Potential use of generative AI in software development lifecycleHere are some of the interesting ways generative AI helps, as demonstrated by the prototypes we built during the three-day HackDayz activity:Design document creation, review, and risk assessmentCreating requirements & design documentsAlthough there are many operational requirements that may be common across multiple services and applications, requirements for a new feature may still be incomplete. Generative AI can assist product managers and engineers in capturing complete specifications faster.Code & test generationGenerative AI can generate new text, which can be helpful with the right prompt. This makes it a great fit for improving code by suggesting new features or fixing bugs. It can also be used to generate code that is more efficient or easier to read.The diverse set of innovative HackDayz projects in the code and test generation space can be summarized into the following areas:Explain existing codeEngineers spend a lot of time reading code every day. It can take months or even years to deprecate older codebases because it is difficult to understand legacy code. Questions about context in other codebases take time and effort to answer through support channels. Furthermore, it can take months or years to build deep domain knowledge in some codebases. Generative AI can be used to explain existing codebases and significantly reduce the time it takes for engineers to be effective on unfamiliar code.Generating UI codeOne of the pragmatic applications of generative AI was a tool that allows users to create user interfaces by describing them in natural language. This tool generates a code snippet using Uber’s BaseWeb component library, which can be easily copied and pasted into any Uber web application. This generated code can also be tested and tailored iteratively within the tool itself, allowing users to make changes and interact with the UI directly. The tool has a memory feature that allows users to build on previous queries and ask for improvements or modifications to the existing code snippet, such as adding or removing components.Automated refactoring & centralized migrationsGenerative AI can automate code refactoring, which is time-consuming and error-prone. This could improve codebases and make it easier to upgrade dependencies or write new code. Open source code and existing tools can be used to achieve this.Generative AI can help identify migration patterns and automate the refactoring of large codebases. Platform teams spend a lot of time on manual centralized migrations. For example, the Java platform team spent significant effort on migrating the Java framework over the last two years. Automating this process could have saved them a lot of engineering time and allowed them to focus on other business-critical work.Automated fixesReview & improve existing codeRule-based approaches for static analysis have been around for a while, and they are widely used to provide developers with syntactic corrections and suggestions. We see that generative AI has the potential to take this step to the next level by recommending improvements and automating the follow-up actions.Traditional static analysis tools, such as Errorprone, are effective for early detection of bugs in Java code. Such tools often flag bugs that are difficult to fix and can impact software reliability. Current automatic program repair focuses on standard benchmarks, and neglects evaluation on real production code. One of the hackathon projects introduced a novel approach to fix static analysis bugs at scale in an industrial context using generative AI.Test generationGenerating unit tests is one of the tasks where developers shortcut the most. The ability to generate test cases with ease would increase overall test effectiveness and coverage, and consequently system quality.One of the most interesting HackDayz projects is the automatic generation of end-to-end tests for iOS and Android apps. The project team used large language models (LLMs) and mobile app images to automatically generate a test script, eliminating the need to write or update any code. The prototype first extracts the sequence of actions required to navigate between two screens specified by the user. It then inputs the action sequence into the LLM to generate the precise code for running the automated tests. Auto-generating end-to-end tests can help improve testing efficiency, reduce costs, and prevent outages.Debugging codeAnother innovative project was a debugging tool that used generative AI to create call stacks to provide a clear understan