Please use this identifier to cite or link to this item:
https://rd.uffs.edu.br/handle/prefix/9687Full metadata record
| DC Field | Value | Language |
|---|---|---|
| dc.contributor.advisor1 | Feitosa, Samuel da Silva | - |
| dc.creator | Machado, Heitor Fernandes Vicente | - |
| dc.date | 2026-06-24 | - |
| dc.date.accessioned | 2026-10-09T09:41:29Z | - |
| dc.date.available | 2026 | - |
| dc.date.available | 2026-10-09T09:41:29Z | - |
| dc.date.issued | 2026 | - |
| dc.identifier.uri | https://rd.uffs.edu.br/handle/prefix/9687 | - |
| dc.description.resumo | Large Language Models have shown promising results in automatic code generation, but challenges still exist related to the quality of the produced implementations and the effective use of testing during the generation process. This work investigates the use of unit tests automatically generated by LLMs in contrast with manually crafted tests as an iterative code refinement mechanism for programming problems. The proposed approach consists of a tool capable of generating unit tests from a task specification, validating imple- mentations produced by the models, and performing successive correction cycles guided by the test results. The methodology was evaluated using the HumanEval benchmark in conjunction with the EvalPlus framework, considering scenarios of direct generation, self-validation with automatically generated tests, and validation using the benchmark’s original tests. The evaluation considered the Pass@1 and Pass@10 metrics to measure problem-solving perfor- mance, as well as the analysis of the generated test suites, classified as valid, invalid, or not produced. The results demonstrate that synthetic tests are capable of improving the performance of all evaluated models, although they still present lower performance compared to that obtained with manually crafted tests. The findings indicate that automatic test generation by LLMs represents a viable strategy to support code generation and refinement processes. | pt_BR |
| dc.description.provenance | Submitted by Biblioteca Chapeco (biblio.ch@uffs.edu.br) on 2026-10-06T12:06:38Z No. of bitstreams: 1 MACHADO.pdf: 659768 bytes, checksum: 7c91f7247f8309724d19fd224a8223a2 (MD5) | en |
| dc.description.provenance | Approved for entry into archive by Franciele Scaglioni da Cruz (franciele.cruz@uffs.edu.br) on 2026-10-09T09:41:29Z (GMT) No. of bitstreams: 1 MACHADO.pdf: 659768 bytes, checksum: 7c91f7247f8309724d19fd224a8223a2 (MD5) | en |
| dc.description.provenance | Made available in DSpace on 2026-10-09T09:41:29Z (GMT). No. of bitstreams: 1 MACHADO.pdf: 659768 bytes, checksum: 7c91f7247f8309724d19fd224a8223a2 (MD5) Previous issue date: 2026 | en |
| dc.language | por | pt_BR |
| dc.publisher | Universidade Federal da Fronteira Sul | pt_BR |
| dc.publisher.country | Brasil | pt_BR |
| dc.publisher.department | Campus Chapecó | pt_BR |
| dc.publisher.initials | UFFS | pt_BR |
| dc.rights | Acesso Aberto | pt_BR |
| dc.subject | Inteligência artificial | pt_BR |
| dc.subject | Geração de código | pt_BR |
| dc.subject | Testes | pt_BR |
| dc.subject | Engenharia de software | pt_BR |
| dc.title | Evaluating LLM-generated and human-written unit tests for iterative code refinement | pt_BR |
| dc.type | Monografia | pt_BR |
| Appears in Collections: | Ciência da Computação | |
Files in This Item:
| File | Description | Size | Format | |
|---|---|---|---|---|
| MACHADO.pdf | 644.3 kB | Adobe PDF | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.