[Paper Review] Profiling Software Developers with Process Mining and N-Gram Language Models
This paper proposes a novel approach to profile software developers by combining process mining and n-gram language models on event logs from PyCharm IDE and Mooshak automatic judge during a controlled Python programming contest. The method successfully extracts coherent developer fingerprints, distinguishes top performers from less efficient ones using process simplicity metrics, and identifies consistent behavioral patterns linked to code quality, suggesting potential for detecting 'software development process smells'.
Context: Profiling developers is challenging since many factors, such as their skills, experience, development environment and behaviors, may influence a detailed analysis and the delivery of coherent interpretations. Objective: We aim at profiling software developers by mining their software development process. To do so, we performed a controlled experiment where, in the realm of a Python programming contest, a group of developers had the same well-defined set of requirements specifications and a well-defined sprint schedule. Events were collected from the PyCharm IDE, and from the Mooshak automatic jury where subjects checked-in their code. Method: We used n-gram language models and text mining to characterize developers' profiles, and process mining algorithms to discover their overall workflows and extract the correspondent metrics for further evaluation. Results: Findings show that we can clearly characterize with a coherent rationale most developers, and distinguish the top performers from the ones with more challenging behaviors. This approach may lead ultimately to the creation of a catalog of software development process smells. Conclusions: The profile of a developer provides a software project manager a clue for the selection of appropriate tasks he/she should be assigned. With the increasing usage of low and no-code platforms, where coding is automatically generated from an upper abstraction layer, mining developer's actions in the development platforms is a promising approach to early detect not only behaviors but also assess project complexity and model effort.
Motivation & Objective
- To investigate whether software developer profiles can be extracted from IDE and automatic judge event logs using text and process mining techniques.
- To assess if n-gram language models can effectively represent and classify developer behavior patterns during software development sessions.
- To evaluate whether process mining can reveal meaningful workflow differences between high-performing and low-performing developers.
- To explore the feasibility of detecting 'software development process smells' through automated analysis of developer action sequences.
- To provide a foundation for intelligent IDE feedback and improved team resource allocation based on behavioral profiling.
Proposed method
- Collecting event logs from PyCharm IDE and Mooshak automatic judge during a controlled Python programming contest with 37 developers.
- Applying n-gram language models (tri- and four-grams) to model sequences of developer actions as pseudo-natural language text.
- Using process mining algorithms to discover, visualize, and evaluate the underlying workflows from the event logs.
- Computing process simplicity metrics to compare developers’ workflows and assess behavioral consistency.
- Evaluating model performance via perplexity and statistical tests to validate the robustness of the profiling approach.
- Correlating behavioral profiles with task outcomes to identify patterns linked to code quality and productivity.
Experimental results
Research questions
- RQ1Can developer behavior during software development be effectively modeled as a sequence of actions and analyzed using n-gram language models?
- RQ2Do process mining techniques reveal distinct, interpretable workflows that differentiate high-performing from low-performing developers?
- RQ3Is there a measurable difference in process simplicity between top performers and others, indicating more efficient development practices?
- RQ4Can the extracted behavioral fingerprints be used to detect consistent development patterns or 'process smells'?
- RQ5To what extent can these profiles support informed task assignment or real-time feedback in IDEs?
Key findings
- Tri- and four-gram language models provided the optimal balance in capturing developer behavior patterns, as confirmed by perplexity evaluation.
- Process mining revealed distinct, interpretable workflows that clearly differentiated top performers from less efficient developers.
- A significant difference in process simplicity was observed between top performers and others, with top performers exhibiting more streamlined and consistent workflows.
- The approach successfully generated coherent developer fingerprints that could be used to assess productivity and code quality without relying solely on final output.
- The study demonstrates the feasibility of detecting 'software development process smells' through automated analysis of IDE event sequences.
- The results suggest that such profiling can support early detection of inefficient practices and inform better team resource allocation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.