Repository logo

Exploring How Well Llama3 can Generate State Machines Represented in Umple

dc.contributor.authorPathak, Parva
dc.contributor.supervisorLethbridge, Timothy Christian
dc.date.accessioned2025-07-16T21:58:21Z
dc.date.available2025-07-16T21:58:21Z
dc.date.issued2025-07-16
dc.description.abstractModelling a system is an important part of design which can be time consuming and difficult. A common type of model is a state machine, describing a system or component's behaviour. Multiple languages have been created to make this process smoother, one of them being Umple, which enables describing state machines both textually and graphically, as well as embedding them in multiple programming languages and generating code from them. Although tools such as Umple have made the process easier, developers or business analysts still have to translate requirements into state machines. In this thesis, we investigate how well this step can be automated with the application of artificial intelligence. We show that using modern large language models, Llama 3 in our case, we can allow a user to generate a state machine by only providing a short description of the system requirements. These state machines generated by large language models (LLMs) can be used as a model for the system as is if they meet the requirements or a base that can be improved on. We found that for simple systems using a large language model along with techniques such as retrieval augmented generation and multi-shot learning, can save users large amount of time compared to coding state machines from scratch.
dc.identifier.urihttp://hdl.handle.net/10393/50664
dc.identifier.urihttps://doi.org/10.20381/ruor-31249
dc.language.isoen
dc.publisherUniversité d'Ottawa / University of Ottawa
dc.rightsAttribution 4.0 Internationalen
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/
dc.subjectstate machine
dc.subjectLlama
dc.subjectlarge language model
dc.subjectUmple
dc.subjectartificial intelligence
dc.subjectUML
dc.titleExploring How Well Llama3 can Generate State Machines Represented in Umple
dc.typeThesisen
thesis.degree.disciplineGénie / Engineering
thesis.degree.levelMasters
thesis.degree.nameMCS
uottawa.departmentScience informatique et génie électrique / Electrical Engineering and Computer Science

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail ImageThumbnail Image
Name:
Pathak_Parva_2025_thesis.pdf
Size:
1.37 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail ImageThumbnail Image
Name:
license.txt
Size:
6.65 KB
Format:
Item-specific license agreed upon to submission
Description: