Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário

Bibliographic Details
Main Author: Nascimento, Leandro Beserra do
Publication Date: 2023
Format: Bachelor thesis
Language: por
Source: Repositório Institucional da Universidade Federal do Ceará (UFC)
Download full: http://www.repositorio.ufc.br/handle/riufc/73984
Summary: Artificial intelligence tools have been used to automate activities in various areas of software engineering. One such tool that has gained popularity is ChatGPT, especially because it allows interactions in natural language. Studies show that ChatGPT possesses capabilities in natural language processing and code generation, but it also provides incorrect responses in several situations. The capacity of ChatGPT in software engineering activities, such as code generation, bug correction, user story generation, or other related tasks, is still not clear. Therefore, additional studies are necessary to further understand the potential and utilities of ChatGPT in software engineering. In this study, two stages are conducted: firstly, 50 user stories are generated, including acceptance criteria, complexity, effort estimation, and related requirements. Secondly, 8 user stories are selected from the list of 50 requirements in step 1 and coded using NodeJS with Typescript and Prisma. For code generation, prompts at three different levels of description are used based on ChatGPT’s output. Although ChatGPT successfully generated the requirements, the code generation process exhibited bugs and syntax errors, with some stories requiring manual corrections. Nevertheless, the generated requirements prove useful as a starting point for developing software engineering documents. The study’s results include the success percentage of ChatGPT in coding user stories, the NodeJS project developed by ChatGPT, the list of 50 generated requirements, and an overall analysis of the outcome.
id UFC-7_9e6b49695e73d98a3ae3f9c06b11f40b
oai_identifier_str oai:repositorio.ufc.br:riufc/73984
network_acronym_str UFC-7
network_name_str Repositório Institucional da Universidade Federal do Ceará (UFC)
repository_id_str
spelling Nascimento, Leandro Beserra doJucá, Paulyne Matthews2023-08-16T13:01:58Z2023-08-16T13:01:58Z2023NASCIMENTO, Leandro Beserra do. Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário. 2023. 43 f. Trabalho de Conclusão de Curso (graduação) – Universidade Federal do Ceará, Campus de Quixadá, Curso de Engenharia de Software, Quixadá, 2023.http://www.repositorio.ufc.br/handle/riufc/73984Artificial intelligence tools have been used to automate activities in various areas of software engineering. One such tool that has gained popularity is ChatGPT, especially because it allows interactions in natural language. Studies show that ChatGPT possesses capabilities in natural language processing and code generation, but it also provides incorrect responses in several situations. The capacity of ChatGPT in software engineering activities, such as code generation, bug correction, user story generation, or other related tasks, is still not clear. Therefore, additional studies are necessary to further understand the potential and utilities of ChatGPT in software engineering. In this study, two stages are conducted: firstly, 50 user stories are generated, including acceptance criteria, complexity, effort estimation, and related requirements. Secondly, 8 user stories are selected from the list of 50 requirements in step 1 and coded using NodeJS with Typescript and Prisma. For code generation, prompts at three different levels of description are used based on ChatGPT’s output. Although ChatGPT successfully generated the requirements, the code generation process exhibited bugs and syntax errors, with some stories requiring manual corrections. Nevertheless, the generated requirements prove useful as a starting point for developing software engineering documents. The study’s results include the success percentage of ChatGPT in coding user stories, the NodeJS project developed by ChatGPT, the list of 50 generated requirements, and an overall analysis of the outcome.Ferramentas de integência artifical vendo sendo usadas para automatizar atividades em várias áreas da engenharia de software. Uma dessa ferramentas que tem ganhado popularidade é o ChatGPT, especialmente porque permite interações em linguagem natural. Os estudos mostram que o ChatGPT possui habilidades em processamento de linguagem natural e geração de código, mas que também apresenta respostas incorretas em várias situações. Ainda não esta claro a capacidade do ChatGPT em atividades da engenharia de softwares, como: na geração de código, na correção de bugs, na geração de histórias de usuário ou outras atividades relacionadas. Então, se faz necessários estudos adicionais para ampliar o entendimento do pontência do ChatGPT e suas utilidades na engenharia de software. Nesse estudo duas etapas são conduzidas: na primeira, 50 histórias de usuário são geradas com critérios de aceitação, complexidade, estimativa de esforço e requisitos relacionados; na segunda, 8 histórias de usuário são selecionadas da lista de 50 requisitos do passo 1 e codificadas utilizando NodeJS com Typescript e Prisma. Para a geração de código são utilizados prompts em 3 níveis diferentes de descrição dependendo do retorno do ChatGPT. Embora o ChatGPT tenha conseguido gerar os requisitos com sucesso, a geração de código apresentou bugs e erros de sintaxe, com algumas histórias exigindo correção manual. Apesar disso, os requisitos gerados mostram-se úteis como ponto de partida para o desenvolvimento de documentos de requisitos na engenharia de software. Como resultado desse estudo é apresentado a porcentagem de sucesso que o ChatGPT apresenta na codificação de histórias de usuário, o projeto nodeJs desenvolvido pelo ChatGPT e a lista de 50 requisitos gerados e a respectiva analise geral do resultado.CHATGPTHistória de usuárioDesenvolvimento de códigoUm estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuárioinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/bachelorThesisporreponame:Repositório Institucional da Universidade Federal do Ceará (UFC)instname:Universidade Federal do Ceará (UFC)instacron:UFCinfo:eu-repo/semantics/openAccessORIGINAL2023_tccii_lbnascimento.pdf2023_tccii_lbnascimento.pdfapplication/pdf606117http://repositorio.ufc.br/bitstream/riufc/73984/1/2023_tccii_lbnascimento.pdf0b3223286ab0bb62cfc9bbfc643acb6cMD51LICENSElicense.txtlicense.txttext/plain; charset=utf-81748http://repositorio.ufc.br/bitstream/riufc/73984/2/license.txt8a4605be74aa9ea9d79846c1fba20a33MD52LICENSElicense.txtlicense.txttext/plain; charset=utf-81748http://repositorio.ufc.br/bitstream/riufc/73984/2/license.txt8a4605be74aa9ea9d79846c1fba20a33MD52riufc/739842023-08-16 10:01:58.684oai:repositorio.ufc.br:riufc/73984Tk9URTogUExBQ0UgWU9VUiBPV04gTElDRU5TRSBIRVJFClRoaXMgc2FtcGxlIGxpY2Vuc2UgaXMgcHJvdmlkZWQgZm9yIGluZm9ybWF0aW9uYWwgcHVycG9zZXMgb25seS4KCk5PTi1FWENMVVNJVkUgRElTVFJJQlVUSU9OIExJQ0VOU0UKCkJ5IHNpZ25pbmcgYW5kIHN1Ym1pdHRpbmcgdGhpcyBsaWNlbnNlLCB5b3UgKHRoZSBhdXRob3Iocykgb3IgY29weXJpZ2h0Cm93bmVyKSBncmFudHMgdG8gRFNwYWNlIFVuaXZlcnNpdHkgKERTVSkgdGhlIG5vbi1leGNsdXNpdmUgcmlnaHQgdG8gcmVwcm9kdWNlLAp0cmFuc2xhdGUgKGFzIGRlZmluZWQgYmVsb3cpLCBhbmQ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lZCBwZXJtaXNzaW9uIG9mIHRoZQpjb3B5cmlnaHQgb3duZXIgdG8gZ3JhbnQgRFNVIHRoZSByaWdodHMgcmVxdWlyZWQgYnkgdGhpcyBsaWNlbnNlLCBhbmQgdGhhdApzdWNoIHRoaXJkLXBhcnR5IG93bmVkIG1hdGVyaWFsIGlzIGNsZWFybHkgaWRlbnRpZmllZCBhbmQgYWNrbm93bGVkZ2VkCndpdGhpbiB0aGUgdGV4dCBvciBjb250ZW50IG9mIHRoZSBzdWJtaXNzaW9uLgoKSUYgVEhFIFNVQk1JU1NJT04gSVMgQkFTRUQgVVBPTiBXT1JLIFRIQVQgSEFTIEJFRU4gU1BPTlNPUkVEIE9SIFNVUFBPUlRFRApCWSBBTiBBR0VOQ1kgT1IgT1JHQU5JWkFUSU9OIE9USEVSIFRIQU4gRFNVLCBZT1UgUkVQUkVTRU5UIFRIQVQgWU9VIEhBVkUKRlVMRklMTEVEIEFOWSBSSUdIVCBPRiBSRVZJRVcgT1IgT1RIRVIgT0JMSUdBVElPTlMgUkVRVUlSRUQgQlkgU1VDSApDT05UUkFDVCBPUiBBR1JFRU1FTlQuCgpEU1Ugd2lsbCBjbGVhcmx5IGlkZW50aWZ5IHlvdXIgbmFtZShzKSBhcyB0aGUgYXV0aG9yKHMpIG9yIG93bmVyKHMpIG9mIHRoZQpzdWJtaXNzaW9uLCBhbmQgd2lsbCBub3QgbWFrZSBhbnkgYWx0ZXJhdGlvbiwgb3RoZXIgdGhhbiBhcyBhbGxvd2VkIGJ5IHRoaXMKbGljZW5zZSwgdG8geW91ciBzdWJtaXNzaW9uLgo=Repositório InstitucionalPUBhttp://www.repositorio.ufc.br/ri-oai/requestbu@ufc.br || repositorio@ufc.bropendoar:2023-08-16T13:01:58Repositório Institucional da Universidade Federal do Ceará (UFC) - Universidade Federal do Ceará (UFC)false
dc.title.pt_BR.fl_str_mv Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário
title Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário
spellingShingle Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário
Nascimento, Leandro Beserra do
CHATGPT
História de usuário
Desenvolvimento de código
title_short Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário
title_full Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário
title_fullStr Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário
title_full_unstemmed Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário
title_sort Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário
author Nascimento, Leandro Beserra do
author_facet Nascimento, Leandro Beserra do
author_role author
dc.contributor.author.fl_str_mv Nascimento, Leandro Beserra do
dc.contributor.advisor1.fl_str_mv Jucá, Paulyne Matthews
contributor_str_mv Jucá, Paulyne Matthews
dc.subject.por.fl_str_mv CHATGPT
História de usuário
Desenvolvimento de código
topic CHATGPT
História de usuário
Desenvolvimento de código
description Artificial intelligence tools have been used to automate activities in various areas of software engineering. One such tool that has gained popularity is ChatGPT, especially because it allows interactions in natural language. Studies show that ChatGPT possesses capabilities in natural language processing and code generation, but it also provides incorrect responses in several situations. The capacity of ChatGPT in software engineering activities, such as code generation, bug correction, user story generation, or other related tasks, is still not clear. Therefore, additional studies are necessary to further understand the potential and utilities of ChatGPT in software engineering. In this study, two stages are conducted: firstly, 50 user stories are generated, including acceptance criteria, complexity, effort estimation, and related requirements. Secondly, 8 user stories are selected from the list of 50 requirements in step 1 and coded using NodeJS with Typescript and Prisma. For code generation, prompts at three different levels of description are used based on ChatGPT’s output. Although ChatGPT successfully generated the requirements, the code generation process exhibited bugs and syntax errors, with some stories requiring manual corrections. Nevertheless, the generated requirements prove useful as a starting point for developing software engineering documents. The study’s results include the success percentage of ChatGPT in coding user stories, the NodeJS project developed by ChatGPT, the list of 50 generated requirements, and an overall analysis of the outcome.
publishDate 2023
dc.date.accessioned.fl_str_mv 2023-08-16T13:01:58Z
dc.date.available.fl_str_mv 2023-08-16T13:01:58Z
dc.date.issued.fl_str_mv 2023
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/bachelorThesis
format bachelorThesis
status_str publishedVersion
dc.identifier.citation.fl_str_mv NASCIMENTO, Leandro Beserra do. Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário. 2023. 43 f. Trabalho de Conclusão de Curso (graduação) – Universidade Federal do Ceará, Campus de Quixadá, Curso de Engenharia de Software, Quixadá, 2023.
dc.identifier.uri.fl_str_mv http://www.repositorio.ufc.br/handle/riufc/73984
identifier_str_mv NASCIMENTO, Leandro Beserra do. Um estudo empírico sobre o CHATGPT aplicado a escrita e desenvolvimento de requisitos no formato de história de usuário. 2023. 43 f. Trabalho de Conclusão de Curso (graduação) – Universidade Federal do Ceará, Campus de Quixadá, Curso de Engenharia de Software, Quixadá, 2023.
url http://www.repositorio.ufc.br/handle/riufc/73984
dc.language.iso.fl_str_mv por
language por
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.source.none.fl_str_mv reponame:Repositório Institucional da Universidade Federal do Ceará (UFC)
instname:Universidade Federal do Ceará (UFC)
instacron:UFC
instname_str Universidade Federal do Ceará (UFC)
instacron_str UFC
institution UFC
reponame_str Repositório Institucional da Universidade Federal do Ceará (UFC)
collection Repositório Institucional da Universidade Federal do Ceará (UFC)
bitstream.url.fl_str_mv http://repositorio.ufc.br/bitstream/riufc/73984/1/2023_tccii_lbnascimento.pdf
http://repositorio.ufc.br/bitstream/riufc/73984/2/license.txt
http://repositorio.ufc.br/bitstream/riufc/73984/2/license.txt
bitstream.checksum.fl_str_mv 0b3223286ab0bb62cfc9bbfc643acb6c
8a4605be74aa9ea9d79846c1fba20a33
8a4605be74aa9ea9d79846c1fba20a33
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
MD5
repository.name.fl_str_mv Repositório Institucional da Universidade Federal do Ceará (UFC) - Universidade Federal do Ceará (UFC)
repository.mail.fl_str_mv bu@ufc.br || repositorio@ufc.br
_version_ 1847792780241272832