Article

October 26, 2026

Automation of Code Review with Generative Artificial Intelligence

Renato Augusto do Carmo de Lacerda; Lucas José de Souza

DOI: 10.22167/2675-6528-202603405

Article derived from a Course Conclusion Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.

Summary

The integration of generative language models into software engineering has driven new dynamics in quality validation processes in technology projects. The effectiveness of the automated assistant “Gemini” was evaluated in comparison to human review in a real corporate development environment. An empirical research with a quali-quantitative approach was conducted, analyzing 60 Pull Requests from web and mobile applications. The extracted data were subjected to descriptive statistical analysis and thematic content analysis, which classified the suggestions into four error categories. The results showed that the automated tool generated a significantly higher volume of findings than the experts (222 versus 56 suggestions), but with a lower overall acceptance rate (57.21% versus 91.07%). It was observed that the assistant failed to interpret architectural interdependencies and business contexts, generating false positives that increased the team’s extrinsic cognitive load. In contrast, the automation showed high precision in validating deterministic framework rules and acted as a neutral equalizer, mitigating authority bias during social interactions. It was concluded that the evaluated technology does not have the structural capacity to replace contextualized validation, but generates practical gains when allocated in the workflow as a first-line filter focused on documentation.

Keywords: Task automation; Cognitive load; Quality assurance; Engineering productivity; Authority bias.

1. Introduction

Code review is a collaborative practice essential in software engineering, where developers analyze changes proposed by their peers (Davila et al., 2025). Its main objective is to improve software quality, mitigating defects, errors, and potential issues (Davila et al., 2024; Badampudi et al., 2023). Furthermore, this practice facilitates the sharing of technical knowledge, the dissemination of best practices, and the search for alternative solutions, contributing to the system’s maintenance, security, and design (Bacchelli and C. Bird, 2013). Code review is intrinsically linked to the quality and integrity of a project’s codebase (Sadowski et al., 2018).

The initial formalization of the code review process is attributed to Fagan (1976), who described a systematic method involving meetings and specific roles. However, modern code review practices have evolved into an asynchronous model, often mediated by tools integrated with version control systems, such as GitHub and GitLab (Badampudi et al., 2023). In these environments, reviews are commonly performed through Pull Requests (PRs), which are formal proposals for code modification (Zhang et al., 2023).

Despite the benefits, the code review process faces several challenges. Among them, delays in reviews due to reviewer unavailability and the difficulty in focusing on crucial aspects of the change, rather than trivial or stylistic details (MacLeod et al., 2018; Sadowski et al., 2018), stand out. The complexity of understanding large changes and the lack of clear information about the proposals also increase the time required for review, raising the cognitive load on reviewers (Badampudi et al., 2023).

Recently, advances in Generative Artificial Intelligence (GAI), driven by the emergence and commercialization of large language models (Naveed et al., 2023), have been widely adopted by the software development industry (Fan et al., 2023). Reports indicate that a significant portion of developers already use GAI to assist in their responsibilities, including code writing and review, which correlates with improvements in documentation quality, code quality, and review speed (Google, 2024). GAI is expected to integrate into all software development processes, marking a paradigm shift (Belzner et al., 2023).

The use of AI in code review aims to automate and streamline this process, providing faster responses and identifying common errors. This reduces the need for human review for repetitive and low-complexity tasks, allowing reviewers to focus on more complex design and project-specific domain issues.

However, LLMs present limitations that affect their effectiveness in code review. These limitations include the restricted context window size, which limits the amount of code that can be analyzed, the lack of understanding of the project’s specific domain, unawareness of the development history and previous decisions, and knowledge limited to the period in which the model was trained.

In this scenario, the “Gemini” model, developed by Google, stands out for its high context window and low cost (Gemini Team, 2024). The “Gemini Code Review Assistant” is a tool integrated with GitHub, which automates part of the code review process, generating change summaries, indicating design, security, or performance issues, and suggesting fixes (Salva, 2025).

Despite its potential, the capacity of AI for interpreting complex contexts and architectural interdependencies still generates false positives, increasing the team’s extrinsic cognitive load. The growing adoption of AI in software engineering, therefore, demands an empirical evaluation of its real capabilities and limitations in corporate environments. Thus, this work is justified by the need to understand the practical impact and effectiveness of the “Gemini Code Review Assistant” in a real code review workflow, and aims to evaluate the “Gemini Code Review Assistant” in the code review process, analyzing its capabilities and limitations in a real software development environment.

2. Material and Methods

