Skip to main content

Is ChatGPT 3 Safe for Students?

  • Conference paper
Frontiers in Software Engineering Education (FISEE 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14387))

Included in the following conference series:

  • 91 Accesses

Abstract

ChatGPT3 is a chat engine that fulfils the promises of an AI-based chat engine: users can ask a question (prompt) and it answers in a reasonable manner. The coding-related skills of ChatGPT are especially impressive: informal testing shows that it is difficult to find simple questions that ChatGPT3 does not know how to answer properly. Some students are certainly already using it to answer programming assignments.

This article studies whether it is safe for students to use ChatGPT3 to answer coding assignments (“safe” means that they will not be caught for plagiarism if they use it). The main result is that it is generally not safe for students to use ChatGPT3. We evaluated the safety of code generated with ChatGPT3, by performing a search with a Codequiry, a plagiarism detection tool, and searching plagiarized code in Google (only considering the first page of results). In 38% of the cases, Codequiry finds a piece of code that is partially copied by the answer of ChatGPT3. In 96% of the cases, the Google search finds a piece of code very similar to the generated code. Overall, it is not safe for students to use ChatGPT3 in 96% of the cases.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://openai.com/blog/chatgpt.

  2. 2.

    https://www.bigocheatsheet.com.

  3. 3.

    https://insights.stackoverflow.com/survey/2021#technology-most-popular-technologies.

  4. 4.

    https://github.com/Julia-Kotovich/ChatGPT_Python_code.

  5. 5.

    https://codequiry.com/code-plagiarism.

  6. 6.

    https://www.geeksforgeeks.org/.

  7. 7.

    https://www.programiz.com/.

  8. 8.

    https://www.freecodecamp.org/.

References

  1. Bradley, N.C., Fritz, T., Holmes, R.: Context-aware conversational developer assistants. In: Proceedings of the 40th International Conference on Software Engineering, ICSE 2018, pp. 993–1003. Association for Computing Machinery, New York, NY, USA (2018). https://doi.org/10.1145/3180155.3180238

  2. Carr, S.A., Logozzo, F., Payer, M.: Automatic contract insertion with CCBot. IEEE Trans. Software Eng. 43(8), 701–714 (2017). https://doi.org/10.1109/TSE.2016.2625248

  3. CodeQuiry, L.: Codequiry (2023). https://codequiry.com. Accessed Feb 2023

  4. Copyleaks, I.: Copyleaks (2023). https://www.copyleaks.com/. Accessed Mar 2023

  5. Erlenhov, L., Gomes de Oliveira Neto, F., Scandariato, R., Leitner, P.: Current and future bots in software development. In: 2019 IEEE/ACM 1st International Workshop on Bots in Software Engineering (BotSE), pp. 7–11 (2019). https://doi.org/10.1109/BotSE.2019.00009

  6. Monperrus, M.: Explainable software bot contributions: case study of automated bug fixes. In: 2019 IEEE/ACM 1st International Workshop on Bots in Software Engineering (BotSE), pp. 12–15. IEEE Computer Society, Los Alamitos, CA, USA, May 2019. https://doi.org/10.1109/BotSE.2019.00010, https://doi.ieeecomputersociety.org/10.1109/BotSE.2019.00010

  7. Novak, M.: Review of source-code plagiarism detection in academia. In: 2016 39th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), pp. 796–801 (2016). https://doi.org/10.1109/MIPRO.2016.7522248

  8. Santhanam, S., Hecking, T., Schreiber, A., Wagner, S.: Bots in software engineering: a systematic mapping study. PeerJ Comput. Sci. 8, e866 (2022)

    Article  Google Scholar 

  9. Tian, Y., Thung, F., Sharma, A., Lo, D.: APIBot: question answering bot for API documentation. In: 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 153–158 (2017). https://doi.org/10.1109/ASE.2017.8115628

  10. Turnitin, L.: Turnitin (2023). https://www.turnitin.com/. Accessed Mar 2023

  11. Urli, S., Yu, Z., Seinturier, L., Monperrus, M.: How to design a program repair bot? Insights from the repairnator project. In: Proceedings of the 40th International Conference on Software Engineering: Software Engineering in Practice, ICSE-SEIP 2018, pp. 95–104. Association for Computing Machinery, New York, NY, USA (2018). https://doi.org/10.1145/3183519.3183540

  12. Welsh, M.: The end of programming. Commun. ACM 66(1), 34–35 (2022). https://doi.org/10.1145/3570220

  13. Wyrich, M., Bogner, J.: Towards an autonomous bot for automatic source code refactoring. In: 2019 IEEE/ACM 1st International Workshop on Bots in Software Engineering (BotSE), pp. 24–28 (2019). https://doi.org/10.1109/BotSE.2019.00015

  14. Yellin, D.M.: The premature obituary of programming. Commun. ACM 66(2), 41–44 (2023). https://doi.org/10.1145/3555367

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Manuel Oriol .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Cite this paper

Kotovich, J., Oriol, M. (2023). Is ChatGPT 3 Safe for Students?. In: Capozucca, A., Ebersold, S., Bruel, JM., Meyer, B. (eds) Frontiers in Software Engineering Education. FISEE 2023. Lecture Notes in Computer Science, vol 14387. Springer, Cham. https://doi.org/10.1007/978-3-031-48639-5_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-48639-5_8

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-48638-8

  • Online ISBN: 978-3-031-48639-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics