{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/80138"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/80138","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"Applications of the Naturalness of Software","abstract":"There is a wealth of software development artifacts such as source code, issue reports, and revision histories, contained within publicly-accessible and privately-accessible repositories. Mining this data presents myriad opportunities that may benefit future software development efforts; however it is unclear exactly how to leverage this data. This thesis explores the naturalness of software—the assertion that source code, much like natural languages, is regular and predictable. This enables the application of techniques borrowed from the fields of natural language processing (NLP) and information retrieval (IR) to gain insight from existing software repositories. This thesis demonstrate different methods of mapping software artifacts to natural language models and full-text databases. Then, we show how to use these models and databases in the tasks of predicting whether a commit may break the build; clustering crash reports in a scalable and time-efficient manner; and detecting and correcting syntax errors in code written by novices. This thesis empirically demonstrate the effectiveness of these tools on real world software repositories. I conclude by suggesting ways of further exploiting the data contained within software repositories.","abstract_html":"There is a wealth of software development artifacts such as source code, issue reports, and revision histories, contained within publicly-accessible and privately-accessible repositories. Mining this data presents myriad opportunities that may benefit future software development efforts; however it is unclear exactly how to leverage this data. This thesis explores the naturalness of software—the assertion that source code, much like natural languages, is regular and predictable. This enables the application of techniques borrowed from the fields of natural language processing (NLP) and information retrieval (IR) to gain insight from existing software repositories. This thesis demonstrate different methods of mapping software artifacts to natural language models and full-text databases. Then, we show how to use these models and databases in the tasks of predicting whether a commit may break the build; clustering crash reports in a scalable and time-efficient manner; and detecting and correcting syntax errors in code written by novices. This thesis empirically demonstrate the effectiveness of these tools on real world software repositories. I conclude by suggesting ways of further exploiting the data contained within software repositories.","abstract_has_math":false,"creators":["Santos, Eddie"],"institution":"University of Alberta","degree_name":"Master of Science","degree_level":"Master's","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Hindle, Abram (Computing Science)"],"committee_chairs":[],"committee_members":[],"year":2018,"date_issued":"2018-11","date_published":"2018-11","updated_at":"2026-11-26T21:09:17Z","subjects":["n-gram","Syntax and Sensibility","software engineering","PartyCrasher: scalable crash report deduplication","tokenization","naturalness","Judging a commit by its cover","unnaturalness","LSTM"],"languages":["en"],"rights":["Permission is hereby granted to the University of Alberta Libraries to reproduce single copies of this thesis and to lend or sell such copies for private, scholarly or scientific research purposes only. Where the thesis is converted to, or otherwise made available in digital form, the University of Alberta will advise potential users of the thesis of these terms. The author reserves all other publication and other rights in association with the copyright in the thesis and, except as herein before provided, neither the thesis nor any substantial portion thereof may be printed or otherwise reproduced in any material form whatsoever without the author's prior written permission."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.7939/R3W37MB7X","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/R3W37MB7X","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aalberta%3Aoai%3Aualberta.scholaris.ca%3A123456789%2F80138","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F80138","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Hindle, Abram (Computing Science)"]},{"key":"dc:creator","label":"Author","values":["Santos, Eddie"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-05-28T23:18:07Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-05-28T23:18:07Z"]},{"key":"dc:date.issued","label":"Date","values":["2018-11"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master's"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Alberta"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["n-gram","Syntax and Sensibility","software engineering","PartyCrasher: scalable crash report deduplication","tokenization","naturalness","Judging a commit by its cover","unnaturalness","LSTM"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["Permission is hereby granted to the University of Alberta Libraries to reproduce single copies of this thesis and to lend or sell such copies for private, scholarly or scientific research purposes only. Where the thesis is converted to, or otherwise made available in digital form, the University of Alberta will advise potential users of the thesis of these terms. The author reserves all other publication and other rights in association with the copyright in the thesis and, except as herein before provided, neither the thesis nor any substantial portion thereof may be printed or otherwise reproduced in any material form whatsoever without the author's prior written permission."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7939/R3W37MB7X"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["There is a wealth of software development artifacts such as source code, issue reports, and revision histories, contained within publicly-accessible and privately-accessible repositories. Mining this data presents myriad opportunities that may benefit future software development efforts; however it is unclear exactly how to leverage this data. This thesis explores the naturalness of software—the assertion that source code, much like natural languages, is regular and predictable. This enables the application of techniques borrowed from the fields of natural language processing (NLP) and information retrieval (IR) to gain insight from existing software repositories. This thesis demonstrate different methods of mapping software artifacts to natural language models and full-text databases. Then, we show how to use these models and databases in the tasks of predicting whether a commit may break the build; clustering crash reports in a scalable and time-efficient manner; and detecting and correcting syntax errors in code written by novices. This thesis empirically demonstrate the effectiveness of these tools on real world software repositories. I conclude by suggesting ways of further exploiting the data contained within software repositories."]},{"key":"dc:title","label":"Title","values":["Applications of the Naturalness of Software"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Hindle, Abram (Computing Science)"],"dc:creator":["Santos, Eddie"],"dc:date.accessioned":["2025-05-28T23:18:07Z"],"dc:date.available":["2025-05-28T23:18:07Z"],"dc:date.issued":["2018-11"],"dc:description.abstract":["There is a wealth of software development artifacts such as source code, issue reports, and revision histories, contained within publicly-accessible and privately-accessible repositories. Mining this data presents myriad opportunities that may benefit future software development efforts; however it is unclear exactly how to leverage this data. This thesis explores the naturalness of software—the assertion that source code, much like natural languages, is regular and predictable. This enables the application of techniques borrowed from the fields of natural language processing (NLP) and information retrieval (IR) to gain insight from existing software repositories. This thesis demonstrate different methods of mapping software artifacts to natural language models and full-text databases. Then, we show how to use these models and databases in the tasks of predicting whether a commit may break the build; clustering crash reports in a scalable and time-efficient manner; and detecting and correcting syntax errors in code written by novices. This thesis empirically demonstrate the effectiveness of these tools on real world software repositories. I conclude by suggesting ways of further exploiting the data contained within software repositories."],"dc:identifier.doi":["https://doi.org/10.7939/R3W37MB7X"],"dc:language.iso":["en"],"dc:rights":["Permission is hereby granted to the University of Alberta Libraries to reproduce single copies of this thesis and to lend or sell such copies for private, scholarly or scientific research purposes only. Where the thesis is converted to, or otherwise made available in digital form, the University of Alberta will advise potential users of the thesis of these terms. The author reserves all other publication and other rights in association with the copyright in the thesis and, except as herein before provided, neither the thesis nor any substantial portion thereof may be printed or otherwise reproduced in any material form whatsoever without the author's prior written permission."],"dc:subject":["n-gram","Syntax and Sensibility","software engineering","PartyCrasher: scalable crash report deduplication","tokenization","naturalness","Judging a commit by its cover","unnaturalness","LSTM"],"dc:title":["Applications of the Naturalness of Software"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["Master's"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T21:09:17Z"}