The research was characterized as a case study of an applied nature, with a mixed, quali-quantitative approach. The objective was to evaluate the effectiveness of the “Gemini Code Review Assistant” in the code review process, analyzing its capabilities and limitations in a real software development environment.

The empirical object consisted of the code repositories of a technology startup, with seven active developers. The scope covered two projects: a web application (Vue) and a mobile application (React Native). Both used TypeScript and were maintained in private GitHub repositories, for version control and Pull Request (PR) management.

The development team included a Tech Lead, responsible for reviews, and five developers. The Tech Lead’s code was reviewed by another. The “Gemini Code Review Assistant” was installed in the repositories via GitHub Marketplace, maintaining default settings: unlimited suggestion generation and filtering for medium severity or higher findings.

The assistant performed automatic reviews when creating a Pull Request, without author intervention. Gemini’s comments and suggestions were visible in the GitHub interface, accessible to human reviewers. There was no guideline for interaction with Gemini’s comments; the decision to respond, apply, or ignore was at the discretion of each developer.

The final sample consisted of sixty Pull Requests, validated during data collection. Filtering criteria excluded closed PRs without merge, without code modification, and approved/integrated without human review. A suggestion was “accepted” when the recommended modification was incorporated into the Pull Request code, regardless of the execution method.

Data collection occurred through manual extraction of interactions registered on GitHub, organized in Microsoft Excel spreadsheets. The registration and classification process was structured in two moments: initial raw extraction and retrospective definition of categories, followed by real-time classification for new suggestions in the second half of the study.

For each note, the Pull Request and suggestion identifier, access link, project, author (human or Gemini Assistant), summary, acceptance status, and category were recorded. The spreadsheet was consolidated in .xlsx format, preserving the data in its original nature.

The quantitative analysis was conducted by descriptive statistics, using Microsoft Excel. The average of suggestions and the comparative acceptance rate between human reviewers and the “Gemini Code Review Assistant” were calculated. The categorization of suggestions allowed for the calculation of the specific acceptance rate per category.

In parallel, a qualitative analysis of rejected suggestions (false positives) was conducted. This stage involved critical investigation of interactions to categorize the AI’s limitations, considering the technical context and the team’s social dynamics. Thematic Content Analysis technique was employed to categorize the suggestions emerging from the root of the problem.

The suggestions were classified into four main categories: “Bugs or Logic Problems”, “Performance and Optimization”, “Framework-Specific Suggestions”, and “Code Patterns”. In cases of multiple categories, the most specific root of the problem was prioritized.

All collected data were anonymized, and participants were aware of the study, with no personal identification, in compliance with institutional guidelines. The use and extraction of information contained in the organization’s private repositories were previously authorized through the approval of the institutional representative.

3. Results and Discussion

This study evaluated the effectiveness of the “Gemini Code Review Assistant” compared to human review in a corporate development environment, analyzing 60 Pull Requests (PRs) from web and mobile applications. The sample totaled 22,971 lines added, with an average of 264.06 lines per PR, 9,144 lines removed, with an average of 105.10 per PR, and 743 files modified, with an average of 8.54 per PR. Initial results revealed a substantial difference in the volume of suggestions and acceptance rates between the automated tool and human reviewers, indicating distinct dynamics of action in the code quality assurance process.

The quantitative analysis demonstrated that the “Gemini Code Review Assistant” generated a significantly higher volume of interactions, totaling 222 suggestions, in contrast to the 56 suggestions presented by human reviewers. However, the overall acceptance rate of Gemini’s suggestions was 57.21%, considerably lower than the 91.07% rate achieved by human suggestions. This disparity suggests that, although AI is capable of identifying a large number of potential improvements, the relevance and applicability of these suggestions in the real project context are lower when compared to the evaluations made by human experts.

In terms of comment frequency per Pull Request, the Gemini Assistant registered an average of 2.55 suggestions per PR, with a standard deviation of 1.52, while human reviewers presented an average of only 0.64 comments per PR, with a standard deviation of 1.68. It was observed that Gemini tended to issue at least one pointer in almost all reviews, with only one PR in the sample without any suggestion from the AI. In contrast, human performance was more selective, with several PRs being approved without comments, but with a substantial increase in manual interactions in submissions involving large volumes of code.

This dynamic is illustrated by the concentration of points representing Gemini’s predominant participation in the lower comment ranges, indicating its constant and routine activity in repositories of all sizes. As the modification size and total interaction volume increase, the points take on lighter shades, showing that more extensive modifications with greater structural impact attract deeper scrutiny from the human team, resulting in multiple interventions by real reviewers rather than the machine.

Bugs or Logic Problems

In the category of Bugs or Logic Problems, the automated tool demonstrated a clear prioritization in the search for functional flaws, being responsible for the largest volume of AI-generated findings, with 85 suggestions. However, the acceptance rate of these suggestions was only 47.06%, contrasting significantly with the human precision of 94.44%. This pattern is consistent with findings from Sun et al. (2025), who also reported a high acceptance rate for human suggestions (90.77%) and a similar rate for AI review tools (47.27% and 51.48%).

The low acceptance rate of Gemini’s suggestions in this category may be attributed to its inability to interpret deeper layers of contextual information. Study participants described situations where the tool generated feedback that was technically correct in the abstract but inappropriate or counterproductive within the specific conventions and constraints of the systems. Practical examples include the warning of a possible division by zero in an interface where such an event would be impossible or the charging of an `await` in a synchronous function, as observed in PRs MOB-45 and MOB-49, respectively.

This limitation of AI in understanding systemic context is widely discussed in the literature. Hou et al. (2024) concluded that large language models (LLMs) reach their peak performance in tasks with an abundance of public and well-structured training data, but exhibit high false positive rates in tasks that require understanding of broad systemic context. Castaldi (2025) complements this perspective, identifying that developers’ skepticism towards AI review tools is not directed at the technology in abstract, but at its inability to interpret contextual information.

Gemini’s operation, based exclusively on local and isolated analysis, lacks the iterative “mental model” that human developers build, which integrates syntax, system architecture, and software expectations (Gonçalves et al., 2025). Tufano et al. (2025) observed that, although reviewers exposed to AI feedback identified more defects, the total review time did not decrease, as the effort to verify, interpret, and discard or accept AI comments often outweighed the time saved by automated analysis. This phenomenon, termed “cognitive anchoring,” leads reviewers to focus their attention on AI’s points, potentially overlooking other issues.

The introduction of LLMs also breaks the reciprocity and accountability cycle, as AI, being a machine, cannot be held accountable for logical suggestions that break the code (Alami et al., 2018). This operational limitation forces human reviewers to process, validate, and discard out-of-scope alerts, which acts as a productivity drain and increases extrinsic cognitive load. Empirical studies at Meta, according to Maddila et al. (2025), have shown that forcing engineers to deal with unfiltered AI suggestions increases the total review time, generating severe cognitive overload. Adhalsteinsson et al. (2025) identified false positives as the main concern of engineers when adopting LLM review tools.

When AI comments before the human reviewer, the problem of cognitive anchoring is exacerbated, directing the reviewer’s attention to the points flagged by the tool, to the detriment of a more open and independent inspection. This dynamic highlights the importance of the tool’s positioning in the workflow, suggesting that AI can be more effective as a first-line filter, focused on well-documented issues, allowing human reviewers to direct their energy towards more complex business problems, sparing their cognitive load.

Performance and Optimization

In the Performance and Optimization suggestions category, the AI generated a minuscule volume of suggestions, with only six points, but with a reasonable acceptance rate of 66.67%. This indicates that the tool can be useful for local micro-optimizations, such as preventing a memory leak in PR MOB-38 or alerting about the improper use of the `spread operator` in PR MOB-59. Interestingly, human reviewers focused more on this category, with 26 suggestions, but with a lower acceptance rate of 50%, which reflects the complexity of architectural debates and the subjectivity involved in optimization decisions.

The counterpoint between AI and human suggestions is evident in cases like PR WEB-3, where the AI attempted to optimize a local loop in the front-end, while the human reviewer noticed an architectural error and suggested moving the calculation to the server. This phenomenon corroborates the findings of Paradis et al. (2025), which indicate that AI productivity gains are intimately dependent on developer-level variables, such as seniority and prior system knowledge. AI tools focus on isolated file-level analyses but fail to comprehend global interdependencies.

This limitation is precisely documented by Hou et al. (2024), who synthesize that the best performances of LLMs in the literature are obtained in problems of local and well-defined scope. Optimization suggestions that demand understanding of interdependencies between modules, layers, or services remain beyond the reliable reach of current models. Machine optimization suggestions lose relevance when they do not consider the macro architecture, reaffirming that System Design and Architecture remain a human competence dependent on systemic context.

Specific Framework Suggestions

AI’s greatest strength lies in highly documented domains, such as framework usage-specific suggestions. In this category, Gemini Assistant presented 47 suggestions with a high acceptance rate of 72.34%, while human reviewers had 10 suggestions with 100% acceptance. The tool acted as an expert in identifying complex issues in application lifecycles, such as problematic `retry` logic in React (PR MOB-51) and improper use of the `FlatList` component (PR MOB-17).

