Goto

Collaborating Authors

 codewhisperer


Cracking CodeWhisperer: Analyzing Developers' Interactions and Patterns During Programming Tasks

Javahar, Jeena, Budhrani, Tanya, Basha, Manaal, de Souza, Cleidson R. B., Beschastnikh, Ivan, Rodriguez-Perez, Gema

arXiv.org Artificial Intelligence

Abstract--The use of AI code-generation tools is becoming increasingly common, making it important to understand how software developers are adopting these tools. In this study, we investigate how developers engage with Amazon's Code-Whisperer, an LLM-based code-generation tool. We conducted two user studies with two groups of 10 participants each, interacting with CodeWhisperer - the first to understand which interactions were critical to capture and the second to collect low-level interaction data using a custom telemetry plugin. Our mixed-methods analysis identified four behavioral patterns: 1) incremental code refinement, 2) explicit instruction using natural language comments, 3) baseline structuring with model suggestions, and 4) integrative use with external sources. We provide a comprehensive analysis of these patterns . Several IDE-based code generation tools have been released in the past few years, such as GitHub's Copilot [8], Kite [14], Amazon's Code Whisperer [20], Tabnine [22], and WPCode [28]. Research reveals that being able to achieve their full potential requires a certain level of guidance to ensure that the tool's output aligns with the user's goal [21].


"You still have to study" -- On the Security of LLM generated code

Goetz, Stefan, Schaad, Andreas

arXiv.org Artificial Intelligence

We witness an increasing usage of AI-assistants even for routine (classroom) programming tasks. However, the code generated on basis of a so called "prompt" by the programmer does not always meet accepted security standards. On the one hand, this may be due to lack of best-practice examples in the training data. On the other hand, the actual quality of the programmers prompt appears to influence whether generated code contains weaknesses or not. In this paper we analyse 4 major LLMs with respect to the security of generated code. We do this on basis of a case study for the Python and Javascript language, using the MITRE CWE catalogue as the guiding security definition. Our results show that using different prompting techniques, some LLMs initially generate 65% code which is deemed insecure by a trained security engineer. On the other hand almost all analysed LLMs will eventually generate code being close to 100% secure with increasing manual guidance of a skilled engineer.


AI Code Generators for Security: Friend or Foe?

Natella, Roberto, Liguori, Pietro, Improta, Cristina, Cukic, Bojan, Cotroneo, Domenico

arXiv.org Artificial Intelligence

Abstract--Recent advances of AI code generators are opening new opportunities in software security research, including misuse by malicious actors. We make the case that cybersecurity professionals need to leverage AI code generators. We review use cases for AI code generators for security, and introduce an evaluation benchmark for these tools. These models can automatically mitigate intrusions. Recent studies analyzed this technology in web and books, using highly scalable deep-learning the context of generating malware, malicious content architectures.


Announcing New Tools for Building with Generative AI on AWS

#artificialintelligence

The seeds of a machine learning (ML) paradigm shift have existed for decades, but with the ready availability of scalable compute capacity, a massive proliferation of data, and the rapid advancement of ML technologies, customers across industries are transforming their businesses. Just recently, generative AI applications like ChatGPT have captured widespread attention and imagination. We are truly at an exciting inflection point in the widespread adoption of ML, and we believe most customer experiences and applications will be reinvented with generative AI. AI and ML have been a focus for Amazon for over 20 years, and many of the capabilities customers use with Amazon are driven by ML. Our e-commerce recommendations engine is driven by ML; the paths that optimize robotic picking routes in our fulfillment centers are driven by ML; and our supply chain, forecasting, and capacity planning are informed by ML. Prime Air (our drones) and the computer vision technology in Amazon Go (our physical retail experience that lets consumers select items off a shelf and leave the store without having to formally check out) use deep learning.


How Accenture is using Amazon CodeWhisperer to improve developer productivity

#artificialintelligence

In the following sections, we discuss some of the ways that the Accenture Velocity team has been using CodeWhisperer in more detail. CodeWhisperer helps developers unfamiliar with AWS to ramp up faster on projects that use AWS services. New developers in Accenture were able to write code for AWS services such as Amazon Simple Storage Service (Amazon S3) and Amazon DynamoDB. In a short amount of time, they were able to be productive and contribute to the project. CodeWhisperer assisted developers by providing code blocks or line-by-line suggestions.


Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generation

Becker, Brett A., Denny, Paul, Finnie-Ansley, James, Luxton-Reilly, Andrew, Prather, James, Santos, Eddie Antonio

arXiv.org Artificial Intelligence

The introductory programming sequence has been the focus of much research in computing education. The recent advent of several viable and freely-available AI-driven code generation tools present several immediate opportunities and challenges in this domain. In this position paper we argue that the community needs to act quickly in deciding what possible opportunities can and should be leveraged and how, while also working on how to overcome or otherwise mitigate the possible challenges. Assuming that the effectiveness and proliferation of these tools will continue to progress rapidly, without quick, deliberate, and concerted efforts, educators will lose advantage in helping shape what opportunities come to be, and what challenges will endure. With this paper we aim to seed this discussion within the computing education community.


Amazon Debuts CodeWhisperer As An AI Code-Writing Tool For Tech Workers, Developers - GajetHub

#artificialintelligence

Amazon on Thursday announced a tool to help software developers write code, the latest such effort by the tech industry. The service, called Amazon CodeWhisperer, suggests how to program, and also scans for security and bias issues in web developers' projects, Swami Sivasubramanian, a vice president at Amazon's cloud division, said at a company conference in Las Vegas. The newly launched CodeWhisperer by Amazon is a machine learning (ML)–powered service. It claims to help in enhancing developer productivity by generating code recommendations. According to the information provided by AWS, these recommendations will be based on developers' comments in natural language and their code in the integrated development environment (IDE). CodeWhisperer claims to take care of all the necessities of a developer while writing a code, which includes multiple programming languages, frameworks, software libraries, and popular cloud services.