Welcome to the upgraded BRAC University Institutional Repository. We are currently organizing collections after a recent system upgrade. Homepage category counters may temporarily show lower numbers while syncing, but over 27,000 repository items remain safe and accessible. Please use the search bar to find theses, scholarly outputs, and institutional documents.

Learning developer style: a stylometric framework for attribution, detection, and profiling

bracu.degree.levelUndergraduate
bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.advisorAzmain, Md. Aquib
dc.contributor.authorSams, Mohammad Sayed Safi
dc.contributor.authorNandi, Sudipta
dc.contributor.authorHami, Nabil Al
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2026-01-11T05:14:12Z
dc.date.available2026-01-11T05:14:12Z
dc.date.copyright2025
dc.date.issued2025-10
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 41-42).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2025.en_US
dc.description.abstractCode Stylometry applied to source code is the task of revealing the author or source of a source code file, based on style and structure. Authorship verification has grown to be of great significance with the emergence of the open-source code and issues of plagiarism. This paper gives us a composite research on code stylometry consisting of extensive experimentation on more than 3.2 million Python source code files. To make upstream features well-suited for style tasks, we build a pipeline which extracts both low-level (e.g. token-level, syntax) and high-level (e.g. structural, behavioral) styles. Putting the code snippets in groups according to their author, we will collect a set of more than 44,000 different author styles. We use and test a number of machine learning and deep learning models to predict metadata and notice how stylometry features correlate with metadata. Our pipeline will analyze the coding style of the author in every code and the outcome proves that authorial fingerprinting is attainable with immense precision concerning varying pieces of code. In addition, we evaluated the similarity of coding style among authors by using the stylometric features which were provided by our pipeline. Our model offers a modular system on which future tasks, like plagiarism detection, authorship attribution or codegeneration/ mimicking based on a style can be built upon. This contribution provides a solid methodology, a large stylometric datasets, and high-quality baselines, which will enable future line of research on in-secure-code forensics and author-independent intelligent code-generators.en_US
dc.description.degreeBachelor of Science in Computer Science and Engineering
dc.description.statementofresponsibilityMohammad Sayed Safi Sams
dc.description.statementofresponsibilitySudipta Nandi
dc.description.statementofresponsibilityNabil Al Hami
dc.format.extent50 pages
dc.identifier.otherID 21301704
dc.identifier.otherID 21301534
dc.identifier.otherID 21301512
dc.identifier.urihttp://hdl.handle.net/10361/27419
dc.language.isoenen_US
dc.publisherBRAC Universityen_US
dc.rightsBRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission.
dc.subjectCode stylometryen_US
dc.subjectAuthorship verificationen_US
dc.subjectAuthorial fingerprintingen_US
dc.subjectAuthor-independent codesen_US
dc.subjectIntelligent code generationen_US
dc.subject.lcshComputer software--Development.
dc.subject.lcshComputer programming.
dc.titleLearning developer style: a stylometric framework for attribution, detection, and profilingen_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
21301704, 21301534, 21301512_CSE.pdf
Size:
610.73 KB
Format:
Adobe Portable Document Format
Description:

License bundle

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