This highlight occurs because frameworks like React and Vue have deterministic rules that are widely documented on the internet. As pointed out in the literature, AI reaches its peak performance when it operates where there is an abundance of training data (Paradis et al., 2025), a pattern systematically confirmed by the review of Hou et al. (2024). This result is replicated in the study by Rasheed et al. (2024), where the authors reported that an AI with instructions for checking coding patterns showed the highest accuracy in languages with extensive public documentation, such as Python.

In contrast, the same AI exhibited higher false positive rates for bug identification, precisely due to lacking execution context and specific business rules, replicating the pattern observed in the present study between the categories of frameworks (high acceptance) and functional failures (low acceptance). Therefore, the practical recommendation supported by experts is that generative models be strictly positioned as “first-line reviewers” (Alami et al., 2018). By using AI focused on finding well-documented issues, human reviewers save their cognitive load and direct their energy towards real business problems.

Code Standards

The “Code Standards” category was the second most frequent for AI, with 84 suggestions. The high volume generated is explained by the lower need for systemic context, as there are readability guidelines that are universal. There were critical successes, such as the detection of exposed API keys in PR MOB-17. However, human reviewers surpassed AI in effectiveness, with 88.46% acceptance compared to AI’s 58.33%, because they base their suggestions on tacit conventions and the culture that the team itself already uses.

The most evident friction occurred at the user interface (UI), where AI generated significant noise by repeatedly suggesting spacing (PR WEB-10) and color (PR WEB-24) changes based on generic aesthetic patterns. These suggestions contradicted the visual prototypes approved by the company in Figma. Castaldi (2025) precisely documents this pattern, where participants reported that the tools generated correct feedback, but not aligned with company or project standards, leading developers to selectively adopt only recommendations that did not require contextual knowledge.

Productive engagement with assistance tools is primarily based on trust (Chan et al., 2025). When the model generates recursive and insistent revisions that ignore the project’s design context, the comments become redundant. This breakdown of credibility generates skepticism in the developer, hindering the continuous adoption of the tool (Cihan et al., 2024). To avoid this wear and tear, AIs would need to allow the prior ingestion of configurable contexts, such as the organization’s specific Design System, to align their suggestions with internal guidelines.

The quantitative dimension of this phenomenon is illustrated by Sun et al. (2025), who in their large-scale study observed that AI review tools with automatic activation in all PRs presented the lowest comment addressing rates. In contrast, manually activated tools, where the developer explicitly requests the review, had significantly higher rates. The authors interpret this result as evidence that the developer’s intention when requesting the review modulates their willingness to act on it, while unsolicited automatic comments tend to be discarded, especially when the tool has a history of generating false positives in the same repository.

Sociological Factor and AI Positioning

Beyond absolute metrics, it is fundamental to consider the sociological factor inherent in software engineering. The qualitative team dynamics revealed a natural hesitation of junior developers to correct or question the Tech Lead’s code. The “Gemini Assistant”, being a non-human agent free from corporate pressures, inspected and pointed out errors in the technical leader’s code with the same scrutiny it would apply to an intern, acting as a neutral equalizer and mitigating authority bias during social interactions.

Literature defines code review not only as a technical validation but as a social transition from individual to collective responsibility, frequently affected by “Authority Bias” (Alami et al., 2018). Developers tend to reduce inspection of senior members’ code by presuming their technical infallibility or by fear of friction. Alami and Ernst (2025), in a study of interviews, empirically confirmed this dynamic, where the credibility attributed to a human reviewer’s feedback is conditioned by hierarchy, relational history, and perceived tone.

In contrast, the same study documented that reviews generated by LLMs are perceived as emotionally neutral, which reduces the emotional cost of receiving and issuing criticism, eliminating the variability of mood, perceived authority, and power dynamics that characterize human peer reviews. Developers believe that AI would never be demanding for personal reasons, which facilitates the acceptance of suggestions (Alami and Ernst, 2025). This body of evidence points to a convergent conclusion in the literature and in the findings of this work: the value of AI in code review is neither uniform nor unconditional.

The value of AI is modulated by the domain of feedback, being more effective in highly documented domains than in business-dependent contexts. The tool’s positioning in the workflow is also crucial: AI is more beneficial when used for pre-review than as an autonomous agent. The configurability available for ingesting organizational context and the sociotechnical dimensions of the adoption environment also influence its effectiveness. AI does not replace the human reviewer, but reconfigures the review process in ways that both expand and restrict its effectiveness, and understanding this duality is a necessary condition for any responsible adoption strategy of these tools in corporate development environments.

