SearcharxivSearch

arXiv subjects

Bismayan Chakrabarti

Publications and source records attributed to Bismayan Chakrabarti.

2 recordsLinked to original sources

On Iterative Evaluation and Enhancement of Code Quality Using GPT-4o

This paper introduces CodeQUEST, a novel framework leveraging Large Language Models (LLMs) to iteratively evaluate and enhance code quality across multiple dimensions, including readability, maintainability, efficiency, and security. The framework is divided into two main components: an Evaluator that assesses code quality across ten dimensions, providing both quantitative scores and qualitative summaries, and an Optimizer that iteratively improves the code based on the Evaluator's feedback. Our study demonstrates that CodeQUEST can effectively and robustly evaluate code quality, with its assessments aligning closely with established code quality metrics. Through a series of experiments using a curated dataset of Python and JavaScript examples, CodeQUEST demonstrated significant improvements in code quality, achieving a mean relative percentage improvement of 52.6%. The framework's evaluations were validated against a set of proxy metrics comprising of Pylint Score, Radon Maintainability Index, and Bandit output logs, showing a meaningful correlation. This highlights the potential of LLMs in automating code quality evaluation and improvement processes, presenting a significant advancement toward enhancing software development practices. The code implementation of the framework is available at: https://github.com/jpmorganchase/CodeQuest.

cs.SE

Role of Entropy and Structural Parameters in the Spin State Transition of LaCoO$_3$

The spin state transition in LaCoO$_3$ has eluded description for decades despite concerted theoretical and experimental effort. In this study, we approach this problem using fully charge self-consistent Density Functional Theory + Embedded Dynamical Mean Field Theory (DFT+DMFT). We show from first principles that LaCoO$_3$ cannot be described by a single, pure spin state at any temperature. Instead, we observe a gradual change in the population of higher spin multiplets with increasing temperature, with the high spin multiplets being excited at the onset of the spin state transition followed by the intermediate spin multiplets being excited at the metal insulator transition temperature. We explicitly elucidate the critical role of lattice expansion and oxygen octahedral rotations in the spin state transition. We also reproduce, from first principles, that the spin state transition and the metal-insulator transition in LaCoO$_3$ occur at different temperature scales. In addition, our results shed light on the importance of electronic entropy in driving the spin state transition, which has so far been ignored in all first principles studies of this material.

cond-mat.mtrl-sci