Year
Month
(Conference Paper) SmartCommit: a graph-based interactive assistant for activity-oriented commits
Bo Shen 申博 ¹, Wei Zhang 张伟 ¹, Christian Kästner ², Haiyan Zhao 赵海燕 ¹, Zhao Wei ³, Guangtai Liang 梁广泰 ³, Zhi Jin 金芝 ¹
¹ Key Lab of High Confidence Software Technology (Peking University), MoE Beijing, China
中国 北京 高可信软件技术教育部重点实验室(北京大学)
² Carnegie Mellon University Pittsburgh, PA, USA
³ Huawei Technologies Co., Ltd. Beijing, China
中国 北京 华为技术有限公司
ESEC/FSE 2021: Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 2021-08-20
Abstract

In collaborative software development, it is considered to be a best practice to submit code changes as a sequence of cohesive commits, each of which records the work result of a specific development activity, such as adding a new feature, bug fixing, and refactoring. However, rather than following this best practice, developers often submit a set of loosely-related changes serving for different development activities as a composite commit, due to the tedious manual work and lack of effective tool support to decompose such a tangled changeset.

Composite commits often obfuscate the change history of software artifacts and bring challenges to efficient collaboration among developers. To encourage activity-oriented commits, we propose SmartCommit, a graph-partitioning-based interactive approach to tangled changeset decomposition that leverages not only the efficiency of algorithms but also the knowledge of developers. To evaluate the effectiveness of our approach, we (1) deployed SmartCommit in an international IT company, and analyzed usage data collected from a field study with 83 engineers over 9 months; and (2) conducted a controlled experiment on 3,000 synthetic composite commits from 10 diverse open-source projects.

Results show that SmartCommit achieves a median accuracy between 71–84% when decomposing composite commits without developer involvement, and significantly helps developers follow the best practice of submitting activity-oriented commits with acceptable interaction effort and time cost in real collaborative software development.
SmartCommit: a graph-based interactive assistant for activity-oriented commits_1
SmartCommit: a graph-based interactive assistant for activity-oriented commits_2
SmartCommit: a graph-based interactive assistant for activity-oriented commits_3
SmartCommit: a graph-based interactive assistant for activity-oriented commits_4
  • Tunable compound eyes with coaxial lens-on-lens ommatidia for cooperative bi-focal imaging
  • Zhi-Juan Sun, Wei-Jian Zhong, Qing Cai, Yi-Fan Lu, Chang-Xu Li, Dong-Dong Han, Yong-Lai Zhang
  • Opto-Electronic Advances
  • 2026-02-09
  • High-efficiency infrared upconversion imaging with nonlinear silicon metasurfaces empowered by quasi-bound states in the continuum
  • Tingting Liu, Jumin Qiu, Meibao Qin, Xu Tu Huifu Qiu, Feng Wu, Tianbao Yu, Qiegen Liu, Shuyuan Xiao
  • Opto-Electronic Advances
  • 2026-01-29
  • Timeshare surface-enhanced Raman scattering platform with sensitive and quantitative mode
  • Qianqian Ding, Xueyan Chen, Yunlu Jia, Hong Liu, Xiaochen Zhang, Ningtao Cheng, Shikuan Yang
  • Opto-Electronic Advances
  • 2026-01-27
  • Electric-field-induced second-harmonic generation
  • Hangkai Fan, Alexey Proskurin, Mingzhao Song, Andrey Bogdanov
  • Opto-Electronic Advances
  • 2026-01-27
  • Fiber-optic microstructured sensors based on abrupt field patterns: theory, fabrication, and applications
  • Yuxuan Yi, Wanlai Zhu, Zao Yi, Zigang Zhou, Shubo Cheng, Majid Niaz Akhtar, Sohail Ahmad
  • Opto-Electronic Science
  • 2026-01-23
  • Integrated metasurface-freeform system enabled multi-focal planes augmented reality display
  • Shifei Zhang, Lina Gao, Yidan Zhao, Yongdong Wang, Bo Wang, Junjie Li, Jiaxi Duan, Dewen Cheng, Cheng-Wei Qiu, Yongtian Wang, Tong Yang, Lingling Huang
  • Opto-Electronic Science
  • 2026-01-23
  • Decoding subject-invariant emotional information from cardiac signals detected by photonic sensing system
  • Yukun Long, Rui Min Kun Xiao, Zhuo Wang, Lanfang Liu, Yifan Sun, Xiaoli Li, Zhaohui Li, Zeev Zalevsky
  • Opto-Electronic Technology
  • 2025-12-25
  • Integrated photonic synapses, neurons, memristors, and neural networks for photonic neuromorphic computing
  • Shufei Han, Weihong Shen, Min Gu, Qiming Zhang
  • Opto-Electronic Technology
  • 2025-12-25
  • Photoacoustic spectroscopy and light-induced thermoelastic spectroscopy based on inverted-triangular lithium niobate tuning fork
  • Junjie Mu, Guowei Han, Runqiu Wang, Shunda Qiao, Ying He Yufei Ma
  • Opto-Electronic Science
  • 2025-12-25
  • Thin-film lithium niobate-based detector: recent advances and perspectives
  • Xiaoli Sun, Yuechen Jia, Feng Chen
  • Opto-Electronic Science
  • 2025-12-25
  • In-situ and ex-situ twisted bilayer liquid crystal computing platform for reconfigurable image processing
  • Kang Zeng, Yougang Ke, Zhangming Hong, Linzhou Zeng, Xinxing Zhou
  • Opto-Electronic Advances
  • 2025-12-25
  • Highly textured single-crystal-like perovskite films for large-area, high-performance photodiodes
  • Runkai Liu, Feng Li, Rongkun Zheng
  • Opto-Electronic Advances
  • 2025-12-25



  • Huawei's practices on trusted software engineering capability improvement (invited talk)                                Context-Aware Candidates for Image Cropping
    About
    |
    Contact
    |
    Copyright © PubCard