The study by Collante et al. (2025) offers a relevant counterpoint, analyzing 25,473 pull requests and finding that AI-assisted PRs showed a reduction of over 60% in total median resolution time, decreasing from 23 hours to 9 hours in unassisted PRs. Phase-based analysis revealed a 33% reduction in review time and an 87% reduction in waiting time before acceptance. However, qualitative analysis of 300 assisted PRs indicated that developers predominantly used AI for code optimization and preparation before submission to the reviewer, rather than as an autonomous review agent during the process.

This finding suggests that the positioning of AI in the workflow is determinant for its value. Used as a refinement tool before human review, AI generates measurable efficiency gains. However, when used as a substitute for the human reviewer or as an autonomous agent for annotations during the process, it tends to introduce cognitive overload and generate the friction documented in this work and in Tufano et al. (2025). Absolute metrics and the sociological factor are fundamental to understanding the effectiveness of AI in software engineering.

The limitations inherent in this work include the fact that the case study was conducted in a single organization, with a sample restricted to 60 Pull Requests and six developers, which limits the universal generalization of the findings. Furthermore, the research focused specifically on the React Native and Vue 3 ecosystems, and other languages and frameworks might present different results. It was not possible to prevent human reviewers from reading the suggestions of Gemini Assistant, which may have influenced their own suggestions. As this is an emerging area, the literature on the subject still presents a wide diversity of methodologies and evaluation criteria.

In summary, the evaluation of the “Gemini Code Review Assistant” demonstrated that, although automation generates a high volume of suggestions, its practical utility is inferior to that of human review, especially due to the absence of understanding of the business context and architectural interdependencies. The tool fails to interpret contextual nuances, generating false positives that increase the team’s cognitive load. However, AI proves highly effective in widely documented technical domains, such as framework rules, and acts as a neutral equalizer, mitigating authority bias. Thus, the evaluated technology does not replace contextualized validation but generates practical gains when allocated in the workflow as a first-line filter focused on documentation and code standards.

4. Conclusion

The present study evaluated the “Gemini Code Review Assistant” in the code review process, investigating its capabilities and limitations in a real software development environment. It was found that the automated tool generated a significantly higher volume of suggestions than human reviewers, but with a considerably lower overall acceptance rate. It was observed that the assistant failed to interpret architectural interdependencies and business contexts, resulting in false positives that increased the team’s extrinsic cognitive load. On the other hand, high precision of automation was identified in validating deterministic framework rules, and its performance as a neutral equalizer was noted, mitigating authority bias during social interactions. The main practical contribution of this work lies in demonstrating that, although Artificial Intelligence does not replace contextualized validation, it generates substantial practical gains when allocated in the workflow as a first-line filter, focused on documentation and code patterns.

The limitations of this study include its conduct within a single organization, with a restricted sample of 60 Pull Requests and six developers, which limits the universal generalization of the findings. Additionally, the research focused on the React Native and Vue 3 ecosystems, and the inevitable exposure of human reviewers to Gemini Assistant’s suggestions may have influenced their own evaluations. For future work, it is recommended to replicate this methodological design with other generative tools and in large-scale open-source repositories, as well as to investigate new interface flows to compare shared or exclusive suggestions from different types of reviewers. It is concluded that Artificial Intelligence is not a viable substitute for human review in business rules and architecture validations, but its targeted application to syntax and framework rules allows human developers to focus their cognitive effort on functional complexities, architecture, and product design.

Bibliographic References

Alami, A.; Ernst, N. A. 2025. Human and Machine

Bacchelli, A.; Bird, C. 2013. Expectations, outcomes, and challenges of modern code review. In: 2013 35th International Conference on Software Engineering (ICSE), 2013, San Francisco, CA, USA. Anais… p. 712-721.

Badampudi, D.; Unterkalmsteiner, M.; Britto, R. 2023. Modern Code Reviews—Survey of Literature and Practice. ACM Trans. Softw. Eng. Methodol. 32(4): Artigo 107.

Belzner, L.; Gabor, T.; Wirsing, M. 2023. Large Language Model Assisted Software Engineering: Prospects, Challenges, and a Case Study. p. (Não especificado). In: Bridging the Gap Between AI and Reality, First International Conference, AISoLA 2023, 2023, Crete, Greece. Proceedings.

Castaldi, W. S. 2025. Perceptions and challenges of Al-driven code reviews: a qualitative exploration of developer experiences. Issues in Information Systems, v. 26, n. 2, p. 346-360.

