CoChat

Programming with ChatGPT: How far can we go?

Open access
Bucaioni, Alessio, Ekedahl, Hampus, Helander, Vilma, Nguyen, Phuong T. · 2024 · Machine Learning with Applications
Cited by 61

The DOI matches its Crossref record; 7 of the 7 references it cites were found in a registry or an index.

Abstract

Artificial intelligence (AI) has made remarkable strides, giving rise to the development of large language models such as ChatGPT. The chatbot has garnered significant attention from academia, industry, and the general public, marking the beginning of a new era in AI applications. This work explores how well ChatGPT can write source code. To this end, we performed a series of experiments to assess the extent to which ChatGPT is capable of solving general programming problems. Our objective is to assess ChatGPT’s capabilities in two different programming languages, namely C++ and Java, by providing it with a set of programming problem, encompassing various types and difficulty levels. We focus on evaluating ChatGPT’s performance in terms of code correctness, run-time efficiency, and memory usage. The experimental results show that, while ChatGPT is good at solving easy and medium programming problems written in C++ and Java, it encounters some difficulties with more complicated tasks in the two languages. Compared to code written by humans, the one generated by ChatGPT is of lower quality, with respect to runtime and memory usage.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1016/j.mlwa.2024.100526

Cites

7 of 7 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 7

  1. Ali, N. B., & Petersen, K. (2014). Evaluating strategies for study selection in systematic literature studies. In Proceedings of the 8th ACM/IEEE international symposium on empirical software engineering and measurement (pp. 1–4). · DOI · Paper page
  2. Avizienis, 2004, Basic concepts and taxonomy of dependable and secure computing, IEEE Transactions on Dependable and Secure Computing, 1, 11, 10.1109/TDSC.2004.2 · DOI · Paper page
  3. Fisher, 2009, Understanding descriptive statistics, Australian Critical Care, 22, 93, 10.1016/j.aucc.2008.11.003 · DOI · Paper page
  4. Gillioz, A., Casas, J., Mugellini, E., & Khaled, O. A. (2020). Overview of the transformer-based models for nlp tasks. In 2020 15th Conference on Computer Science and Information Systems FedCSIS, (pp. 179–183). · DOI · Paper page
  5. Jacques, 2023, Teaching cs-101 at the dawn of chatgpt, ACM Inroads, 14, 40, 10.1145/3595634 · DOI · Paper page
  6. Nadkarni, 2011, Natural language processing: An introduction, Journal of the American Medical Informatics Association, 18, 544, 10.1136/amiajnl-2011-000464 · DOI · Paper page
  7. Sein, 2011, Action design research, MIS Quarterly, 37, 10.2307/23043488 · DOI · Paper page

Cited by

See all 61

Metadata

Authors
Bucaioni, A., Ekedahl, H., Helander, V., & Nguyen, P. T.
Venue
Machine Learning with Applications
Publisher
Elsevier BV
Published
2024-03
Volume
15
Pages
100526
ISSN
2666-8270 (ISSN-L)
OpenAlex
W4390674924
Cited by
61
References
7
FWCI
22.96
Type
journal article
Language
en
Open access
gold
Licence

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.