Please use this identifier to cite or link to this item: http://bura.brunel.ac.uk/handle/2438/29885
Full metadata record
DC FieldValueLanguage
dc.contributor.authorDestefanis, G-
dc.contributor.authorBartolucci, S-
dc.contributor.authorOrtu, M-
dc.date.accessioned2024-10-06T10:06:23Z-
dc.date.available2024-10-06T10:06:23Z-
dc.date.issued2023-05-16-
dc.identifierORCiD: Giuseppe Destefanis https://orcid.org/0000-0003-3982-6355-
dc.identifierarXiv:2305.09402v1 [cs.SE]-
dc.identifier.citationDestefanis, G., Bartolucci, S. and Ortu, M. (2023) 'A Preliminary Analysis on the Code Generation Capabilities of GPT-3.5 and Bard AI Models for Java Functions', arXiv:2305.09402v1 [cs.SE], pp. 1 - 11. doi: 10.48550/arXiv.2305.09402.en_US
dc.identifier.urihttps://bura.brunel.ac.uk/handle/2438/29885-
dc.descriptionThe preprint version archived on this insttutional repository is available online at: https://arxiv.org/abs/2305.09402 . It has not been certified by peer review.en_US
dc.description.abstractThis paper evaluates the capability of two state-of-the-art artificial intelligence (AI) models, GPT-3.5 and Bard, in generating Java code given a function description. We sourced the descriptions from CodingBat.com, a popular online platform that provides practice problems to learn programming. We compared the Java code generated by both models based on correctness, verified through the platform's own test cases. The results indicate clear differences in the capabilities of the two models. GPT-3.5 demonstrated superior performance, generating correct code for approximately 90.6% of the function descriptions, whereas Bard produced correct code for 53.1% of the functions. While both models exhibited strengths and weaknesses, these findings suggest potential avenues for the development and refinement of more advanced AI-assisted code generation tools. The study underlines the potential of AI in automating and supporting aspects of software development, although further research is required to fully realize this potential.en_US
dc.format.extent1 - 11-
dc.format.mediumElectronic-
dc.language.isoen_USen_US
dc.publisherCornell Universityen_US
dc.rightsAttribution 4.0 International-
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/-
dc.subjectsoftware engineering (cs.SE)en_US
dc.subjectcomputation and language (cs.CL)en_US
dc.titleA Preliminary Analysis on the Code Generation Capabilities of GPT-3.5 and Bard AI Models for Java Functionsen_US
dc.typeArticleen_US
dc.identifier.doihttps://doi.org/10.48550/arXiv.2305.09402-
dc.identifier.eissn2331-8422-
dc.rights.licensehttps://creativecommons.org/licenses/by/4.0/legalcode.en-
dc.rights.holderThe Authors-
Appears in Collections:Dept of Computer Science Research Papers

Files in This Item:
File Description SizeFormat 
Preprint.pdfCopyright © 2023 The Author(s). This work is licensed under a Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/).354.65 kBAdobe PDFView/Open


This item is licensed under a Creative Commons License Creative Commons