Davila, N.; Melegati, J.; Wiese, I. 2024. Tales From the Trenches: Expectations and Challenges From Practice for Code Review in the Generative AI Era. IEEE Software 41(6): 38-45.

Davila, N.; Nunes, I.; Wiese, I. 2025. A fine-grained taxonomy of code review feedback in TypeScript projects. Empir Software Eng 30(53): Artigo 53.

Fagan, M. E. 1976. Design and code inspections to reduce errors in program development. IBM Systems Journal 15(3): 182-211.

Fan, A.; Gokkaya, B.; Harman, M.; Lyubarskiy, M.; Sengupta, S.; Yoo, S.; Zhang, J. M. 2023. Large Language Models for Software Engineering: Survey and Open Problems. Disponível em: https://arxiv.org/abs/2310.03533. Acesso em: 17 mar. 2025.

Gemini Team. 2024. Gemini: A Family of Highly Capable Multimodal Models. Disponível em: https://arxiv.org/abs/2312.11805. Acesso em: 23 mar. 2025.

Gonçalves, P. W.; Rani, P.; Storey, M. A.; Spinellis, D.; Bacchelli, A. 2025. Code Review Comprehension: Reviewing Strategies Seen Through Code Comprehension Theories. arXiv preprint arXiv:2503.21455. Disponível em: https://arxiv.org/abs/2503.21455.

Google. 2024. Accelerate State of DevOps.

Hou, X.; Zhao, Y.; Liu, Z.; Yang, K.; Wang, L.; Li, X.; Luo, D.; Lo, J.; Grundy, H.; Wang. 2024. Large language models for software engineering: A systematic literature review. ACM Transactions on Software Engineering and Methodology, v. 33, n. 8, p. 1-79.

MacLeod, L.; Greiler, M.; Storey, M. -A.; Bird, C.; Czerwonka, J. 2018. Code Reviewing in the Trenches: Challenges and Best Practices. IEEE Software 35(4): 34-42.

Naveed, H.; Khan, A. U.; Qiu, S.; Saqib, M.; Anwar, S.; Usman, M.; Akhtar, N.; Barnes, N.; Mian, A. 2024. A Comprehensive Overview of Large Language Models. Disponível em: https://arxiv.org/abs/2307.06435. Acesso em: 20 mar. 2025.

Sadowski, C.; Söderberg, E.; Church, L.; Sipko, M.; Bacchelli, A. 2018. Modern code review: a case study at google. In: Proceedings of the 40th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP ’18), 2018, New York, NY, USA. Anais… p. 181-190.

Salva, R. J. 2025. Get coding help from Gemini Code Assist now for free. Disponível em: https://blog.google/technology/developers/gemini-code-assist-free/. Acesso em: 20 mar.

Sun, K.; Kuang, H.; Baltes, S.; Zhou, X.; Zhang, H.; Ma, X.; Rong, G.; Shao, D.; Treude, C. 2025. Does AI Code Review Lead to Code Changes? A Case Study of GitHub Actions. arXiv preprint arXiv:2508.18771. Disponível em: https://arxiv.org/abs/2508.18771.

Tufano, R.; Martin-Lopez, A.; Tayeb, A.; Dabić, O.; Haiduc, S.; Bavota, G. 2025. Deep Learning-based Code Reviews: A Paradigm Shift or a Double-Edged Sword? In: IEEE/ACM 47th International Conference on Software Engineering (ICSE), 2025. Proceedings. ACM Digital Library.

Zhang, X.; Yu, Y.; Gousios, G.; Rastogi, A. 2023. Pull Request Decisions Explained: An Empirical Overview. IEEE Transactions on Software Engineering 49(2): 849-871.

Article originating from the Final Course Work of the Specialization in Software Engineering of the MBA USP/Esalq

To learn more about the course, click here and access the MBX Academy platform

You may also like

Executive Mba In Leadership And Management

November 23, 2026

Improvements in the efficiency of a secondary biological sludge drying plant

The management of industrial solid waste, especially secondary biological sludge, represented an operational and strategic challenge for a company in the pulp and paper sector. A secondary biological sludge drying plant, installed to meet environmental requirements and reduce costs, operated with low efficiency and high unavailability. The objective of this study was to evaluate and propose a set of actions to increase the operational availability of the plant, ensure the integral processing of the generated sludge, and reduce treatment and transportation costs, in addition to mitigating environmental risks. To this end, an analysis of the root causes of low efficiency was carried out, using tools such as the cause-and-effect diagram (Ishikawa) and the “5 whys” analysis, and hypotheses were tested to identify the most impactful factors. Three main root causes were identified: addition of low-load effluent to the process, absence of a dedicated maintenance team, and lower consistency of dewatered sludge. The proposed countermeasures, which included stopping the addition of effluent, hiring a maintenance team, and testing polymers, had a monthly implementation cost of R$ 35,000.00. An annual reduction in operating expenses of up to R$ 1,800,000.00 and maintenance costs of R$ 600,000.00 was estimated, in addition to a 25% reduction in operational unavailability. It was concluded that the proposed measures are viable, quick to implement, and capable of ensuring the integral processing of secondary biological sludge, strengthening the company’s ESG strategy and ensuring environmental compliance.

Keywords: Operational costs; Operational efficiency; ESG; Biological sludge; Sludge drying.

Data Science And Analytics For Operations

November 19, 2026

Polyp-YOLO: an efficient, low-latency detector for polyps in colonoscopies

The early detection of colorectal polyps is crucial for the prevention of colorectal cancer, and real-time computer-aided detection (CADe) systems have shown gains in endoscopic practice. The objective was to develop and validate a lightweight colorectal polyp detector, based on the YOLO architecture, capable of operating on restricted hardware with high precision and low latency. The methodology used public datasets of endoscopic images, partitioning the Kvasir-SEG dataset for training and internal validation, and CVC-ClinicDB and ETIS-Larib Polyp DB for cross-dataset evaluation. Lightweight variants of the YOLOv8, YOLO11, and YOLO26 families with 640×640 pixel input were evaluated. A grid search tested 70 combinations of optimizers and activation functions, and identified AdaBelief and LeakyReLU as the configuration with the best generalization. The optimization pipeline applied unstructured pruning, knowledge distillation, and fine-tuning. The optimized YOLO11n-seg model outperformed the higher-capacity architecture (YOLO26m-seg) in mAP50 and showed similar performance in F1-Score, operating with approximately seven times fewer parameters. It achieved an mAP50 of 0.7929 and an F1-Score of 0.7514 on the ETIS-Larib dataset, and fast inference was demonstrated in different formats, with real-time latencies. The explainability of predictions was validated by Grad-CAM activation maps. The proposed solution demonstrated itself to be a promising experimental tool for diagnostic support, with technical feasibility for integration into environments with reduced computational power, although it requires future clinical validation.

Keywords: Computer-aided detection; Edge computing; Hyperparameter optimization; Endoscopic image segmentation; Medical computer vision.

Data Science And Analytics For Operations

November 19, 2026

Multi-touch Attribution in E-commerce: A Comparison between Markov Chains and Last-Click

The research investigated Multi-touch Attribution (MTA) Models in e-commerce, seeking to overcome the limitations of the Last-Click model, widely used in the market. The objective was to compare the performance of first-order Markov Chains with Last-Click and Position-Based approaches, identifying the value of assistance channels frequently ignored. To this end, Markov Chain algorithms were applied to a large volume of purchase journey data from the Google Merchandise Store, extracted via BigQuery. The study probabilistically mapped the purchase journey and calculated the Removal Effect to quantify channel relevance. The results demonstrated that data-driven models identified the strategic role of discovery (awareness) and assistance channels, which Last-Click neglected in 65% of complex journeys. Simulated financial analysis indicated an approximate 28% hidden efficiency in Cost Per Acquisition (CPA) for Paid Search, compared to the Last-Click model. It was concluded that Markov Chains allowed for a more accurate mapping of purchase journeys, validating the technical feasibility of the modeling and providing evidence for more efficient budget allocation in digital media, mitigating the risk of early divestment in crucial channels.

Keywords: Assistance channels; Data science; E-commerce; Digital marketing; Media optimization.

Project Management

November 19, 2026

Integrated Software for Operational Communication and Control: Practical Evidence in a Medium-Sized Company

The study analyzed the impacts of the lack of integration between commercial and operational modules of an integrated management software (ERP/CRM) in a medium-sized company in the mechanical engineering sector. The main objective was to evaluate practical evidence of communication and operational control optimization, identify bottlenecks, and formulate improvement proposals. A qualitative-quantitative approach was adopted through a single case study with documentary research, based on the extraction and filtering of historical task records from the Bitrix24 software and statistical correlation analysis between workload and allocated team. Based on the diagnosis, an action plan structured in the 5W2H tool was developed. The results revealed that 54.4% of the registered tasks consisted of duplicate, test, or practically useless records, generated by manual insertion during the scope transition between commercial CRM and engineering. It was also demonstrated that the increase in the commercial team linearly accompanied the growth of inefficient tasks, polluting the database and masking the organization’s real productive capacity. It was concluded that the automation of workflows and native integration between modules are essential to mitigate operational and financial risks, providing replicable guidelines for data governance in small and medium-sized enterprises.

Keywords: System Customization; Enterprise Resource Planning (ERP); Task Management; Management Software.

Project Management

November 19, 2026

Supervised learning in voltammetric quantification with electrochemical sensors

The application of supervised learning in the voltammetric quantification of paraquat in artificial urine was evaluated. The study aimed to quantitatively assess the predictive performance of supervised learning models compared to a univariate “baseline”, preserving independence between devices in the training and testing sets. The research was conducted as an applied case study, processing data from four physical devices, each evaluated under a blank condition and six paraquat concentration levels, totaling 28 square wave voltammetry (SWV) curves. A computational “pipeline” integrated automated file reading, organization of curves into current-potential matrices, generation of potential maps, and device-specific blank correction. Five approaches were considered: conventional univariate calibration, predictive univariate “baseline”, partial least squares (PLS) regression, support vector regression (SVR), and random forest (RF). Predictive evaluation was performed using device-grouped cross-validation. PLS showed the best predictive performance for curves from a device not used in training, with an R² of 0.7981. RF exhibited intermediate performance, while SVR and the predictive univariate “baseline” showed inferior and similar performance between themselves. It was concluded that a compact multivariate representation of the voltammetric profile was more favorable for inter-device prediction than increasing model flexibility under the studied conditions. Grouped validation preserved independence, but the limited number of devices restricts the generalization of results.

Keywords: Supervised learning; Paraquat; PLS; Electrochemical sensors; Square wave voltammetry.

Project Management

November 19, 2026

Improvement of Inventory Management via Lean Six Sigma: Study in the Paper Industry

Organizations seek methodologies to reduce waste, increase efficiency, and become more competitive, promoting sustainable improvements in their processes. In this context, the study aimed to apply the Lean Six Sigma methodology, through the DMAIC cycle, to improve inventory management in a company in the paper industry manufacturing pneumatic hoses, aiming to increase the accuracy between physical and systemic inventories and improve the visual management of parts storage. The research was developed from the collection and analysis of data extracted from the company’s ERP system. Tools such as SIPOC, Ishikawa Diagram, and 5 Whys were used to define and identify the root cause of the problem. As improvement proposals, a Digital Kanban system and an adaptation of the Two-Bin system, called the Three-Bin System, were implemented, in addition to the development of standardized operating procedures and the establishment of control mechanisms. The results demonstrated a significant improvement in inventory accuracy, raising the lowest identified index from 28% to 80%, and detected discrepancies between systemic and physical records equivalent to R$ 134,335.53. It was concluded that the application of Lean Six Sigma, combined with Project Management, represented an effective approach for conducting operational improvement projects, contributed to increased reliability of inventory information, to the improvement of material control processes, and to the strengthening of the organization’s operational management.

Keywords: Inventory accuracy; DMAIC; Visual management.

Data Science And Analytics For Operations

November 19, 2026

Predictive Analysis Methodology for Performance Optimization in E-commerce: Correlation between Public Data and Paid Media

A predictive analysis methodology was developed for e-commerce, integrating transactional data and public search trends. The objective was to develop and validate a predictive model, based on machine learning algorithms, capable of correlating organic search trends with sales performance and paid media costs in the Beauty and Health category of Brazilian e-commerce. The Brazilian E-Commerce Public Dataset by Olist and data from Google Trends were used, processed in Python with the Random Forest Regressor algorithm. A moderate inverse correlation (r = -0.43) with a seven-day lag was identified between organic search volume and purchase. Initial models, based solely on behavioral variables, presented insufficient metrics (R² = -0.47; MAE of R$ 2,120.54). The incorporation of microeconomic (average ticket and shipping) and macroeconomic (exchange rate and Ibovespa index) variables raised the R² of the final model to 0.29, with an MAE of R$ 1,489.63, representing a 24.7% reduction in error compared to the baseline. Temporal cross-validation showed that, in periods of mature operation (2018), the model achieved an R² of 0.42. It was concluded that isolated search volume explains the moment of consumer interest, but not the financial magnitude of sales, making the fusion with transactional and economic data mandatory for predictive viability.

Keywords: Beauty and Health; Consumer Behavior; Google Trends; Machine Learning; Time Series.